You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by ho...@apache.org on 2023/07/06 20:01:05 UTC
[solr] branch branch_9x updated: Fix error logging in CollectionHandlingUtils
This is an automated email from the ASF dual-hosted git repository.
houston pushed a commit to branch branch_9x
in repository https://gitbox.apache.org/repos/asf/solr.git
The following commit(s) were added to refs/heads/branch_9x by this push:
new fc11c2146fd Fix error logging in CollectionHandlingUtils
fc11c2146fd is described below
commit fc11c2146fdf505a9cc71e6f8cd6bffcecf61fad
Author: Houston Putman <ho...@apache.org>
AuthorDate: Thu Jul 6 14:25:49 2023 -0400
Fix error logging in CollectionHandlingUtils
---
.../solr/cloud/api/collections/CollectionHandlingUtils.java | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/solr/core/src/java/org/apache/solr/cloud/api/collections/CollectionHandlingUtils.java b/solr/core/src/java/org/apache/solr/cloud/api/collections/CollectionHandlingUtils.java
index eb8d3475d4e..6b6e1b2ad97 100644
--- a/solr/core/src/java/org/apache/solr/cloud/api/collections/CollectionHandlingUtils.java
+++ b/solr/core/src/java/org/apache/solr/cloud/api/collections/CollectionHandlingUtils.java
@@ -528,18 +528,19 @@ public class CollectionHandlingUtils {
try {
Thread.sleep(1000);
} catch (InterruptedException e) {
+ Thread.currentThread().interrupt();
}
break;
}
throw new SolrException(
SolrException.ErrorCode.BAD_REQUEST,
- "Invalid status request for requestId: "
+ "Invalid status request for requestId: '"
+ requestId
- + ""
+ + "' - '"
+ srsp.getSolrResponse().getResponse().get("STATUS")
- + "retried "
+ + "'. Retried "
+ counter
- + "times");
+ + " times");
} else {
throw new SolrException(
SolrException.ErrorCode.BAD_REQUEST,