server shutdown commit not registered retry
This commit is contained in:
@ -252,11 +252,11 @@ int ObTransService::do_commit_tx_slowpath_(ObTxDesc &tx)
|
||||
// build msg fail won't cause commit fail, later driven by retry timer
|
||||
} else if (OB_TMP_FAIL(rpc_->post_msg(tx.coord_id_, commit_msg))) {
|
||||
TRANS_LOG(WARN, "post tx commit msg fail", K(tmp_ret), K(tx), K(commit_msg));
|
||||
if (is_location_service_renew_error(tmp_ret)) {
|
||||
// send msg fail won't cause commit fail, later driven by retry timer
|
||||
} else if (DELETED_UNRETRYABLE_ERROR(tmp_ret)) {
|
||||
if (DELETED_UNRETRYABLE_ERROR(tmp_ret)) {
|
||||
ret = tx.commit_times_ > 0 ? OB_TRANS_UNKNOWN : OB_TRANS_KILLED;
|
||||
} else { ret = tmp_ret; }
|
||||
} else {
|
||||
// retryable error : location incorrect, server shutdown etc.
|
||||
}
|
||||
} else {
|
||||
post_succ = true;
|
||||
++tx.commit_times_;
|
||||
|
Reference in New Issue
Block a user