You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Jason Gerlowski (Jira)" <ji...@apache.org> on 2023/01/25 15:08:00 UTC
[jira] [Commented] (SOLR-15032) Race condition in TestPullReplicaErrorHandling
[ https://issues.apache.org/jira/browse/SOLR-15032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17680649#comment-17680649 ]
Jason Gerlowski commented on SOLR-15032:
----------------------------------------
Should this test be marked as AwaitsFix, [~mdrob]? Or is this not a race that'd cause flakiness?
> Race condition in TestPullReplicaErrorHandling
> ----------------------------------------------
>
> Key: SOLR-15032
> URL: https://issues.apache.org/jira/browse/SOLR-15032
> Project: Solr
> Issue Type: Test
> Components: Tests
> Reporter: Mike Drob
> Priority: Major
> Labels: race-condition
>
> See discussion at https://github.com/apache/lucene-solr/pull/2115#discussion_r534445545
> There is a race condition in two tests in TestPullReplicaErrorHandling where we expire a ZK session, then wait for a node down and a node up. It's possible that the node recovers before we even start waiting for the first down.
> Better would be to set a watch on the live-node that we're about to expire, and wait to see the delete before checking for the node to come back up.
> cc: [~tflobbe]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org