[
https://issues.apache.org/jira/browse/SOLR-9554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15530829#comment-15530829
]
Mikhail Khludnev edited comment on SOLR-9554 at 9/29/16 8:38 AM:
-----------------------------------------------------------------
Attaching a simplified test without that latch. Now it's just random sleep. I
think it's crucial to provide a zkcliet per thread, Zookeper has stale reads
without sync. Patch also contains a FIX but it's commented, at least we need to
refactor {{ManagedIndexSchemaFactory.loadedResource}} - this is an unfortunate
example of non-final-lity. It's interesting that
{{ManagedIndexSchemaFactory.create(String, SolrConfig)}} already defend from
the discussed race, it just missed one assignment.
was (Author: mkhludnev):
Attaching a simplified test without that latch. Now it's just random sleep. I
think it's crucial to provide a zkcliet per thread, Zookeper has stale reads
without sync. Patch also contains a FIX but it's commented, at least we need to
refactor {{ManagedIndexSchemaFactory.loadedResource}} - this is an unfortunate
example of non-final-lity. It's interesting that
{{ManagedIndexSchemaFactory.create(String, SolrConfig)}} already defense from
the discussed race, it just missed one assignment.
> Multiple ManagedIndexSchemaFactory upgrades running simultaneously can clash,
> causing cores not to load
> -------------------------------------------------------------------------------------------------------
>
> Key: SOLR-9554
> URL: https://issues.apache.org/jira/browse/SOLR-9554
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Alan Woodward
> Attachments: SOLR-9554.patch, SOLR-9554.patch, SOLR-9554.patch,
> SOLR-9554.patch, SOLR-9554.patch
>
>
> If a collection is created using a configset with a ManagedSchemaFactory but
> no managed-schema file, then multiple cores may try and convert the schema
> file simultaneously.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]