gavinchou commented on code in PR #58152:
URL: https://github.com/apache/doris/pull/58152#discussion_r2541566005
##########
cloud/src/meta-service/meta_service_txn.cpp:
##########
@@ -3796,6 +3796,12 @@ void
MetaServiceImpl::abort_txn_with_coordinator(::google::protobuf::RpcControll
LOG(INFO) << "begin_info_key:" << hex(begin_info_key) << " end_info_key:"
<< hex(end_info_key);
TxnErrorCode err = txn_kv_->create_txn(&txn);
+ bool inject_error = false;
+ TEST_SYNC_POINT_CALLBACK("MetaServiceImpl::abort_txn_with_coordinator",
&inject_error);
Review Comment:
do we need sleep here?
if not use macro test_sync_point _return() instead
--
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]