[
https://issues.apache.org/jira/browse/SOLR-17963?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18030959#comment-18030959
]
ASF subversion and git services commented on SOLR-17963:
--------------------------------------------------------
Commit 4bc310d0ffa6559df9f28bbce64eb8504b99d302 in solr's branch
refs/heads/branch_10x from David Smiley
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=4bc310d0ffa ]
SOLR-17963: Don't lock: COLLECTIONPROP, ADDREPLICAPROP, DELETEREPLICAPROP
(#3786)
These SolrCloud commands no longer aquire locks (waiting or blocking on other
commands that do):
COLLECTIONPROP, ADDREPLICAPROP, DELETEREPLICAPROP.
They are atomic/transactional and are not believed to interfere with commands
that need locks.
> Don't lock replicas for ADDREPLICAPROP, other PROP
> --------------------------------------------------
>
> Key: SOLR-17963
> URL: https://issues.apache.org/jira/browse/SOLR-17963
> Project: Solr
> Issue Type: Task
> Components: SolrCloud
> Reporter: David Smiley
> Priority: Major
> Labels: pull-request-available
> Fix For: 10.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> Propose that ADDREPLICAPROP & DELETEREPLICAPROP & COLLECTIONPROP do not
> acquire a replica/collection lock, thus do not acquire higher level locks in
> the tree either. They operate atomically.
> There is some risk of interference with BALANCESHARDUNIQUE if one were to
> send property manipulation commands concurrently with that command... but
> it'd hard to imagine that ever being sensible anyway.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]