nizhikov commented on a change in pull request #6845: IGNITE-12145: Monitoring
list engine.
URL: https://github.com/apache/ignite/pull/6845#discussion_r322314665
##########
File path:
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/ClusterCachesInfo.java
##########
@@ -145,6 +173,14 @@
public ClusterCachesInfo(GridKernalContext ctx) {
this.ctx = ctx;
+ ctx.metric().list(CACHES_MON_LIST, CACHES_MON_LIST_DESC,
CacheView.class,
+ l -> cachesMonList = l,
+ l -> cachesMonList = null);
+
+ ctx.metric().list(CACHE_GRPS_MON_LIST, CACHE_GRPS_MON_LIST_DESC,
CacheGroupView.class,
+ l -> cachesGrpMonList = l,
+ l -> cachesGrpMonList = null);
+
Review comment:
It'is expected behavior, from my point of view.
It's not easy to build a consistent list if it enabled in runtime.
Transactions list, locks list, can be taken as an example.
----------------------------------------------------------------
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]
With regards,
Apache Git Services