SSTable folder naming convention

2019-09-19 15:42发布

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条回答
做自己的国王
2楼-- · 2019-09-19 16:17

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.

查看更多
登录 后发表回答