EvanLjp commented on a change in pull request #6499:
URL: https://github.com/apache/skywalking/pull/6499#discussion_r588896734
##########
File path:
oap-server/server-library/library-client/src/main/java/org/apache/skywalking/oap/server/library/client/elasticsearch/ElasticSearchClient.java
##########
@@ -286,6 +288,24 @@ public boolean isExistsIndex(String indexName) throws
IOException {
return client.indices().exists(request);
}
+ public long getDocNumber(String indexName) throws IOException {
Review comment:
I think this is important for preserving historical versions of the
data.
----------------------------------------------------------------
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]