The QuasarDB daemon reports "chord algorithm stopped as it encountered a logic error"

Summary

You are setting up a multi-node cluster, and the you see an error with the following message appears in your qdbd log:

2018.06.04-15.37.59.225912302 31127 31127 panic could not start simple node service: the chord algorithm stopped as it encountered a logic error
2018.06.04-15.37.59.225941111 31127 31127 error could not run the quasardb daemon: the chord algorithm stopped as it encountered a logic error
2018.06.04-15.37.59.226788448 31127 31127 info asynchronous logger task service stopped

At least one node in the cluster fails to come online.

Cause

This error is thrown when the chord algorithm fails to stabilize because it requires the nodes to be time-synchronized within reasonable limits.

Resolution

Deploy time synchronization from the same time source across all nodes in the cluster, and make sure this is synchronized on a frequent basis (we recommend once an hour). We recommend using a time source that is as predictable and available as possible, which can be achieved by running your own time server as well.

References

Was this article helpful?
0 out of 0 found this helpful