Open
Description
Currently searches can potentially be executed in an INITIALIZING
shard:
This means that the shard could be going through recovery and the requested checkpoint through the wait_for_checkpoint
might be greater than the current max seq no throwing the following exception:
Cannot wait for unissued seqNo checkpoint [wait_for_checkpoint=1299, max_issued_seqNo=0]
If the shard where the search request gets executed is INITIALIZING
we should wait until it moves to STARTED
or even consider if we should just avoid executing search requests with wait_for_checkpoints
in such shards.