问题
I just noticed that my newly created sstable folder has a combination of numbers and letters attached. For my table "tweets" it looks like:
/var/lib/cassandra/data/twitter/tweets-a6da23906d8211e8a057ffb9a095df5c
on the disk. Does anybody know what this attached hash is?
Thanks! Christian
回答1:
The folder name consists of table name, and table ID that is generated anew every time when the table is created - this is done to prevent race condition when table created, dropped, created, etc.
来源:https://stackoverflow.com/questions/51114269/sstable-folder-naming-convention