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

Filter replicas for counter mutation leader to be JOINED replicas to decouple from RPC_READY state

    XMLWordPrintableJSON

Details

    • Operability
    • Normal
    • All
    • None
    • Hide

      CI

      Show
      CI

    Description

      In CASSANDRA-18935, what I did was that if transport is turned off while node is up, it will set RPC_READY to "false". Before 18935 was in, if you turned off transport while node was up and transport was on, RPC_READY was not changed to false but it stayed to be "true" for ever.

      Clearly, this was wrong, so I fixed that, but when I did that, the code which decides who will be the leader of counter mutation was broken, because that node filtered out all nodes for which RPC_READY is false, which never happened before, because nobody has set it to "false" on turned off transport.

      So, we decided to revert this regression in 5.0-rc1 and I was waiting for CEP-21 to be in because I saw it is rewritten there with TODO to filter JOINED nodes. 

      Hence, we can decouple this logic and fix RPC_READY status finally.

      Attachments

        Issue Links

          Activity

            People

              smiklosovic Stefan Miklosovic
              smiklosovic Stefan Miklosovic
              Stefan Miklosovic
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 20m
                  1h 20m