From 1a322a0a7cfa0da7f5f0bfea0e2997ca97d54866 Mon Sep 17 00:00:00 2001 From: obdev Date: Wed, 21 Feb 2024 13:15:52 +0000 Subject: [PATCH] [BUGFIX] fix lob allocator reuse free big page --- src/storage/ddl/ob_complement_data_task.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/storage/ddl/ob_complement_data_task.cpp b/src/storage/ddl/ob_complement_data_task.cpp index 4e0971a139..11eea6720c 100644 --- a/src/storage/ddl/ob_complement_data_task.cpp +++ b/src/storage/ddl/ob_complement_data_task.cpp @@ -1476,9 +1476,7 @@ int ObComplementWriteTask::append_row(ObScan *scan) append_row_time += t3 - t2; context_->row_inserted_++; } - if (lob_cnt % 128 == 0) { - lob_allocator.reuse(); // reuse after append_row to macro block to save memory - } + lob_allocator.reuse(); // reuse after append_row to macro block to save memory } } if (OB_ITER_END == ret) {