wu-sheng commented on a change in pull request #5132:
URL: https://github.com/apache/skywalking/pull/5132#discussion_r470596314



##########
File path: 
oap-server/server-storage-plugin/storage-elasticsearch7-plugin/src/main/java/org/apache/skywalking/oap/server/storage/plugin/elasticsearch7/query/TraceQueryEs7DAO.java
##########
@@ -124,8 +125,7 @@ public TraceBrief queryBasicTraces(long startSecondTB,
         }
         sourceBuilder.size(limit);
         sourceBuilder.from(from);
-
-        SearchResponse response = getClient().search(SegmentRecord.INDEX_NAME, 
sourceBuilder);
+        SearchResponse response = getClient().search(new 
TimeRangeIndexNameMaker(SegmentRecord.INDEX_NAME, startSecondTB, endSecondTB), 
sourceBuilder);

Review comment:
       
![image](https://user-images.githubusercontent.com/5441976/90249674-78572500-de6d-11ea-86f9-9c039504c1af.png)
   
   You could find this in the e2e logs. And es7 e2e is going to fail because of 
the error.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to