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

Race Condition in batchlog replica collection

    XMLWordPrintableJSON

Details

    • Normal

    Description

      When we collect nodes for it in StorageProxy#getBatchlogReplicas, we already filter out down replicas; subsequently they get picked up and taken for liveAndDown.

      There's a possible race condition due to picking tokens from token metadata twice (once in StorageProxy#getBatchlogReplicas and second one in ReplicaPlan#forBatchlogWrite)

      Attachments

        Issue Links

          Activity

            People

              ifesdjeen Alex Petrov
              ifesdjeen Alex Petrov
              Alex Petrov
              Benedict Elliott Smith
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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