[CP][BUGFIX] opt dml lob allocator memory usage

This commit is contained in:
skylhd 2023-10-16 12:14:09 +00:00 committed by ob-robot
parent a4aff412c8
commit 9dc8a8cae2

View File

@ -2671,6 +2671,7 @@ int ObLSTabletService::insert_rows(
row_count, rows_info, tbl_rows, afct_num, dup_num))) {
LOG_WARN("insert to each tablets fail", K(ret));
}
lob_allocator.reuse();
}
if (OB_ITER_END == ret) {
@ -2941,6 +2942,7 @@ int ObLSTabletService::update_rows(
} else {
afct_num++;
}
lob_allocator.reuse();
timeguard.click("Update");
}
if (OB_ITER_END == ret) {
@ -3063,6 +3065,7 @@ int ObLSTabletService::put_rows(
}
}
++afct_num;
lob_allocator.reuse();
}
if (OB_ITER_END == ret) {
@ -3127,6 +3130,7 @@ int ObLSTabletService::delete_rows(
} else {
++afct_num;
}
lob_allocator.reuse();
}
lob_allocator.reset();
if (OB_ITER_END == ret) {