You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Ethan Rose (Jira)" <ji...@apache.org> on 2022/01/13 22:01:00 UTC

[jira] [Updated] (HDDS-4303) Ensure LayoutVersion is unique and monotonicaly increasing in LayoutFeature enums

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

Ethan Rose updated HDDS-4303:
-----------------------------
    Labels: newbie  (was: )

> Ensure LayoutVersion is unique and monotonicaly increasing in LayoutFeature enums
> ---------------------------------------------------------------------------------
>
>                 Key: HDDS-4303
>                 URL: https://issues.apache.org/jira/browse/HDDS-4303
>             Project: Apache Ozone
>          Issue Type: Sub-task
>            Reporter: István Fajth
>            Priority: Major
>              Labels: newbie
>
> Currently OMLayoutFeature and HDDSLayoutFeature has a field to store the LayoutVersion associated with the Feature itself.
> We do not ensure in any way to have that version increasing strictly monotonically, and that would be a desirable property, as the abstract version manager uses the version as a key in a map, and if there is a collision, then that can cascade features having the same version.
> The best way would possibly be to use the ordinal of the enum, but there might be other solutions for this.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org