Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-13713

Move processing of EchoMessage response to gossip stage

    XMLWordPrintableJSON

    Details

    • Severity:
      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.

        Attachments

          Activity

            People

            • Assignee:
              jasobrown Jason Brown
              Reporter:
              jasobrown Jason Brown
              Authors:
              Jason Brown
              Reviewers:
              Joel Knighton
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: