[
https://issues.apache.org/jira/browse/SOLR-18623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18148349#comment-18148349
]
ASF subversion and git services commented on SOLR-18623:
--------------------------------------------------------
Commit cd740dd5637d71e5570e3d487543b4208f7d1882 in solr's branch
refs/heads/branch_9_11 from Houston Putman
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=cd740dd5637 ]
SOLR-18623: Fix race-condition in ConnectionManager (#5301)
Co-authored-by: Nick Shanin <[email protected]>
(cherry picked from commit b665e40a68045b0726c1258a41a4be467020a44d)
> 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
> Fix For: 9.12, 9.11.1
>
> 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]