How to find out the built-in RocksDB version in TiDB?

This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: 如何获知 TiDB内置的RocksDB版本?

| username: wuweizhan

As the title suggests, how can I find out the version of RocksDB built into TiDB?

| username: TiDBer_jYQINSnf | Original post link

Find the corresponding version of TiKV, then check the cargo.lock file for rust-rocksdb: source = “git+”. Then go to rust-rocksdb and look at the submodule to find the corresponding version of rocksdb. The link after that is not the commit above; you need to find the rocksdb version in the .gitmodules of the commit above. rust-rocksdb/.gitmodules at master · tikv/rust-rocksdb · GitHub

| username: wuweizhan | Original post link

Is there any plan to upgrade to version 7.7 or 7.5 of RocksDB? I see that version 7.5.3 has a fix for the write stalling issue caused by compaction. The fix addresses a bug where concurrent compactions might cause unnecessary further write stalling. In some cases, this might cause the write rate to drop to a minimum.

| username: TiDBer_jYQINSnf | Original post link

This needs an official response. I don’t know the plan.

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.