From d245003d1ff6387a49d391f10eddbfdd4cfbec2e Mon Sep 17 00:00:00 2001 From: fforkboat Date: Wed, 15 Nov 2023 09:14:30 +0000 Subject: [PATCH] [CP] fix: sync commit cb is not invoked after tenant dropped --- src/storage/tx/ob_trans_service_v4.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storage/tx/ob_trans_service_v4.cpp b/src/storage/tx/ob_trans_service_v4.cpp index fe63b10dd8..cea7e467c8 100644 --- a/src/storage/tx/ob_trans_service_v4.cpp +++ b/src/storage/tx/ob_trans_service_v4.cpp @@ -236,7 +236,7 @@ int ObTransService::do_commit_tx_(ObTxDesc &tx, return ret; } -#define DELETED_UNRETRYABLE_ERROR(ret) (OB_LS_IS_DELETED == ret) +#define DELETED_UNRETRYABLE_ERROR(ret) (OB_LS_IS_DELETED == ret || OB_TENANT_HAS_BEEN_DROPPED) /* * try send commit msg to coordinator, and register retry task * if msg send fail, the retry task will retry later