hanishakoneru commented on a change in pull request #3034:
URL: https://github.com/apache/ozone/pull/3034#discussion_r801067544



##########
File path: 
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/impl/ContainerData.java
##########
@@ -89,18 +89,17 @@
   //ID of the datanode where this container is created
   private String originNodeId;
 
-  /** parameters for read/write statistics on the container. **/
-  private final AtomicLong readBytes;
-  private final AtomicLong writeBytes;
-  private final AtomicLong readCount;
-  private final AtomicLong writeCount;
+  // Total number of blocks in the container
+  private final AtomicLong blockCount;
+  // Total number of bytes of all the blocks in the container
   private final AtomicLong bytesUsed;
-  private final AtomicLong keyCount;
 
   private HddsVolume volume;
 
   private String checksum;
 
+  private ContainerDataStats stats;

Review comment:
       Not necessary for this fix. I will move it to different Jira.




-- 
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: [email protected]

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



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to