amaliujia commented on code in PR #11767:
URL: https://github.com/apache/ozone/pull/11767#discussion_r4374817791
##########
hadoop-hdds/container-service/src/main/java/org/apache/hadoop/ozone/container/keyvalue/KeyValueHandler.java:
##########
@@ -699,6 +699,12 @@ ContainerCommandResponseProto handlePutBlock(
dispatcherContext == null ? 0 : dispatcherContext.getLogIndex();
blockData.setBlockCommitSequenceId(bcsId);
blockManager.putBlock(kvContainer, blockData, endOfBlock);
+ if (DispatcherContext.op(dispatcherContext).isStreamCommit()) {
Review Comment:
Do we apply the db flush for all the stream commits, or should we only
enforce it for the streaming raftless write?
I guess the question would be if `stream_commit` or `stream_link` will be
exclusively used by streaming raftless writes.
--
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]