Xline icon indicating copy to clipboard operation
Xline copied to clipboard

[Bug]: Implement ReadIndex

Open bsbds opened this issue 7 months ago • 1 comments

Description about the bug

When a network partition occurs, the leader in the smaller partition may not be aware that a new leader has already been elected in the cluster. If the original leader continues to serve read-only requests to clients during this time, it could result in stale reads. We should implement ReadIndex to enable read-only request on the leader.

Version

0.1.0

Relevant log output

No response

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

bsbds avatar Jul 02 '24 02:07 bsbds