captainzmc edited a comment on pull request #2835:
URL: https://github.com/apache/ozone/pull/2835#issuecomment-968075142


   Hi @szetszwo @sadanand48 I have an idea I'd like to discuss with you. Can we 
call  executePutBlock before 
[handleRetry](https://github.com/apache/ozone/blob/HDDS-4454/hadoop-ozone/client/src/main/java/org/apache/hadoop/ozone/client/io/KeyDataStreamOutput.java#L325)
 to make sure the StreamBuffers(has been ack) is correct, then allocate new 
block and then write the remaining StreamBuffers(not yet been ack)? 
   In this way we only need to store the unack Streambuffers in the bufferList, 
which greatly reduces the client memory stress.


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



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

Reply via email to