SWJTU-ZhangLei commented on code in PR #38243: URL: https://github.com/apache/doris/pull/38243#discussion_r1732029358
########## cloud/src/meta-service/meta_service.cpp: ########## @@ -265,6 +267,20 @@ void MetaServiceImpl::get_version(::google::protobuf::RpcController* controller, msg = "malformed version value"; return; } + + if (version_pb.has_txn_id()) { + txn.reset(); + std::shared_ptr<TxnLazyCommitTask> task = + txn_lazy_committer_->submit(instance_id, version_pb.txn_id()); Review Comment: > how do we deal with the "duplicated" submmits to to the commiter add comment here. txn_lazy_committer_ has a map indent by txn_id used for deduplicate -- 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: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org