You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wu...@apache.org on 2021/09/29 00:07:38 UTC

[skywalking] 01/01: Revert mis-change, which makes the endpoint dependency breaking.

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

wusheng pushed a commit to branch fix-endpoint-dependency
in repository https://gitbox.apache.org/repos/asf/skywalking.git

commit 4ee53915a759a24939a68217ba5a773e3883d764
Author: Wu Sheng <wu...@foxmail.com>
AuthorDate: Wed Sep 29 08:07:03 2021 +0800

    Revert mis-change, which makes the endpoint dependency breaking.
---
 .../server/storage/plugin/elasticsearch/query/TopologyQueryEsDAO.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/oap-server/server-storage-plugin/storage-elasticsearch-plugin/src/main/java/org/apache/skywalking/oap/server/storage/plugin/elasticsearch/query/TopologyQueryEsDAO.java b/oap-server/server-storage-plugin/storage-elasticsearch-plugin/src/main/java/org/apache/skywalking/oap/server/storage/plugin/elasticsearch/query/TopologyQueryEsDAO.java
index 9b8b319..10a5522 100644
--- a/oap-server/server-storage-plugin/storage-elasticsearch-plugin/src/main/java/org/apache/skywalking/oap/server/storage/plugin/elasticsearch/query/TopologyQueryEsDAO.java
+++ b/oap-server/server-storage-plugin/storage-elasticsearch-plugin/src/main/java/org/apache/skywalking/oap/server/storage/plugin/elasticsearch/query/TopologyQueryEsDAO.java
@@ -187,7 +187,7 @@ public class TopologyQueryEsDAO extends EsDAO implements ITopologyQueryDAO {
             Query.term(
                 EndpointRelationServerSideMetrics.SOURCE_ENDPOINT, destEndpointId
             ));
-        serviceIdBoolQuery.must(
+        serviceIdBoolQuery.should(
             Query.term(
                 EndpointRelationServerSideMetrics.DEST_ENDPOINT, destEndpointId
             ));