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

Batch log replication is not randomized when there are only 2 racks

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Low
    • Resolution: Fixed
    • Fix Version/s: 2.1.9, 2.2.1, 3.0 alpha 1
    • Component/s: None
    • Labels:
      None
    • Severity:
      Low

      Description

      Batch log replication is not randomized and the same 2 nodes can be picked up when there are only 2 racks in the cluster.

      https://github.com/apache/cassandra/blob/cassandra-2.0.11/src/java/org/apache/cassandra/service/BatchlogEndpointSelector.java#L72-73

        Attachments

        1. 8735-v2.patch
          3 kB
          Yuki Morishita
        2. CASSANDRA-8735.patch
          1 kB
          Mihai Suteu

          Issue Links

            Activity

              People

              • Assignee:
                xapharius Mihai Suteu
                Reporter:
                yukim Yuki Morishita
                Authors:
                Mihai Suteu
                Reviewers:
                Jeremiah Jordan
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: