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

Hanisha Koneru updated HDDS-2876:
---------------------------------
    Description: 
We use ObjectID and BucketID in OMVolumeArgs, OMBucketInfo, OMKeyInfo and 
OMMultipartKeyInfo. We can consolidate by having these Info objects extend a 
"WithObjectID" class which can host the common fields - objectID and updateID.


  was:To check if a transaction is a replay or not, we use the updateID. But 
since this is a newly added field and optional, older Volume, Bucket or KeyInfo 
objects in DB might be missing this field. Hence, before checking if a 
transaction is a replay, we should check that the info object has the updateID.


> Consolidate ObjectID and UpdateID from Info objects into one class
> ------------------------------------------------------------------
>
>                 Key: HDDS-2876
>                 URL: https://issues.apache.org/jira/browse/HDDS-2876
>             Project: Hadoop Distributed Data Store
>          Issue Type: Sub-task
>            Reporter: Hanisha Koneru
>            Assignee: Hanisha Koneru
>            Priority: Major
>
> We use ObjectID and BucketID in OMVolumeArgs, OMBucketInfo, OMKeyInfo and 
> OMMultipartKeyInfo. We can consolidate by having these Info objects extend a 
> "WithObjectID" class which can host the common fields - objectID and updateID.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to