[
https://issues.apache.org/jira/browse/HDDS-996?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shashikant Banerjee updated HDDS-996:
-------------------------------------
Resolution: Fixed
Status: Resolved (was: Patch Available)
Thanks [~jnp] and [~ljain] for the review. I have committed this change to
trunk.
> Incorrect data length gets updated in OM by client in case it hits exception
> in multiple successive block writes
> ----------------------------------------------------------------------------------------------------------------
>
> Key: HDDS-996
> URL: https://issues.apache.org/jira/browse/HDDS-996
> Project: Hadoop Distributed Data Store
> Issue Type: Improvement
> Components: Ozone Client
> Affects Versions: 0.4.0
> Reporter: Shashikant Banerjee
> Assignee: Shashikant Banerjee
> Priority: Major
> Fix For: 0.4.0
>
> Attachments: HDDS-996.000.patch
>
>
> In the retry path, the data which needs to be written to the next block
> should always be calculated from the data actually residing in the buffer
> list rather than the length of the current stream entry allocated. This leads
> to updating incorrect length of key updated in OM when multiple exceptions
> occur while doing key writes.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]