riak health check

Ali Rıza KELEŞ ali.r.keles at gmail.com
Mon Oct 12 07:30:50 EDT 2015


Hi,

On 9 October 2015 at 09:55, Ali Rıza KELEŞ <ali.r.keles at gmail.com> wrote:
> Even I add two more nodes, in my case haproxy would get wrong state.
> "GET /ping" is not valid method to identify whether the node is ready
> to be responsible for cluster. Is that right?
>
> What about parsing "GET /stats"? Has it any key to help me?

Anohter idea is to make health checking against a key in a consistent
bucket. For example:

GET /types/sc/buckets/status/keys/ready

If haproxy can get the key 'ready' from a node, does that mean the node is OK?

What about this way?

Thanks.




More information about the riak-users mailing list