kerneltime commented on code in PR #4138:
URL: https://github.com/apache/ozone/pull/4138#discussion_r1061055417
##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OMStorage.java:
##########
@@ -67,6 +68,38 @@ public void setOmId(String omId) throws IOException {
}
}
+ /**
+ * Set the OM NodeId property.
+ * @param nodeId OM NodeId
+ * @param persistToDisk if true, persist the nodeId to VERSION file if not
+ * already present
+ * @throws IOException if existing nodeId from VERSION file does not match
+ * the new nodeId.
+ */
+ public void setOmNodeId(String nodeId, boolean persistToDisk)
Review Comment:
```suggestion
public void setOmNodeIdOnlyOnce(String nodeId, boolean persistToDisk)
```
--
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]