bharatviswa504 commented on a change in pull request #1510: HDDS-2170. Add Object IDs and Update ID to Volume Object URL: https://github.com/apache/hadoop/pull/1510#discussion_r327431601
########## File path: hadoop-ozone/common/src/main/java/org/apache/hadoop/ozone/om/helpers/OmVolumeArgs.java ########## @@ -188,6 +237,29 @@ public int hashCode() { private long quotaInBytes; private Map<String, String> metadata; private OmOzoneAclMap aclMap; + private long objectID; + private long updateID; + + /** + * Sets the Object ID for this Object. + * Object ID are unique and immutable identifier for each object in the + * System. + * @param objectID - long + */ + public void setObjectID(long objectID) { + this.objectID = objectID; Review comment: Just a question, why we need to have objectID and updateID? ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org