[ 
https://issues.apache.org/jira/browse/SOLR-9847?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Steve Rowe updated SOLR-9847:
-----------------------------
    Attachment: SOLR-9847-release-lock-before-replica-version-agreement.patch

Patch that narrows the period during which the schema update lock is held to 
exclude waiting for other replicas to receive the update.  With this patch, 
there were no stalls when I beasted {{TestBulkSchemaConcurrent}} for 500 
iterations (versus 5% of the time unpatched and with [[email protected]]'s 
patch on this issue).  Running all Solr tests now.

> Deadlock on ManagedIndexSchema lock.
> ------------------------------------
>
>                 Key: SOLR-9847
>                 URL: https://issues.apache.org/jira/browse/SOLR-9847
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Mark Miller
>         Attachments: 
> SOLR-9847-release-lock-before-replica-version-agreement.patch, SOLR-9847.patch
>
>
> Seems we hold the lock while in 
> ManagedIndexSchema.waitForSchemaZkVersionAgreement, so we may never see 
> agreement because are updates may also be waiting on that lock.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to