[FEAT MERGE] Optimize dml performance in multi-local index scenarios

Co-authored-by: Handora <qcdsr970209@gmail.com>
Co-authored-by: Naynahs <cfzy002@126.com>
Co-authored-by: ZenoWang <wzybuaasoft@163.com>
This commit is contained in:
windye
2024-04-16 15:27:19 +00:00
committed by ob-robot
parent 5c28cef93c
commit 7aca4ef065
59 changed files with 696875 additions and 299635 deletions

View File

@ -36,8 +36,6 @@ int MockObAccessService::insert_rows(
int64_t &affected_rows)
{
int ret = OB_SUCCESS;
ObStoreCtxGuard ctx_guard;
ObLSHandle handle;
ObTabletHandle tablet_handle;
if (OB_UNLIKELY(!ls_id.is_valid())
@ -59,11 +57,11 @@ int MockObAccessService::insert_rows(
dml_param.timeout_,
tx_desc,
tablet_handle,
ctx_guard))) {
*dml_param.store_ctx_guard_))) {
LOG_WARN("fail to check query allowed", K(ret), K(ls_id), K(tablet_id));
} else {
ret = tablet_service_->insert_rows(tablet_handle,
ctx_guard.get_store_ctx(),
dml_param.store_ctx_guard_->get_store_ctx(),
dml_param,
column_ids,
row_iter,