ignite-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [ignite] nizhikov commented on a change in pull request #6738: IGNITE-12027 NPE on try to read the MinimumNumberOfPartitionCopies metric.
Date Mon, 16 Sep 2019 12:04:24 GMT
nizhikov commented on a change in pull request #6738: IGNITE-12027 NPE on try to read the MinimumNumberOfPartitionCopies
metric.
URL: https://github.com/apache/ignite/pull/6738#discussion_r324635677
 
 

 ##########
 File path: modules/core/src/main/java/org/apache/ignite/internal/processors/cache/CacheGroupMetricsImpl.java
 ##########
 @@ -59,6 +60,12 @@
     /** */
     private final LongAdderMetric groupPageAllocationTracker;
 
+    /** */
+    private volatile LongMetric storageSize;
+
+    /** */
+    private volatile LongMetric sparseStorageSize;
 
 Review comment:
   Why this variable is volatile?
   
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message