From ced4f99794d9a5853b5f9ac25adfc925e48de556 Mon Sep 17 00:00:00 2001 From: hamstersox <673144759@qq.com> Date: Mon, 24 Jan 2022 14:21:55 +0800 Subject: [PATCH] fix force cancel not work --- src/rootserver/ob_root_backup.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rootserver/ob_root_backup.cpp b/src/rootserver/ob_root_backup.cpp index 6d750efb4c..a9f7c755f0 100644 --- a/src/rootserver/ob_root_backup.cpp +++ b/src/rootserver/ob_root_backup.cpp @@ -2346,7 +2346,7 @@ int ObRootBackup::do_with_all_finished_info(const share::ObBaseBackupInfoStruct LOG_WARN("failed to get stopped backup tenant result", K(ret), K(infos)); } else if (FALSE_IT( status = (OB_SUCCESS == result ? ObExternBackupInfo::SUCCESS : ObExternBackupInfo::FAILED))) { - } else if (FALSE_IT(is_force_stop = (OB_CANCELED == result && is_force_cancel_()))) { + } else if (FALSE_IT(is_force_stop = is_force_cancel_())) { } else if (OB_FAIL(update_extern_backup_infos(info, status, is_force_stop, extern_backup_info))) { LOG_WARN("failed to do extern backup infos", K(ret), K(info), K(status)); } else if (OB_FAIL(update_sys_tenant_backup_task(sys_updater.get_trans(), -- GitLab