You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/10/06 16:38:00 UTC

[jira] [Updated] (HDDS-5832) EC: ECKeyOutputStream persists blocks in random order

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

ASF GitHub Bot updated HDDS-5832:
---------------------------------
    Labels: pull-request-available  (was: )

> EC: ECKeyOutputStream persists blocks in random order
> -----------------------------------------------------
>
>                 Key: HDDS-5832
>                 URL: https://issues.apache.org/jira/browse/HDDS-5832
>             Project: Apache Ozone
>          Issue Type: Sub-task
>          Components: Ozone Client
>            Reporter: Stephen O'Donnell
>            Assignee: Stephen O'Donnell
>            Priority: Major
>              Labels: pull-request-available
>
> When the blocks for an ECKeyOutputStream are persisted in OM, they are in a random order, which means the data cannot be read back successfully later.
> This is because they are stored into a HashMap which does not iterate in insertion order. Instead we need to use a LinkedHashMap.



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

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