riak health check

Sargun Dhillon sargun at sargun.me
Thu Oct 8 05:26:13 EDT 2015


It's possible that during the strongly consistent joined, there was some
leader instability. Do you have any logs of the event? Can you recreate the
event? Also, the recommendation for SC, is to either turn off tree
verification, or run with 7 nodes, and n=5.

On Thu, Oct 8, 2015 at 2:23 AM, Ali Rıza KELEŞ <ali.r.keles at gmail.com>
wrote:

> Hi,
>
> I have a riak cluster of 5 nodes, runinng strong consistent and behind
> an HaProxy. Yesterday I needed to replace a node which was misplaced.
> I removed the node and all was OK. Other nodes responded all requests
> properly and my application continued to run well.
>
> I created a new node and make it join the cluster. Application logged
> some riak errors for 10 or 15 seconds, just after re-clustering. After
> this period of errors, everything was OK again.
>
> I have an idea why I encountered this stiuation but i am not sure.
> HaProxy health checks got OK from the new node, unless it wasn't ready
> or even it wasn't a member of riak cluster. And some requests
> redirected by haproxy to this new alive node.
>
> If this scenario is correct, then i need to make haproxy more clever
> by tuning health check. "option httpchk GET /ping" is not enough to
> identify a node is really ready for requests. Is there any fine tuned
> way to achieve this.
>
> Thanks for any suggestions.
>
> --
> --
> Ali Rıza Keleş
>
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20151008/32c16e74/attachment-0002.html>


More information about the riak-users mailing list