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

Added HEALTHZ command #609

Merged
merged 2 commits into from Jun 7, 2021
Merged

Added HEALTHZ command #609

merged 2 commits into from Jun 7, 2021

Conversation

tidwall
Copy link
Owner

@tidwall tidwall commented May 25, 2021

Returns 'ok' if the server is the leader or a follower with
a 'caught up' log.

This is mainly for HTTP connections that are using an
orchestration environment like kubernetes, but will work as a
general RESP command.

For HTTP a '200 OK' for 'caught up' and
'500 Internal Server Error' otherwise.

See #608

Returns 'ok' if the server is the leader or a follower with
a 'caught up' log.

This is mainly for HTTP connections that are using an
orchestration environment like kubernetes, but will work as a
general RESP command.

For HTTP a '200 OK' for 'caught up' and
'500 Internal Server Error' otherwise.

See #608
@iwpnd
Copy link
Contributor

iwpnd commented May 31, 2021

Will this be added to the next release? Do you want me to document the command in the docs?

@tidwall
Copy link
Owner Author

tidwall commented Jun 2, 2021

Yes. I hope to add this command early next week.

@tidwall
Copy link
Owner Author

tidwall commented Jun 2, 2021

It would be very helpful if you have the time to add the command to the docs. Thanks!

@iwpnd
Copy link
Contributor

iwpnd commented Jun 3, 2021

Done #39

@tidwall tidwall merged commit 9ee1d4a into master Jun 7, 2021
@tidwall tidwall deleted the healthz branch June 7, 2021 14:39
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

2 participants