Hanisha Koneru created HDDS-4315: ------------------------------------ Summary: Use Epoch to generate unique ObjectIDs Key: HDDS-4315 URL: https://issues.apache.org/jira/browse/HDDS-4315 Project: Hadoop Distributed Data Store Issue Type: Bug Components: Ozone Manager Reporter: Hanisha Koneru Assignee: Hanisha Koneru
In a non-Ratis OM, the transaction index used to generate ObjectID is reset on OM restart. This can lead to duplicate ObjectIDs when the OM is restarted. ObjectIDs should be unique. For HDDS-2939 and NFS are some of the features which depend on ObjectIds being unique. This Jira aims to introduce an epoch number in OM which is incremented on OM restarts. The epoch is persisted on disk. This epoch will be used to set the first 16 bits of the objectID to ensure that objectIDs are unique even after OM restart. The highest epoch number is reserved for transactions coming through ratis. This will take care of the scenario where OM ratis is enabled on an existing cluster. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: ozone-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: ozone-issues-h...@hadoop.apache.org