[
https://issues.apache.org/jira/browse/SOLR-16473?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17651612#comment-17651612
]
ASF subversion and git services commented on SOLR-16473:
--------------------------------------------------------
Commit 6d68598cce17f691f020b4e99b1a9f775bb71b7f in solr's branch
refs/heads/branch_9x from Bruno Roustant
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=6d68598cce1 ]
SOLR-16473: Fix race condition in shard split when a sub-shard is put in
recovery state.
Co-authored-by: Andy Vuong <[email protected]>
> 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
> Assignee: Bruno Roustant
> Priority: Major
> Fix For: 9.2
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> 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]