You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The old raft configuration includes the following parameters and settings:
raft.mode: false - Whether the backend storage works in raft mode.
raft.safe_read: false - Whether to use linearly consistent read.
raft.use_snapshot: false - Whether to use snapshot.
raft.endpoint: 127.0.0.1:8281 - The peerid of current raft node.
raft.group_peers: 127.0.0.1:8281,127.0.0.1:8282,127.0.0.1:8283 - The peers of current raft group.
raft.path: ./raft-log - The log path of current raft node.
raft.use_replicator_pipeline: true - Whether to use replicator line, when turned on it multiple logs can be sent in parallel, and the next log doesn't have to wait for the ack message of the current log to be sent.
raft.election_timeout: 10000 - Timeout in milliseconds to launch a round of election.
raft.snapshot_interval: 3600 - The interval in seconds to trigger snapshot save.
raft.queue_size: 16384 - The disruptor buffers size for jraft RaftNode, StateMachine, and LogManager.
raft.queue_publish_timeout: 60 - The timeout in seconds when publishing an event into disruptor.
raft.rpc_threads: 80 - The RPC threads for jraft RPC layer [1][2].
Additionally, there are tests related to the raft configuration that need to be updated or deprecated along with the old configuration. These include tests in RaftUtilsTest.java and HgStoreStateMachineTest.java[3][4].
Feature Description (功能描述)
As described in #2575 issue
Note the old raft config will be deprecated
The text was updated successfully, but these errors were encountered: