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

NoReplicationTokenAllocator should work with zero replication factor as well.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 3.11.0
    • None
    • None

    Description

      In our production env, when we expand an existing cluster to a new DC, we are doing following steps:
      1. set replication factor to be 0 for the new DC.
      2. bootstrap all nodes in the new DC.
      3. set the replication factor to be 1 and start the rebuild.

      I find the NoReplicationTokenAllocator does not work with replication factor 0, and this patch will fix it.

      Attachments

        Activity

          People

            dikanggu Dikang Gu
            dikanggu Dikang Gu
            Dikang Gu
            Branimir Lambov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: