-
Notifications
You must be signed in to change notification settings - Fork 504
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add some raft options used to improve perf #1154
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1154 +/- ##
=========================================
Coverage 29.65% 29.65%
Complexity 263 263
=========================================
Files 75 75
Lines 4208 4208
Branches 510 510
=========================================
Hits 1248 1248
Misses 2797 2797
Partials 163 163 Continue to review full report at Codecov.
|
public static final ConfigOption<Boolean> RAFT_REPLICATOR_PIPELINE = | ||
new ConfigOption<>( | ||
"raft.use_replicator_pipeline", | ||
"Whether to use replicator line.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is the behavior if it is turned on
public static final ConfigOption<Integer> RAFT_READ_INDEX_THREADS = | ||
new ConfigOption<>( | ||
"raft.read_index_threads", | ||
"The thread number used to execute read index.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reading index
public static final ConfigOption<Integer> RAFT_RPC_CONNECT_TIMEOUT = | ||
new ConfigOption<>( | ||
"raft.rpc_connect_timeout", | ||
"The rpc connect timeout for jraft rpc", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ms?
Change-Id: Ifadc84767120afb8d72128c68ebb1afb2b34e3cd
fdaccc5
to
1813a46
Compare
Change-Id: I2f25194b98567dd6952aa65180b29ce52f9aeebc
Change-Id: Ifadc84767120afb8d72128c68ebb1afb2b34e3cd