Skip to content

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

@bysoul

Description

@bysoul

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

return errChain.setInDoubt(ifc.isRead(), cmd.commandWasSent)
, 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
if !ifc.prepareRetry(ifc, isClientTimeout || (err != nil && err.Matches(types.SERVER_NOT_AVAILABLE))) {

Please take a look for this behavior, thanks a lot.
Best Regards

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions