Skip to content

Commit 84b3caf

Browse files
set raft.mode=false by default
Signed-off-by: shirley <[email protected]>
1 parent 1249018 commit 84b3caf

File tree

5 files changed

+10
-54
lines changed

5 files changed

+10
-54
lines changed

hugegraph-server/hugegraph-dist/src/assembly/static/conf/graphs/hstore.properties.template

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -86,24 +86,5 @@ cassandra.password=
8686
#palo.temp_dir=./palo-data
8787
#palo.file_limit_size=32
8888

89-
# These raft configurations will be deprecated, please use the official version instead
90-
raft.mode=false
91-
raft.path=./raft-log
92-
raft.safe_read=true
93-
raft.use_replicator_pipeline=true
94-
raft.election_timeout=10000
95-
raft.snapshot_interval=3600
96-
raft.backend_threads=48
97-
raft.read_index_threads=8
98-
raft.snapshot_threads=4
99-
raft.snapshot_parallel_compress=false
100-
raft.snapshot_compress_threads=4
101-
raft.snapshot_decompress_threads=4
102-
raft.read_strategy=ReadOnlyLeaseBased
103-
raft.queue_size=16384
104-
raft.queue_publish_timeout=60
105-
raft.apply_batch=1
106-
raft.rpc_threads=80
107-
raft.rpc_connect_timeout=5000
108-
raft.rpc_timeout=60
109-
raft.install_snapshot_rpc_timeout=36000
89+
# WARNING: These raft configurations are deprecated, please use the latest version instead.
90+
# raft.mode=false

hugegraph-server/hugegraph-dist/src/assembly/static/conf/graphs/hugegraph.properties

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -86,24 +86,5 @@ cassandra.password=
8686
#palo.temp_dir=./palo-data
8787
#palo.file_limit_size=32
8888

89-
# These raft configurations will be deprecated, please use the official version instead.
90-
raft.mode=false
91-
raft.path=./raft-log
92-
raft.safe_read=true
93-
raft.use_replicator_pipeline=true
94-
raft.election_timeout=10000
95-
raft.snapshot_interval=3600
96-
raft.backend_threads=48
97-
raft.read_index_threads=8
98-
raft.snapshot_threads=4
99-
raft.snapshot_parallel_compress=false
100-
raft.snapshot_compress_threads=4
101-
raft.snapshot_decompress_threads=4
102-
raft.read_strategy=ReadOnlyLeaseBased
103-
raft.queue_size=16384
104-
raft.queue_publish_timeout=60
105-
raft.apply_batch=1
106-
raft.rpc_threads=80
107-
raft.rpc_connect_timeout=5000
108-
raft.rpc_timeout=60
109-
raft.install_snapshot_rpc_timeout=36000
89+
# WARNING: These raft configurations are deprecated, please use the latest version instead.
90+
# raft.mode=false

hugegraph-server/hugegraph-dist/src/assembly/travis/conf-raft1/graphs/hugegraph.properties

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,5 @@ serializer=binary
2626
rocksdb.data_path=rocksdb-data-raft1
2727
rocksdb.wal_path=rocksdb-data-raft1
2828

29-
# These raft configurations will be deprecated, please use the official version instead.
30-
raft.mode=true
31-
raft.path=rocksdb-raftlog1
32-
raft.safe_read=true
29+
# WARNING: These raft configurations are deprecated, please use the latest version instead.
30+
# raft.mode=false

hugegraph-server/hugegraph-dist/src/assembly/travis/conf-raft2/graphs/hugegraph.properties

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,5 @@ serializer=binary
2626
rocksdb.data_path=rocksdb-data-raft2
2727
rocksdb.wal_path=rocksdb-data-raft2
2828

29-
# These raft configurations will be deprecated, please use the official version instead.
30-
raft.mode=true
31-
raft.path=rocksdb-raftlog2
32-
raft.safe_read=true
29+
# WARNING: These raft configurations are deprecated, please use the latest version instead.
30+
# raft.mode=false

hugegraph-server/hugegraph-dist/src/assembly/travis/conf-raft3/graphs/hugegraph.properties

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,5 @@ serializer=binary
2626
rocksdb.data_path=rocksdb-data-raft3
2727
rocksdb.wal_path=rocksdb-data-raft3
2828

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

0 commit comments

Comments
 (0)