Thanks Nitan, Thanks for your reply.
I am using following methodology to find obsolete sstables and just want to make sure that I don't delete live data if I delete them . In the following logs I searched for sstable " keyspace-columnfamily-jb-456789" and found that this "*CompactionExecutor:1957" *thread compacted keyspace-columnfamily-jb-123456-Data.db , keyspace-columnfamily-jb-234567 -Data.db , keyspace-columnfamily-jb- 345678-Data.db. These files are still present in my data directory so I am assuming that they are obsolete. I*s my assumption correct*? INFO [CompactionExecutor:1957] 2020-01-20 06:44:56,721 CompactionTask.java (line 120) Compacting [SSTableReader(path='/var/lib/cassandra/data/keyspace/columnfamily/ *keyspace-columnfamily-jb-123456-Data.db*'), SSTableReader(path='/var/lib/cassandra/data/keyspace/columnfamily/ *keyspace-columnfamily-jb-234567-Data.db*'), SSTableReader(path='/var/lib/cassandra/data/keyspace/columnfamily/ *keyspace-columnfamily-jb-345678-Data.db*')] INFO [CompactionExecutor:1957] 2020-01-20 12:45:23,270 ColumnFamilyStore.java (line 795) Enqueuing flush of Memtable-compactions_in_progress@519967741(0/0 serialized/live bytes, 1 ops) INFO [*CompactionExecutor:1957*] 2020-01-20 12:45:23,502 CompactionTask.java (line 296) Compacted 3 sstables to [/var/lib/cassandra/data/keyspace/columnfamily/ *keyspace-columnfamily-jb-456789*,]. 136,795,757,524 bytes to 100,529,812,389 (~73% of original) in 21,626,781ms = 4.433055MB/s. 1,738,999,743 total partitions merged to 1,274,232,528. Partition merge counts were {1:1049583261, 2:309997005, 3:23140824, } Regards Manish On Tue, Jan 21, 2020 at 9:09 PM Nitan Kainth <nitankai...@gmail.com> wrote: > If you are certain that you don’t need data, your plan is good. Make sure > to delete all the files for any given sequence number ie data, index, toc > etc > > Regards, > > Nitan > > Cell: 510 449 9629 > > On Jan 21, 2020, at 5:36 AM, manish khandelwal < > manishkhandelwa...@gmail.com> wrote: > > > Hi Team > > I am observing some obsolete files in Cassandra 2.0.14 which are already > compacted but not removed from the system after compaction. > As per CASSANDRA-7872 > <https://issues.apache.org/jira/browse/CASSANDRA-7872> , after GC grace > period has passed the sstables are open for read again and can lead to data > resurrection. I am facing disk crunch (90% full ) as well and need to > remove those obsolete files ASAP. > > > To avoid this what should be our strategy? I am thinking on following lines > 1. Stop the Cassandra server. > 2. Remove the obsolete files manually. > 3. Start the Cassandra server. > > Regards > Manish > > > > >