dataroaring commented on code in PR #52476:
URL: https://github.com/apache/doris/pull/52476#discussion_r2176590699
##########
cloud/src/meta-service/meta_service_job.cpp:
##########
@@ -1492,58 +1492,74 @@ void
MetaServiceImpl::finish_tablet_job(::google::protobuf::RpcController* contr
return;
}
- bool need_commit = false;
- TxnErrorCode err = txn_kv_->create_txn(&txn);
- if (err != TxnErrorCode::TXN_OK) {
- code = cast_as<ErrCategory::CREATE>(err);
- msg = "failed to create txn";
- return;
- }
+ for (int retry = 0; retry <= 1; retry++) {
+ response->Clear();
Review Comment:
msg should be empty.
--
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]