aerospike / aerospike-client-go

Aerospike Client Go
Apache License 2.0
429 stars 199 forks source link

"Node not found for partition <namespace>:<some_number> in partition table" error when using a closed client #377

Closed marius-nicolae closed 1 year ago

marius-nicolae commented 2 years ago

If by mistake a client is closed "too early", and still used afterward, a "Node not found for partition : in partition table" error is returned. To save troubleshooting time, in such a case, a specific error should be returned (ex. "Closed client usage attempt", or something similar) instead of a cryptic and misleading error, as described above!

khaf commented 1 year ago

This is not a good idea. We cannot put a mutex for every request. That would create a huge contention.