Bruno Roustant created SOLR-16473:
-------------------------------------
Summary: Race condition in shard split when a sub-shard is put in
recovery state
Key: SOLR-16473
URL: https://issues.apache.org/jira/browse/SOLR-16473
Project: Solr
Issue Type: Bug
Security Level: Public (Default Security Level. Issues are Public)
Reporter: Bruno Roustant
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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]