aerospike-client-go: Partition map error / Replica partition nodes not defined

Hi there,

today I noticed this error in the logs (must be logged via Printf or Infof), which looks quite worrysome:

Partition map error: Master partition nodes not defined for namespace `my-namespace`: 3280 out of 4096
Replica partition nodes not defined for namespace `my-namespace`: 6526 out of 4096
Partition map errors normally occur when the cluster has partitioned due to network anomaly or node crash, or is not configured properly. Refer to https://www.aerospike.com/docs/operations/configure for more information.
.
  1. any idea why it is not logged/returned as an error? Is the cluster currently in a perilous status?
  2. how can I further investigate further this problem?

The mentioned URL does not provide help to troubleshoot this specific issue and I could not find online similar reports.

About this issue

Most upvoted comments

@xqzhang2015 Thanks for the report, I’ll take care of the log change before the weekend. For the other issue during the first tend, I’ll have to look. @gmazzotta While I haven’t been updating the issue here, I’ve been working actively to sort out your reported issue. Will update as soon as I have the fix.

It is, right on the top.

This is the built-in validation code for when a partition map is rebuilt after a cluster event (node up/down, partitioning, etc.) It means that the partition table was not fully set after tend, meaning that the client didn’t catch up to the full change on that tend. By itself, this should not be a problem, unless it happens over a continuous period of time.