[ 
https://issues.apache.org/jira/browse/SOLR-17396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17872098#comment-17872098
 ] 

ASF subversion and git services commented on SOLR-17396:
--------------------------------------------------------

Commit 83b4d3813fd3bf99b35c568e705de286f2fe6098 in solr's branch 
refs/heads/branch_9x from aparnasuresh85
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=83b4d3813fd ]

SOLR-17396: Reduce thread contention in ZkStateReader.getCollectionProperties() 
(#2611)

And simplify cacheCleaner thread management.

(cherry picked from commit 697f1a75d23b055b9bbd52ed5562871a13116f5c)


> Reduce thread contention in ZkStateReader.getCollectionProperties()
> -------------------------------------------------------------------
>
>                 Key: SOLR-17396
>                 URL: https://issues.apache.org/jira/browse/SOLR-17396
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Aparna Suresh
>            Priority: Minor
>              Labels: pull-request-available
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Building on 
> [https://github.com/apache/solr/pull/2585|PR|https://github.com/apache/solr/pull/2585%7CPR]
>  which delegated Collection Properties Management to 
> {{{}CollectionPropertiesZkStateReader{}}}, this PR seeks to minimize thread 
> contention within {{{}CollectionPropertiesZkStateReader{}}}.
> Proposal: 
>  * Use collection level locking where relevant instead of synchronizing on 
> "watchedCollectionProperties"
>  * With the double checked locking implemented in 
> CollectionPropertiesZkStateReader, the scope of the synchronized (this) will 
> be reduced to collection property operations, and no longer be in contention 
> with the synchronization of unrelated operations on ZkStateReader.
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to