Stephen O'Donnell created HDDS-5832:
---------------------------------------

             Summary: 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


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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to