mirror of https://github.com/apache/lucene.git
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…
Reference in New Issue