You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by GitBox <gi...@apache.org> on 2022/09/08 08:54:18 UTC

[GitHub] [jackrabbit-oak] fabriziofortino commented on a diff in pull request #693: OAK-9944: elastic mbean reports both primary and store size

fabriziofortino commented on code in PR #693:
URL: https://github.com/apache/jackrabbit-oak/pull/693#discussion_r965687213


##########
oak-search-elastic/src/main/java/org/apache/jackrabbit/oak/plugins/index/elastic/ElasticIndexStatistics.java:
##########
@@ -205,13 +216,15 @@ private StatsResponse stats(StatsRequestDescriptor crd) throws IOException {
             }
             // Assuming a single index matches crd.index
             IndicesRecord record = records.get(0);
-            String size = record.storeSize();
+            String storeSize = record.storeSize();
+            String primaryStoreSize = record.storeSize();

Review Comment:
   good catch. Thanks!



-- 
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.

To unsubscribe, e-mail: dev-unsubscribe@jackrabbit.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org