You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by no...@apache.org on 2023/07/19 06:03:55 UTC

[solr] 01/02: Revert "Avoid creating a replica as a part of collection creation"

This is an automated email from the ASF dual-hosted git repository.

noble pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr.git

commit c76925bf60118195792635be84f3fb804cf39af7
Author: Noble Paul <no...@gmail.com>
AuthorDate: Wed Jul 19 16:03:04 2023 +1000

    Revert "Avoid creating a replica as a part of collection creation"
    
    This reverts commit 381bf1f9b6bdd28599f10bdedb7a8b15656274e5.
    
    wrong branch
---
 solr/core/src/java/org/apache/solr/servlet/CoordinatorHttpSolrCall.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/solr/core/src/java/org/apache/solr/servlet/CoordinatorHttpSolrCall.java b/solr/core/src/java/org/apache/solr/servlet/CoordinatorHttpSolrCall.java
index e3dad85bc62..9380b9835fa 100644
--- a/solr/core/src/java/org/apache/solr/servlet/CoordinatorHttpSolrCall.java
+++ b/solr/core/src/java/org/apache/solr/servlet/CoordinatorHttpSolrCall.java
@@ -250,7 +250,7 @@ public class CoordinatorHttpSolrCall extends HttpSolrCall {
     SolrQueryResponse rsp = new SolrQueryResponse();
     try {
       CollectionAdminRequest.Create collCreationRequest =
-          CollectionAdminRequest.createCollection(syntheticCollectionName, confName, 1, 0);
+          CollectionAdminRequest.createCollection(syntheticCollectionName, confName, 1,0);
       collCreationRequest.setWaitForFinalState(true);
       SolrParams params = collCreationRequest.getParams();
       if (log.isInfoEnabled()) {