Skip to content

Commit

Permalink
set raft.mode=false by default
Browse files Browse the repository at this point in the history
Signed-off-by: shirley <[email protected]>
  • Loading branch information
shirleyStorage committed Sep 7, 2024
1 parent 1249018 commit 84b3caf
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 54 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,24 +86,5 @@ cassandra.password=
#palo.temp_dir=./palo-data
#palo.file_limit_size=32

# These raft configurations will be deprecated, please use the official version instead
raft.mode=false
raft.path=./raft-log
raft.safe_read=true
raft.use_replicator_pipeline=true
raft.election_timeout=10000
raft.snapshot_interval=3600
raft.backend_threads=48
raft.read_index_threads=8
raft.snapshot_threads=4
raft.snapshot_parallel_compress=false
raft.snapshot_compress_threads=4
raft.snapshot_decompress_threads=4
raft.read_strategy=ReadOnlyLeaseBased
raft.queue_size=16384
raft.queue_publish_timeout=60
raft.apply_batch=1
raft.rpc_threads=80
raft.rpc_connect_timeout=5000
raft.rpc_timeout=60
raft.install_snapshot_rpc_timeout=36000
# WARNING: These raft configurations are deprecated, please use the latest version instead.
# raft.mode=false
Original file line number Diff line number Diff line change
Expand Up @@ -86,24 +86,5 @@ cassandra.password=
#palo.temp_dir=./palo-data
#palo.file_limit_size=32

# These raft configurations will be deprecated, please use the official version instead.
raft.mode=false
raft.path=./raft-log
raft.safe_read=true
raft.use_replicator_pipeline=true
raft.election_timeout=10000
raft.snapshot_interval=3600
raft.backend_threads=48
raft.read_index_threads=8
raft.snapshot_threads=4
raft.snapshot_parallel_compress=false
raft.snapshot_compress_threads=4
raft.snapshot_decompress_threads=4
raft.read_strategy=ReadOnlyLeaseBased
raft.queue_size=16384
raft.queue_publish_timeout=60
raft.apply_batch=1
raft.rpc_threads=80
raft.rpc_connect_timeout=5000
raft.rpc_timeout=60
raft.install_snapshot_rpc_timeout=36000
# WARNING: These raft configurations are deprecated, please use the latest version instead.
# raft.mode=false
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,5 @@ serializer=binary
rocksdb.data_path=rocksdb-data-raft1
rocksdb.wal_path=rocksdb-data-raft1

# These raft configurations will be deprecated, please use the official version instead.
raft.mode=true
raft.path=rocksdb-raftlog1
raft.safe_read=true
# WARNING: These raft configurations are deprecated, please use the latest version instead.
# raft.mode=false
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,5 @@ serializer=binary
rocksdb.data_path=rocksdb-data-raft2
rocksdb.wal_path=rocksdb-data-raft2

# These raft configurations will be deprecated, please use the official version instead.
raft.mode=true
raft.path=rocksdb-raftlog2
raft.safe_read=true
# WARNING: These raft configurations are deprecated, please use the latest version instead.
# raft.mode=false
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,5 @@ serializer=binary
rocksdb.data_path=rocksdb-data-raft3
rocksdb.wal_path=rocksdb-data-raft3

# These raft configurations will be deprecated, please use the official version instead.
raft.mode=true
raft.path=rocksdb-raftlog3
raft.safe_read=true
# WARNING: These raft configurations are deprecated, please use the latest version instead.
# raft.mode=false

0 comments on commit 84b3caf

Please sign in to comment.