[FIX] do throttle when mds operation is finished instead of allocating mds memory

This commit is contained in:
ZenoWang
2024-01-04 13:42:38 +00:00
committed by ob-robot
parent d798c34580
commit 3bdc9cb5df
11 changed files with 114 additions and 28 deletions

View File

@ -1180,6 +1180,7 @@ int ObMemtableCtx::register_multi_source_data_if_need_(
int64_t pos = 0;
ObTxDataSourceType type = ObTxDataSourceType::TABLE_LOCK;
ObPartTransCtx *part_ctx = static_cast<ObPartTransCtx *>(ctx_);
if (serialize_size > tablelock::ObTableLockOp::MAX_SERIALIZE_SIZE) {
ret = OB_ERR_UNEXPECTED;
TRANS_LOG(WARN, "lock op serialize size if over flow", K(ret), K(serialize_size));