The QuasarDB API reports " An entry matching the provided alias cannot be found."

Summary

You are performing operations on a multi-node QuasarDB cluster that are performed in quick succession and depend upon each other. Your code might look like this:

 series.attach_tag('a')
 tag = cluster.tag('b')
 tag.attach_tag('b')

While performing the last operation, the QuasarDB client API reports the following error:

An entry matching the provided alias cannot be found.

Cause

The different entries are stored on different nodes within your cluster and you have a clock skew between these nodes. The clock skew causes a lag before the first entry is visible to all nodes, causing a failure when these operations are performed in quick succession. 

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