#426

Not retry when receive error: Partition not available (code 11)

Openbysoulopened 2y ago

Hi, I'm using aerospike go client to write kv. When the kv is being written, aerospike cluster starts to roll its nodes, the client then get err: Partition not available. At https://github.com/aerospike/aerospike-client-go/blob/7022c84b9e2d595abb74d4cfb0f7cab84f3bf1dd/command.go#L2781, the client will always return this err because it is not a network err. And the client has no chance to make ptn.sequence++ to change partition id at https://github.com/aerospike/aerospike-client-go/blob/7022c84b9e2d595abb74d4cfb0f7cab84f3bf1dd/command.go#L2604 Please take a look for this behavior, thanks a lot. Best Regards

Activity

3
khaf2y ago

Hi, thanks for your report. Just to make sure: Are you encountering this issue in batch reads?

bysoul2y ago

Hi, This issue was encountered when I used PutBins. Batch Read was not tested. Best Regards

mirzakaracic1y ago

I’m having trouble reproducing the issue and could use a few more details about your environment and test scenario:

  1. Rolling restarts – Where is the Aerospike cluster running, and how are you performing the rolling restarts?
  2. Versions – What versions of the Aerospike server and client are you using?