Open vishalpunj opened 1 year ago
Is the namespace you are using for the key defined in your config file? Can you insert the same record via AQL?
aerospike.conf.zip asinfo.txt Yes namespace is defined in config file and attaching the config file and asinfo for reference. Also I am able to insert same record via AQL.
Usually this happens when the client cannot connect to the server node and update the partition table. The easiest way to find out what's happening is to enable DEBUG logging in the client:
import asl "github.com/aerospike/aerospike-client-go/v6/logger"
...
asl.Logger.SetLevel(asl.DEBUG)
Cross checked the credentials they are correct but DEBUG log shows 'Authentication Failed'
So this is an enterprise edition? Can you help me reproduce this? I need your setup steps to see if I can repro the issue.
Yes this is an enterprise edition. Following steps will be helpful to reproduce the issue.
Setting up Aerospike on VM with os RHEL 7.x.:
Step 1: downloaded image from https://aerospike.com/download/
Step 2: Extracted contents of the package: tar -xvf aerospike
what does the command clien.IsConnected()
return? Maybe client connection closed during request
I am having Aerospike v6.2.0.8 running on my virtual machine having OS RHEL 7.x. and using go client v6. I am able to successfully make connection with DB but when I am trying to fetch or insert records using Get() or Put() function, I am getting error as 'Partition map empty'. However when I am running same version of Aerospike on docker, I am able to fetch and insert the records using the same code. Below is a snippet of sample code I am using to make connection and query the data: