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

Support bringing up a new datacenter to existing cluster without repair

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 1.1.0
    • None
    • None
    • Normal

    Description

      Was talking to Brandon in irc, and we ran into a case where we want to bring up a new DC to an existing cluster. He suggested from jbellis the way to do it currently was set strategy options of dc2:0, then add the nodes. After the nodes are up, change the RF of dc2, and run repair.

      I'd like to avoid a repair as it runs AES and is a bit more intense than how bootstrap works currently by just streaming ranges from the SSTables. Would it be possible to improve this functionality (adding a new DC to existing cluster) than the proposed method? We'd be happy to do a patch if we got some input on the best way to go about it.

      Attachments

        1. 3483-cleanup.txt
          13 kB
          Jonathan Ellis
        2. 3483-v3.patch
          27 kB
          Sylvain Lebresne
        3. CASSANDRA-3483-0.8-prelim.txt
          18 kB
          Peter Schuller
        4. CASSANDRA-3483-1.0.txt
          17 kB
          Peter Schuller
        5. CASSANDRA-3483-trunk-noredesign.txt
          17 kB
          Peter Schuller
        6. CASSANDRA-3483-trunk-rebase2.txt
          17 kB
          Peter Schuller
        7. CASSANDRA-3483-trunk-refactored-v1.txt
          21 kB
          Peter Schuller
        8. CASSANDRA-3483-trunk-refactored-v2.txt
          27 kB
          Peter Schuller

        Issue Links

          Activity

            People

              scode Peter Schuller
              lenn0x Chris Goffinet
              Peter Schuller
              Sylvain Lebresne
              Votes:
              2 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: