-
Notifications
You must be signed in to change notification settings - Fork 1k
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 CommitIndex API #560
add CommitIndex API #560
Conversation
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.
LGTM. This already is reported in the Stats map and the underlying values are synchronized appropriately so I see no reason why this value shouldn't be exposed with a direct API.
@niebayes I think you will need to sign the HashiCorp CLA before this can be merged. |
@mkeeler Hi, I've completed the signature. |
@niebayes it looks like you need to run |
Ok.
Dan Bond ***@***.***> 于2023年7月1日周六 01:48写道:
… @niebayes <https://github.com/niebayes> it looks like you need to run go
fmt api.go as there is a slight formatting issue that's blocking CI.
—
Reply to this email directly, view it on GitHub
<#560 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGBF34NRJ3TXFNDSNP2ZPJ3XN4GN3ANCNFSM6AAAAAAZVHER3E>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@loshz Hi, I've fixed the formatting issue. |
This API is useful for implementing the read index optimization as described in the Raft paper.