massa
massa copied to clipboard
Protocol : update_ask_operation and Peer disconnection
The update_ask_operation
function in retrieval.rs
of operation_handler poorly handles peer disconnections.
⚠️ Sometimes spamming Failed to send AskForOperations message to peer: {}
when a peer is disconnected.
on_operations_announcements_received
is called with a disconnected peerId
https://github.com/massalabs/massa/pull/4249
TODO: check if the max capacity of op_batch_buffer is reached