In cluster mode, Raft log size grows rapidly #4925
Answered
by
OneSizeFitsQuorum
coolbeevip
asked this question in
Q&A
-
What is the compaction and cleanup strategy for Raft Log? If the Raft Log size can be controlled within a small size and use SSD disk storage Raft Log, can the cluster throughput be improved? |
Beta Was this translation helpful? Give feedback.
Answered by
OneSizeFitsQuorum
Jan 22, 2022
Replies: 2 comments
-
You can use these two parameters |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
OneSizeFitsQuorum
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use these two parameters
max_number_of_persist_raft_log_files
andmax_raft_log_persist_data_size_per_file
in iotdb-cluster.properities to control the size of the raftlog, as described in the comments in the configuration file.