When you trigger any indexing job, either a partial update using partialUpdateObject
or a full reindex using replaceAllObjects
, the indexing process updates all the replica indices first and then once it has updated all the replicas it will then update the primary index and report the indexing operation as completed
This is because the waitTask
is done on the primary index and its important to avoid returning status:published
for the primary while the replica is still updating.