[
https://issues.apache.org/jira/browse/HDDS-4303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aravindan Vijayan updated HDDS-4303:
------------------------------------
Target Version/s: 1.2.0
> Ensure LayoutVersion is unique and monotonicaly increasing in LayoutFeature
> enums
> ---------------------------------------------------------------------------------
>
> Key: HDDS-4303
> URL: https://issues.apache.org/jira/browse/HDDS-4303
> Project: Hadoop Distributed Data Store
> Issue Type: Sub-task
> Reporter: István Fajth
> Priority: Major
>
> 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.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]