SteveYurongSu commented on code in PR #14102:
URL: https://github.com/apache/iotdb/pull/14102#discussion_r1848180449
##########
iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/consensus/index/impl/HybridProgressIndex.java:
##########
@@ -40,6 +41,11 @@
public class HybridProgressIndex extends ProgressIndex {
+ private static final long INSTANCE_SIZE =
+ RamUsageEstimator.shallowSizeOfInstance(IoTProgressIndex.class) +
ProgressIndex.LOCK_SIZE;
Review Comment:
```suggestion
RamUsageEstimator.shallowSizeOfInstance(HybridProgressIndex.class) +
ProgressIndex.LOCK_SIZE;
```
--
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]