avijayanhwx commented on a change in pull request #2392:
URL: https://github.com/apache/ozone/pull/2392#discussion_r666485362
##########
File path:
hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/protocol/DatanodeDetails.java
##########
@@ -509,6 +510,14 @@ public int hashCode() {
return uuid.hashCode();
}
+ // Skip The OpStates which may change in Runtime.
+ public int getSignature() {
+ return Objects
+ .hash(uuid, uuidString, ipAddress, hostName, ports,
+ certSerialId, version, setupTime, revision, buildDate,
Review comment:
By including revision and build date here, are we aiming for
re-registration every time the cluster is upgraded?
--
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]