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

BallotBox中是否可以维护每个Peer的matchIndex而不是给每个Log维护一个Ballot以提高commit性能? #409

Open
cangfengzhs opened this issue Jul 2, 2023 · 0 comments

Comments

@cangfengzhs
Copy link

在BallotBox中只维护每个Peer的matchIndex(每个peer已经commit的Index)。在CommitAt中推高matchIndex,并根据matchIndex判断Majority的commitIndex最小值。

这样是否会比给每个Log维护一个Ballot有显著的Commit性能提升?

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

No branches or pull requests

1 participant