mirror of
https://github.com/apache/lucene.git
synced 2025-02-21 09:36:46 +00:00
SOLR-11642: remove synchronization on OCMH
This commit is contained in:
parent
a371cab3b6
commit
75825d240f
@ -293,7 +293,7 @@ public class Assign {
|
||||
} else {
|
||||
if (message.getStr(CREATE_NODE_SET) == null)
|
||||
nodeList = Collections.emptyList();// unless explicitly specified do not pass node list to Policy
|
||||
synchronized (ocmh) {
|
||||
synchronized (PolicyHelper.class) {
|
||||
PolicyHelper.SESSION_REF.set(PolicyHelper.getPolicySessionRef(ocmh.overseer.getSolrCloudManager()));
|
||||
try {
|
||||
return getPositionsUsingPolicy(collectionName,
|
||||
|
Loading…
x
Reference in New Issue
Block a user