Xline
Xline copied to clipboard
[Bug]: Implement ReadIndex
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