SOLR-11642: remove synchronization on OCMH

This commit is contained in:
Noble Paul 2017-11-16 08:50:56 +10:30
parent a371cab3b6
commit 75825d240f
1 changed files with 1 additions and 1 deletions

View File

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