runzhiwang opened a new pull request #1517: URL: https://github.com/apache/hadoop-ozone/pull/1517
## What changes were proposed in this pull request? 1. When OM receives truncate(key, newLength),in the keyTable, OM deletes the blocks which are fully truncated, and updates the block length which is partially truncated, then return success to client. 2. Ozone client read key according to the block length got from OM, which has already been implemented. 3. So, with this PR, Ozone client can read the truncated key with newLength, when the truncate operation returns success. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-4375 ## How was this patch tested? new UT and IT ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: ozone-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: ozone-issues-h...@hadoop.apache.org