morningman commented on a change in pull request #403: Refactor heartbeat logic
URL: https://github.com/apache/incubator-doris/pull/403#discussion_r240074041
##########
File path: fe/src/main/java/org/apache/doris/system/Backend.java
##########
@@ -549,5 +526,48 @@ public DecommissionType getDecommissionType() {
return DecommissionType.SystemDecommission;
}
+ /*
+ * handle Backend's heartbeat response.
+ * return true if any port changed, or alive state is changed.
+ */
+ public boolean heartbeat(BackendHbResponse hbResponse) {
Review comment:
Done
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]