BUGFIX: break deadlock at memctx and part ctx

This commit is contained in:
obdev
2023-02-10 10:11:11 +00:00
committed by ob-robot
parent 58875bd2b7
commit 3648a21c43
3 changed files with 59 additions and 43 deletions

View File

@ -1280,7 +1280,8 @@ int ObMemtableCtx::register_multi_source_data_if_need_(
// TODO: yanyuan.cxf need seqno to do rollback.
} else if (OB_FAIL(part_ctx->register_multi_data_source(type,
buf,
serialize_size))) {
serialize_size,
true /* try lock */))) {
TRANS_LOG(WARN, "register to multi source data failed", K(ret));
} else {
// do nothing