Re: Determining active sstables and table- dir

2018-05-01 Thread kurt greaves
In 2.2 it's cf_id from system.schema_columnfamilies. If it's not then that's a bug. From 2.2 we stopped including table name in the SSTable name, so whatever directory contains the SSTables is the active one. Conversely, if you've dropped a table and re-added it, the directory without any SSTables

Re: Determining active sstables and table- dir

2018-05-01 Thread Rahul Singh
Schema column families is the most authoritative. You may have different data directories. -- Rahul Singh rahul.si...@anant.us Anant Corporation On Apr 27, 2018, 1:24 PM -0700, Carl Mueller , wrote: > IN cases where a table was dropped and re-added, there are now

Determining active sstables and table- dir

2018-04-27 Thread Carl Mueller
IN cases where a table was dropped and re-added, there are now two table directories with different uuids with sstables. If you don't have knowledge of which one is active, how do you determine which is the active table directory? I have tried cf_id from system.schema_columnfamilies and that can