[
https://issues.apache.org/jira/browse/SOLR-6145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gregory Chanan updated SOLR-6145:
---------------------------------
Attachment: SOLR-6145v2.patch
SOLR-6145-tests.patch
Two patches:
The tests patch is just taking the existing test as a template and testing
copyFields and adding fields via POST. I verified that these tests fail
consistently without the patch.
The v2 patch handles the copyfields and adding fields via POST cases. The POST
case has a bit of extra logic for making the optimistic concurrency control
failure look like what would happen if the concurrent schema changes were
actually serialized.
> Concurrent Schema API field additions can result in endless loop
> ----------------------------------------------------------------
>
> Key: SOLR-6145
> URL: https://issues.apache.org/jira/browse/SOLR-6145
> Project: Solr
> Issue Type: Bug
> Components: Schema and Analysis
> Reporter: Steve Rowe
> Assignee: Steve Rowe
> Priority: Critical
> Attachments: SOLR-6145-tests.patch, SOLR-6145.patch,
> SOLR-6145v2.patch, concurrent_updates_and_schema_api.patch
>
>
> The optimistic concurrency loop in {{ManagedIndexSchema.addFields()}} is the
> likely culprit.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]