is it thread safe for plaintable mode?

21 views
Skip to first unread message

zeng advance

unread,
Apr 9, 2024, 11:28:12 PMApr 9
to rocksdb
I tried to modify the underlying default BlockBasedTable mode to PlainTable mode, but I am not sure if PlainTable mode is thread safe.
I tried to ask GPT, and they replied that PlainTableFileReader is thread unsafe, and table_cache allows multiple threads to share tableReader objects, so I assume that PlainTable is thread unsafe.
I'm not sure if my speculation is correct. I would like to ask the big shots on the forum if they can help me clarify.
Reply all
Reply to author
Forward
0 new messages