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

Push replication factor down to the replication strategy

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Low
    • Resolution: Fixed
    • 0.8 beta 1
    • None
    • None

    Description

      Currently the replication factor is in the keyspace metadata. As we've added the datacenter shard strategy, the replication factor becomes more computed by the replication strategy. It seems reasonable to therefore push the replication factor for the keyspace down to the replication strategy so that it can be handled in one place.

      This adds on the work being done in CASSANDRA-1066 since that ticket will make the replication strategy a member variable of keyspace metadata instead of just a quasi singleton giving the replication strategy state for each keyspace. That makes it able to have the replication factor.

      Attachments

        1. 1263-incomplete.txt
          39 kB
          Jon Hermes
        2. 1263.txt
          46 kB
          Jon Hermes
        3. 1263-2.txt
          53 kB
          Jon Hermes
        4. 1263-3.txt
          54 kB
          Jon Hermes
        5. 1263-4.txt
          55 kB
          Jon Hermes
        6. 1263-5.txt
          55 kB
          Jon Hermes

        Issue Links

          Activity

            People

              jhermes Jon Hermes
              jeromatron Jeremy Hanna
              Jon Hermes
              Jeremy Hanna
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 8h
                  8h
                  Remaining:
                  Remaining Estimate - 8h
                  8h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified