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:06:30 UTC

[solr] branch branch_9x updated (ffed8de9712 -> 20a428cb23e)

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

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


    from ffed8de9712 Remove a println statement from JSONTestUtil (#1795)
     new 78dbdf78f59 Revert "Avoid creating a replica as a part of collection creation"
     new 20a428cb23e Revert "Avoid creating a replica as a part of collection creation"

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../core/src/java/org/apache/solr/servlet/CoordinatorHttpSolrCall.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


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

Posted by no...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 78dbdf78f59645b8a0889a62b74fbb7439da0ffb
Author: Noble Paul <no...@gmail.com>
AuthorDate: Wed Jul 19 16:05:37 2023 +1000

    Revert "Avoid creating a replica as a part of collection creation"
    
    This reverts commit 7487340759a33366a211207d42ad7c42568c25fa.
    
    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()) {


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

Posted by no...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 20a428cb23e58a15d3d8b9d0ecaca306a8426aa6
Author: Noble Paul <no...@gmail.com>
AuthorDate: Wed Jul 19 16:06:07 2023 +1000

    Revert "Avoid creating a replica as a part of collection creation"
    
    This reverts commit 66e31458dc2cc362b229e70dd13c743446ceb9ba.
    
    wrong branch
---
 .../core/src/java/org/apache/solr/servlet/CoordinatorHttpSolrCall.java | 3 ++-
 1 file changed, 2 insertions(+), 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 9380b9835fa..cef7270d943 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,8 @@ public class CoordinatorHttpSolrCall extends HttpSolrCall {
     SolrQueryResponse rsp = new SolrQueryResponse();
     try {
       CollectionAdminRequest.Create collCreationRequest =
-          CollectionAdminRequest.createCollection(syntheticCollectionName, confName, 1,0);
+          CollectionAdminRequest.createCollection(syntheticCollectionName, confName, 1, 1)
+              .setCreateNodeSet(cores.getZkController().getNodeName());
       collCreationRequest.setWaitForFinalState(true);
       SolrParams params = collCreationRequest.getParams();
       if (log.isInfoEnabled()) {