Can the files ending with time in rocksdb.info and raftdb.info under the tikv data directory be deleted directly?

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

Original topic: tikv数据目录下的rocksdb.info和raftdb.info按照时间结尾的文件可以直接删除吗?

| username: DBRE

[TiDB Usage Environment] Production Environment
[TiDB Version] v5.1.1
[Encountered Problem: Phenomenon and Impact]
There are a large number of rocksdb.info and raftdb.info files with timestamps in the tikv data directory, totaling nearly 300G.

Questions:

  1. Can the rocksdb.info and raftdb.info files with timestamps be directly deleted using rm?
  2. What specifically do these log records contain? Is there any documentation explaining this?

| username: TiDBer_jYQINSnf | Original post link

Sure, these are all rocksdb logs, you can delete them directly. The ones like rocksdb.info without a suffix are the logs currently in use, do not delete them.

| username: DBRE | Original post link

Okay, thank you.