aerospike-client-python icon indicating copy to clipboard operation
aerospike-client-python copied to clipboard

I have setup multiple nodes on single cluster. Sometime I get proper result but sometimes it throws following errors so it is giving me undefined behaviour

Open deepak-shinde opened this issue 7 years ago • 4 comments

def get_records(record): print(record) query = client.query(NAMESPACE, SETNAME) query.foreach(callback)

Traceback (most recent call last): File "", line 1, in exception.InvalidRequest: (4, 'AEROSPIKE_ERR_REQUEST_INVALID', 'src/main/aerospike/aerospike_query.c', 356, False)

Note: I have added load balancer and given load balancer IP in config file.

deepak-shinde avatar Oct 11 '18 07:10 deepak-shinde

Thanks for reporting this, we will look into the issue.

Could you share the version of the Aerospike Python Client, and the version of the Aerospike Server you are running?

aerospikerobertmarks avatar Oct 11 '18 14:10 aerospikerobertmarks

@aerospikerobertmarks I'm seeing a similar issue. Server version is 4.2.0.5 and client version is 3.4.0

Zach-Johnson avatar Oct 15 '18 14:10 Zach-Johnson

That is an error that is coming from the server, and can be caused by many different things. Could you check if you have any warnings or errors in your server logs from around the time when you received this error on the client?

Also is this an issue which always happens, or is it only rarely?

aerospikerobertmarks avatar Oct 15 '18 19:10 aerospikerobertmarks

I have added load balancer and given load balancer IP in config file.

@deepak-shinde are you saying you have a load balancer in between the Aerospike client and the Aerospike server?

MicahCarrick avatar Mar 21 '19 14:03 MicahCarrick