[FIX] do throttle after creating tx ctx or rollback to savepoint in replay situation

This commit is contained in:
ZenoWang
2024-01-05 03:42:39 +00:00
committed by ob-robot
parent 6a03478f67
commit fc9414974c
7 changed files with 79 additions and 10 deletions

View File

@ -34,6 +34,7 @@ static ObSharedMemAllocMgr MTL_MEM_ALLOC_MGR;
namespace share {
ObMdsThrottleGuard::~ObMdsThrottleGuard() {}
ObTxDataThrottleGuard::~ObTxDataThrottleGuard() {}
int ObTenantTxDataAllocator::init(const char *label)
{

View File

@ -32,6 +32,9 @@ using namespace share;
static ObSharedMemAllocMgr MTL_MEM_ALLOC_MGR;
namespace share {
ObTxDataThrottleGuard::~ObTxDataThrottleGuard() {}
int ObTenantTxDataAllocator::init(const char *label)
{
int ret = OB_SUCCESS;