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

Store whether a counter sstable still use some local/remote shards in the sstable metadata

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 2.1 beta2
    • None
    • None

    Description

      CASSANDRA-6504 has made so we don't distinguish different type of shard in counters. Yet, even though we don't generate those local/remote type of shards, those won't disappear just by running upgradesstable, they need to be compacted away (and even then, they really only disappear if there has been a new update on the counter post-6504).

      But we want to get rid of those ultimately, since they make things like CASSANDRA-6506 less optimal. Now, even though the final step of that remain to be discussed, the first step is probably to keep track of whether such shard still exist in the system or not. That part is simple, we can just store a boolean in the SSTableMetadata to say whether or not said sstable still has at least one Cell using such old shard type.

      Attachments

        Issue Links

          Activity

            People

              aleksey Aleksey Yeschenko
              slebresne Sylvain Lebresne
              Aleksey Yeschenko
              Marcus Eriksson
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: