[
https://issues.apache.org/jira/browse/HDDS-4303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Attila Doroszlai updated HDDS-4303:
-----------------------------------
Fix Version/s: 1.4.0
> 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
> Assignee: Ivan Andika
> Priority: Major
> Labels: newbie, pull-request-available
> Fix For: 1.4.0
>
>
> 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.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]