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

Nodetool command to recreate SSTable components

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Low
    • Resolution: Unresolved
    • None
    • Tool/nodetool

    Description

      Need a JMX/Nodetool command to recreate components for SSTables without re-writing the data files.

      Possible implementation idea:
      Create a nodetool (recreate|regen)component command that would enable you to recreate specific components of an SSTable, and also allow specifying SSTables or columnfamilies.
      I'd say a flag for a list of components and a flag for SSTables with keyspace.columnfamilies as positional arguments would work

      Alternatively this could become part of upgradesstables, but would likely make that command a bit bloated.

      Background:
      In CASSANDRA-11163 we changed it so summaries and bloomfilters were not regenerated or persisted on startup. This means we would rely on compactions/upgrades to regenerate the bloomfilter (or other components) after a configuration change. While this works, it's pretty inefficient on large tables just because you changed the bloomfilter size or summary chunk sizes.

      Attachments

        Activity

          People

            stefan.miklosovic Stefan Miklosovic
            KurtG Kurt Greaves
            Stefan Miklosovic
            Votes:
            1 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated: