Houston Putman created SOLR-17835:
-------------------------------------

             Summary: Distributed admin commands should be able call other 
commands without dead-locking
                 Key: SOLR-17835
                 URL: https://issues.apache.org/jira/browse/SOLR-17835
             Project: Solr
          Issue Type: New Feature
            Reporter: Houston Putman


Currently the collections API and other admin APIs do not use the other 
distributed admin APIs as a part of their operation. This is likely because 
when a super resource (collection) is locked, commands on sub-resources (shard, 
replica) are blocked because of the distributed collections API locking.

We should introduce the ability in the (unfortunately) 2 locking abstractions 
to mirror locks from the calling API (parent operation), so that another lock 
is not created for sub resources. This mirrored lock would then make sure the 
lock is acquired, but not create a new lock for the same resource.



--
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