You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Aparna Suresh (Jira)" <ji...@apache.org> on 2024/08/08 14:28:00 UTC
[jira] [Created] (SOLR-17396) Reduce thread contention in ZkStateReader.getCollectionProperties()
Aparna Suresh created SOLR-17396:
------------------------------------
Summary: 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
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-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org