[CP] enable elr on sfu scenario

This commit is contained in:
Naynahs 2024-10-15 20:44:15 +00:00 committed by ob-robot
parent 71b13d2048
commit e90b9b549d

View File

@ -2781,6 +2781,10 @@ int ObMemtable::lock_(
} else if (OB_UNLIKELY(!is_new_locked)) { } else if (OB_UNLIKELY(!is_new_locked)) {
TRANS_LOG(DEBUG, "lock twice, no need to store lock trans node"); TRANS_LOG(DEBUG, "lock twice, no need to store lock trans node");
} }
if (OB_SUCC(ret)) {
// for elr optimization
mem_ctx->set_row_updated();
}
} }
return ret; return ret;