the other component types are deleted by this line: SSTable.delete(desc, components);
On Tue, Jan 25, 2011 at 3:11 PM, Ching-Cheng Chen <cc...@evidentsoftware.com> wrote: > Nope, no exception at all. > But if the same class > (org.apache.cassandra.io.sstable.SSTableDeletingReference) is responsible > for delete other files, then that's not right. > I checked the source code for SSTableDeletingReference, doesn't looks like > it will delete other files type. > Regards, > Chen > > On Tue, Jan 25, 2011 at 4:05 PM, Jonathan Ellis <jbel...@gmail.com> wrote: >> >> No, that is not expected. All the sstable components are removed in >> the same method; did you check the log for exceptions? >> >> On Tue, Jan 25, 2011 at 2:58 PM, Ching-Cheng Chen >> <cc...@evidentsoftware.com> wrote: >> > Using cassandra 0.7.0 >> > The class org.apache.cassandra.io.sstable.SSTableDeletingReference only >> > remove the xxxx-Data.db file, but leave the xxx-Compacted, >> > xxx-Filter.db, >> > xxx-Index.db and xxx-Statistics.db intact. >> > And that's the behavior I saw. I ran manual compact then trigger a GC >> > from jconsole. The Data.db file got removed but not the others. >> > Is this the expected behavior? >> > Regards, >> > Chen >> >> >> >> -- >> Jonathan Ellis >> Project Chair, Apache Cassandra >> co-founder of DataStax, the source for professional Cassandra support >> http://www.datastax.com > > -- Jonathan Ellis Project Chair, Apache Cassandra co-founder of DataStax, the source for professional Cassandra support http://www.datastax.com