You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2020/10/23 01:22:37 UTC

[GitHub] [hadoop-ozone] runzhiwang opened a new pull request #1517: HDDS-4375. OM changes the block length when receives truncate request

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:
users@infra.apache.org



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