Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
There is a race condition in shard splits code when a sub-shard is put in RECOVERY state and the remaining replicas are added. The problem is that the code does not wait to ensure the sub-shard state is indeed changed to RECOVERY.
andyvuong reproduced the bug by adding some artificial delay, and this race condition seems to be the root cause of indexing holes.
The fix is to wait for the RECOVERY state.
Attachments
Issue Links
- links to