Cassandra
  1. Cassandra
  2. CASSANDRA-6280

Snapshots for dropped column families management

    Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Not A Problem
    • Fix Version/s: None
    • Component/s: Core
    • Labels:
      None

      Description

      Currently the only option for removing snapshots of dropped column families is to delete them manually from the file system. We have a user that creates column families dynamically and deletes them when they are no longer needed. The result is snapshots of these tables build up quickly and disk space can only be reclaimed when they are manually deleted.

      A potential solution for this might be to add a flag to the nodetool clearsnaphot command that removes snapshots that no longer exist in the keyspace because they have been dropped.

      Another possibility might be to add a flag on cql delete query that ignores the auto_snapshot in the cassandra.yaml and does not create a snapshot for the deleted column family or keyspace.

        Activity

        Stephen Johnson created issue -
        Hide
        Jonathan Ellis added a comment -

        look at auto_snapshot in cassandra.yaml

        Show
        Jonathan Ellis added a comment - look at auto_snapshot in cassandra.yaml
        Jonathan Ellis made changes -
        Field Original Value New Value
        Resolution Not A Problem [ 8 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        16m 51s 1 Jonathan Ellis 31/Oct/13 17:06

          People

          • Assignee:
            Unassigned
            Reporter:
            Stephen Johnson
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development