aerospike / aerospike-client-java

Aerospike Java Client Library
Other
236 stars 212 forks source link

AeroSpike with create_only policy throws record_already_exists error even-though there is no record #124

Closed anandhkumar closed 5 years ago

anandhkumar commented 5 years ago

https://stackoverflow.com/questions/53813764/aerospike-with-create-only-policy-throws-record-already-exists-error-even-though

BrianNichols commented 5 years ago

I suggest you try Ronen's suggestion for debugging the problem.

anandhkumar commented 5 years ago

As per the Ronen's suggestion, we already added debug statement to print getHeader metadata , but we are seeing the fist get function return key is not there and sub-sequence CREATE_ONLY policy throws 'KEY_ALREADY_EXISTS'. What could be the issue and how we can fix this?

rbotzer commented 5 years ago

Please check the response in stackoverflow.