[bug](txn) fix concurrent txns's status data race when aborting txn (#17893)

This commit is contained in:
AlexYue
2023-03-20 17:55:03 +08:00
committed by GitHub
parent bd8e3e6405
commit b4634342aa
3 changed files with 39 additions and 7 deletions

View File

@ -825,6 +825,8 @@ void TaskWorkerPool::_publish_version_worker_thread_callback() {
_tasks.push_back(agent_task_req);
_worker_thread_condition_variable.notify_one();
}
LOG(INFO) << "wait for previous publish version task to be done"
<< "transaction_id: " << publish_version_req.transaction_id;
break;
} else {
LOG_WARNING("failed to publish version")