[
https://issues.apache.org/jira/browse/SOLR-18623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18147896#comment-18147896
]
ASF subversion and git services commented on SOLR-18623:
--------------------------------------------------------
Commit b665e40a68045b0726c1258a41a4be467020a44d in solr's branch
refs/heads/branch_9x from Houston Putman
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=b665e40a680 ]
SOLR-18623: Fix race-condition in ConnectionManager (#5301)
Co-authored-by: Nick Shanin <[email protected]>
> Race-condition in ConnectionManager
> -----------------------------------
>
> Key: SOLR-18623
> URL: https://issues.apache.org/jira/browse/SOLR-18623
> Project: Solr
> Issue Type: Task
> Affects Versions: 9.8
> Reporter: Houston Putman
> Assignee: Houston Putman
> Priority: Major
> Labels: pull-request-available
> Time Spent: 3h 20m
> Remaining Estimate: 0h
>
> SOLR-17405 moved SyncConnected and Disconnected off the single-threaded
> callback executor and onto the unbounded pool. That is what lets them be
> applied out of order. Before it, they were ordered. Therefore now it's
> possible to get to a state in Solr where the Zookeeper client thinks that it
> has disconnected and not reconnected.
> The solution is to make sure that the events that the ConnectionManager gets
> are versioned (timestamped) and we only accept events > than the last event
> seen.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]