[
https://issues.apache.org/jira/browse/SOLR-5620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13904979#comment-13904979
]
Mark Miller commented on SOLR-5620:
-----------------------------------
I think it's actually just left over from back when nodes updated cluster state
via retries directly to zk rather than going through the overseer. I think that
protected all reads and sets of the state? I'm not sure, I'd have to spend some
more time on it. Someone else was involved in a lot of that refactoring, so I
don't have a complete memory of it. Not positive if it was even need for the
reads then, but who knows what all the code look like at the time.
I can't see how we need it for reading the aliases though - but we do want that
volatile of course.
> Race condition while setting ZkStateReader.aliases
> --------------------------------------------------
>
> Key: SOLR-5620
> URL: https://issues.apache.org/jira/browse/SOLR-5620
> Project: Solr
> Issue Type: Bug
> Components: SolrCloud
> Affects Versions: 4.6
> Reporter: Ramkumar Aiyengar
> Assignee: Mark Miller
> Priority: Minor
>
> Noticed while working on SOLR-5615,
> https://github.com/apache/lucene-solr/pull/15 for a patch.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]