You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by di...@apache.org on 2023/06/12 05:48:20 UTC

[doris] branch master updated: [BUG](es_catalog)Solve the problem of querying es catalog Unexpected exception: Index:… (#18743)

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

diwu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new 28fbdf3273 [BUG](es_catalog)Solve the problem of querying es catalog Unexpected exception: Index:… (#18743)
28fbdf3273 is described below

commit 28fbdf3273bdf4a1d92d665a01cac549e81515d9
Author: caoliang-web <71...@users.noreply.github.com>
AuthorDate: Mon Jun 12 13:48:12 2023 +0800

    [BUG](es_catalog)Solve the problem of querying es catalog Unexpected exception: Index:… (#18743)
---
 .../org/apache/doris/external/elasticsearch/EsShardPartitions.java     | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/fe/fe-core/src/main/java/org/apache/doris/external/elasticsearch/EsShardPartitions.java b/fe/fe-core/src/main/java/org/apache/doris/external/elasticsearch/EsShardPartitions.java
index a889540909..c8b5ebebcf 100644
--- a/fe/fe-core/src/main/java/org/apache/doris/external/elasticsearch/EsShardPartitions.java
+++ b/fe/fe-core/src/main/java/org/apache/doris/external/elasticsearch/EsShardPartitions.java
@@ -82,7 +82,8 @@ public class EsShardPartitions {
                 }
             }
             if (singleShardRouting.isEmpty()) {
-                LOG.warn("could not find a healthy allocation for [{}][{}]", indexName, i);
+                LOG.error("could not find a healthy allocation for [{}][{}]", indexName, i);
+                continue;
             }
             partitions.addShardRouting(i, singleShardRouting);
         }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org