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

Sammi Chen updated HDDS-11340:
------------------------------
    Description: 
Currently, for every client side buffer flush size(32MB default), there will be 
a putBlock call to DN to persist the block metadata.  For a 128MB block, there 
will be 4 putBlock calls during the data write, and one extra putBlock at the 
end when this block is closed due to full.  This last putBlock will add the 
flag "eof" in the request to indicate that this block is completed. 
This task aims to remove this last putBlock call in case this block is a full 
block when block close is called. 

  was:
Currently, for every client side buffer flush size(32MB default), there will be 
a putBlock call to DN to persist the block metadata.  For a 128MB block, there 
will be 4 putBlock calls during the data write, and one extra putBlock at the 
end when this block is closed due to full.  This last putBlock will add the 
flag "eof" in the request to indicate that this block is completed. 
This task aims to remove this last putBlock call in case this block is a full 
block when block is called. 


> Avoid extra PubBlock call when a full block is closed 
> ------------------------------------------------------
>
>                 Key: HDDS-11340
>                 URL: https://issues.apache.org/jira/browse/HDDS-11340
>             Project: Apache Ozone
>          Issue Type: Improvement
>            Reporter: Sammi Chen
>            Assignee: Sammi Chen
>            Priority: Major
>              Labels: pull-request-available
>
> Currently, for every client side buffer flush size(32MB default), there will 
> be a putBlock call to DN to persist the block metadata.  For a 128MB block, 
> there will be 4 putBlock calls during the data write, and one extra putBlock 
> at the end when this block is closed due to full.  This last putBlock will 
> add the flag "eof" in the request to indicate that this block is completed. 
> This task aims to remove this last putBlock call in case this block is a full 
> block when block close is called. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to