Alima777 commented on a change in pull request #1725:
URL: https://github.com/apache/incubator-iotdb/pull/1725#discussion_r493290903
##########
File path:
server/src/main/java/org/apache/iotdb/db/engine/flush/FlushManager.java
##########
@@ -93,6 +95,10 @@ public void runMayThrow() {
tsFileProcessor.getTsFileResource().getTsFile().getAbsolutePath());
}
registerTsFileProcessor(tsFileProcessor);
+ // update stat monitor cache to system during each flush()
+ if (IoTDBDescriptor.getInstance().getConfig().isEnableStatMonitor()) {
+ StatMonitor.getInstance().cacheStatValue();
Review comment:
Fixed.
----------------------------------------------------------------
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]