You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by no...@apache.org on 2021/02/12 04:02:14 UTC
[lucene-solr] branch jira/solr15138_8x updated: bug fix
This is an automated email from the ASF dual-hosted git repository.
noble pushed a commit to branch jira/solr15138_8x
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git
The following commit(s) were added to refs/heads/jira/solr15138_8x by this push:
new 6751040 bug fix
6751040 is described below
commit 6751040ea452e516faa8b654f4cb42ca2bc53212
Author: Noble Paul <no...@gmail.com>
AuthorDate: Fri Feb 12 15:01:50 2021 +1100
bug fix
---
.../java/org/apache/solr/cloud/api/collections/CreateCollectionCmd.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/solr/core/src/java/org/apache/solr/cloud/api/collections/CreateCollectionCmd.java b/solr/core/src/java/org/apache/solr/cloud/api/collections/CreateCollectionCmd.java
index 31d8675..9dc0ee6 100644
--- a/solr/core/src/java/org/apache/solr/cloud/api/collections/CreateCollectionCmd.java
+++ b/solr/core/src/java/org/apache/solr/cloud/api/collections/CreateCollectionCmd.java
@@ -248,7 +248,7 @@ public class CreateCollectionCmd implements OverseerCollectionMessageHandler.Cmd
}
String coreName = Assign.buildSolrCoreName(ocmh.cloudManager.getDistribStateManager(),
- ocmh.cloudManager.getClusterStateProvider().getClusterState().getCollection(collectionName),
+ newColl,
replicaPosition.shard, replicaPosition.type, true);
if (log.isDebugEnabled()) {
log.debug(formatString("Creating core {0} as part of shard {1} of collection {2} on {3}"