sumitagrawl commented on code in PR #9351:
URL: https://github.com/apache/ozone/pull/9351#discussion_r2564580001
##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/common/states/endpoint/HeartbeatEndpointTask.java:
##########
@@ -425,6 +426,8 @@ private void processReregisterCommand() {
+ " Interrupt HEARTBEAT and transit to GETVERSION state.");
}
rpcEndpoint.setState(EndPointStates.GETVERSION);
+ // trigger immediate GETVERSION
+ context.getParent().setNextHB(Time.monotonicNow());
Review Comment:
As per flow, HB is send every 30 sec and these events are send with this
timing. So it takes time to send GetVersion at 30th Sec after previous register
asking register, and Register with next 30th second.
Volume Scan is not related to this HB interval, only during startup, this HB
service starts after volume scan. But in both flow, it follow same interval,
like 0th sec - GetVersion, 30th Sec - Register.
--
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]