Don’t know if it can be realated with Missing messages (ONGOING)
Timestamp: [2024-07-25T17:30:00, 2024-07-25T17:37:00]
Data: Data
Related threads:
Initial question in Nimubs: https://discord.com/channels/613988663034118151/740631022080622745/1267822655885672459
Nimbus solution thread: https://discord.com/channels/613988663034118151/1271398565977133178
Vac p2p discussion: https://discord.com/channels/864066763682218004/1270398374293667950
Github Issue:
https://github.com/vacp2p/nim-libp2p/issues/1165
https://github.com/waku-org/nwaku/pull/2958
https://github.com/vacp2p/nim-libp2p/pull/1171
While investigating the issue with missing messages, we reached a point where we needed to have more information, as TRACE was not enough.
When activated the dump of pending futures, we noticed that the pending Futures were growing indefinitely. Using mplex, this was not happening.
After lots of discussions in the mentioned threads, it was found that in a specific line, Futures were being created, and it was mistakenly understood that the GC would take care of the unfinished ones, but this is not the case.
The line was changed and Futures were better handled.