SSTable folder naming convention

此生再无相见时 提交于 2019-12-13 08:25:19

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!