[ 
https://issues.apache.org/jira/browse/HDDS-4315?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hanisha Koneru updated HDDS-4315:
---------------------------------
    Summary: Ensure ObjectIDs are unique across restarts  (was: Use Epoch to 
generate unique ObjectIDs)

> Ensure ObjectIDs are unique across restarts
> -------------------------------------------
>
>                 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
>            Priority: Major
>              Labels: pull-request-available
>
> 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

Reply via email to