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

Improve clearsnapshot to delete the snapshot files slowly

    XMLWordPrintableJSON

Details

    Description

      In our environment, we are creating snapshots for backup, after we finish the backup, we are running clearsnapshot to delete the snapshot files. At that time we may have thousands of files to delete, and it's causing sudden disk usage spike. As a result, we are experiencing a spike of drop messages from Cassandra.

      I think we should implement something like slowrm to delete the snapshot files slowly, avoid the sudden disk usage spike.

      Attachments

        Issue Links

          Activity

            People

              jjirsa Jeff Jirsa
              dikanggu Dikang Gu
              Jeff Jirsa
              Aleksey Yeschenko, Chris Lohfink, Jeff Jirsa, Maxwell Guo
              Votes:
              1 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 20m
                  2h 20m