fmorg-git opened a new pull request, #12103:
URL: https://github.com/apache/ozone/pull/12103

   Please describe your PR in detail:
   * When `ozone.client.datastream.put-block-without-raft.enabled` is enabled, 
the final PutBlock is committed by the datanode when the data stream closes. 
`ContainerStateMachine.streamPutBlock` ignored the response from 
`dispatcher.dispatch`. If the PutBlock was rejected—for example, because the 
container had been closed—the stream was still marked as linked and close 
succeeded. The client could then commit a key referencing a block that was not 
committed on the datanode.
   
   This change contains the datanode portion of the fix originally proposed in
   [#11997](https://github.com/apache/ozone/pull/11997).
   
   ## What is the link to the Apache JIRA
   https://issues.apache.org/jira/browse/HDDS-17861
   
   ## How was this patch tested?
   unit tests, ci workflow
   


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