[CP] fix: sync commit cb is not invoked after tenant dropped

This commit is contained in:
fforkboat
2023-11-15 09:14:30 +00:00
committed by ob-robot
parent e9fa5cef72
commit d245003d1f

View File

@ -236,7 +236,7 @@ int ObTransService::do_commit_tx_(ObTxDesc &tx,
return ret; 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 * try send commit msg to coordinator, and register retry task
* if msg send fail, the retry task will retry later * if msg send fail, the retry task will retry later