Try to submit delay abort log before the dup_table commit info log
This commit is contained in:
@ -75,11 +75,6 @@ int ObPartTransCtx::do_prepare(bool &no_need_submit_log)
|
|||||||
int ret = OB_SUCCESS;
|
int ret = OB_SUCCESS;
|
||||||
no_need_submit_log = false;
|
no_need_submit_log = false;
|
||||||
|
|
||||||
// common operation
|
|
||||||
if (OB_FAIL(search_unsubmitted_dup_table_redo_())) {
|
|
||||||
TRANS_LOG(WARN, "search unsubmitted dup table redo", K(ret), KPC(this));
|
|
||||||
}
|
|
||||||
|
|
||||||
if (OB_SUCC(ret)) {
|
if (OB_SUCC(ret)) {
|
||||||
if (sub_state_.is_force_abort()) {
|
if (sub_state_.is_force_abort()) {
|
||||||
if (OB_FAIL(compensate_abort_log_())) {
|
if (OB_FAIL(compensate_abort_log_())) {
|
||||||
@ -91,6 +86,12 @@ int ObPartTransCtx::do_prepare(bool &no_need_submit_log)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (OB_SUCC(ret)) {
|
||||||
|
if (OB_FAIL(search_unsubmitted_dup_table_redo_())) {
|
||||||
|
TRANS_LOG(WARN, "search unsubmitted dup table redo", K(ret), KPC(this));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (OB_SUCC(ret)) {
|
if (OB_SUCC(ret)) {
|
||||||
if (exec_info_.is_dup_tx_ && !is_dup_table_redo_sync_completed_()) {
|
if (exec_info_.is_dup_tx_ && !is_dup_table_redo_sync_completed_()) {
|
||||||
no_need_submit_log = true;
|
no_need_submit_log = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user