Articles in this section

What does InDoubt=true boolean exception response means?

Detail

Aerospike Clients can have a transaction failure response with InDoubt=true
 
 iteration=1 socket=30000 total=0 maxRetries=0 node=A1 172.1.10.0 3000 inDoubt=true

 

Answer

Clients have an 'inDoubt ’ flag associated with errors that will indicate that the write may or may not have applied.
The  inDoubt=true would indicate to the client that the write transaction state is undetermined. 
It's possible that the write made it to the server and the response back timed out. 
Such a response may require further logic to be implemented on the application side using the client library. The handling of such a response code would depend on the business logic.

Notes

This exception response could be received when a client error (ie: timeout) occurred after the command was sent to the server.

Applies To Earliest Version

Pre 4.9

Applies To Latest Version

Current Version
Was this article helpful?
0 out of 0 found this helpful