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

Parameter for waiting index creation

Open vdiravka opened this issue 1 month ago • 1 comments

How to fix random Task.NOT_FOUND while creating index? According the comment it should be:

This should be fixed by having server take an extra argument to query execute command that says if server should wait till command is complete before responding

https://github.com/aerospike/aerospike-client-java/commit/721695f6161daa9faa209d5574eafb70a31652a5#diff-a649a12ef191b5bf84580725b7d4ae8451b5084922a6e564fda7f6454c63a7abR119-R126

What is this argument?

vdiravka avatar Dec 09 '25 13:12 vdiravka

The comment was a suggestion on how background task polling could be improved. Unfortunately, the argument was not implemented by the server.

BrianNichols avatar Dec 09 '25 15:12 BrianNichols