ChenSammi commented on code in PR #8492:
URL: https://github.com/apache/ozone/pull/8492#discussion_r2108812556
##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/impl/HddsDispatcher.java:
##########
@@ -130,6 +134,10 @@ public HddsDispatcher(ConfigurationSource config,
ContainerSet contSet,
this.tokenVerifier = tokenVerifier != null ? tokenVerifier
: new NoopTokenVerifier();
this.slowOpThresholdNs = getSlowOpThresholdMs(conf) * 1000000;
+ fullVolumeLastHeartbeatTriggerMs = new AtomicLong(-1);
+ long heartbeatInterval =
+ config.getTimeDuration("hdds.heartbeat.interval", 30000,
TimeUnit.MILLISECONDS);
Review Comment:
Can we call HddsServerUtil#getScmHeartbeatInterval instead?
And there is HDDS_NODE_REPORT_INTERVAL for node report. Shall we use node
report property instead of heartbeat property?
--
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]