Details
-
Bug
-
Status: Resolved
-
Low
-
Resolution: Fixed
-
None
-
Low
Description
Currently, when a node receives an EchoMessage, is sends a simple ACK reply back (see EchoVerbHandler). The ACK is sent on the small message connection, and because it is 'generically' typed as Verb.REQUEST_RESPONSE, is consumed on a Stage.REQUEST_RESPONSE thread. The proper thread for this response to be consumed is Stage.GOSSIP, that way we can move more of the updating of the gossip state to a single, centralized thread, and less abuse of gossip's shared mutable state can occur.