m3db / proposal

M3 Design Documents
Apache License 2.0
18 stars 1 forks source link

Make node /health endpoint compatible with Consul health check #19

Closed edgarasg closed 2 years ago

edgarasg commented 2 years ago

https://www.consul.io/docs/discovery/checks#http-interval

The basic idea is to return such HTTP status codes conditionally:

This would be handy for automated rolling upgrade procedure.

edgarasg commented 2 years ago

If we agree on this change, I can make a PR.

edgarasg commented 2 years ago

Browsing through the code I've found /bootstrapped, so closing this.