Skip to content
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

Merged
merged 2 commits into from
Sep 23, 2020
Merged

Add some raft options used to improve perf #1154

merged 2 commits into from
Sep 23, 2020

Conversation

Linary
Copy link
Contributor

@Linary Linary commented Aug 24, 2020

Change-Id: Ifadc84767120afb8d72128c68ebb1afb2b34e3cd

@codecov
Copy link

codecov bot commented Aug 24, 2020

Codecov Report

Merging #1154 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            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.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update accc27f...1754a01. Read the comment docs.

public static final ConfigOption<Boolean> RAFT_REPLICATOR_PIPELINE =
new ConfigOption<>(
"raft.use_replicator_pipeline",
"Whether to use replicator line.",
Copy link
Contributor

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.",
Copy link
Contributor

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",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ms?

Change-Id: Ifadc84767120afb8d72128c68ebb1afb2b34e3cd
Change-Id: I2f25194b98567dd6952aa65180b29ce52f9aeebc
@Linary Linary merged commit 2fceac9 into master Sep 23, 2020
@Linary Linary deleted the more-raft-options branch September 23, 2020 06:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants