trusted-group icon indicating copy to clipboard operation
trusted-group copied to clipboard

Fix messenger messages loss

Open cedricfung opened this issue 3 years ago • 0 comments

The node has a in memory buffer to hold incoming and outgoing messages, so when the node panic, some messages may be lost. Thereafter, the messenger will not resend the messages, and all the nodes will retry the messages in one hour. The result is some signature may be lost and can only be retried after one hour.

Possible solution is to use some persistent cache, e.g. badger, to ensure messages processing.

cedricfung avatar Mar 01 '22 16:03 cedricfung