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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 2.1.9, 2.2.1, 3.0 alpha 1
    • None
    • None
    • 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

              xapharius Mihai Suteu
              yukim Yuki Morishita
              Mihai Suteu
              Jeremiah Jordan
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: