From cbeee6568e60dec5b52b66ac7d1995f8cd61d31e Mon Sep 17 00:00:00 2001 From: xl Date: Wed, 16 Jun 2021 11:27:56 +0800 Subject: [PATCH] assign use_seg_array_ true when prepare_container_ when prepare_container_, file_id_list use seg_array instead of list_array. we need assign use_seg_array_ true that time --- src/clog/ob_file_id_cache.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/clog/ob_file_id_cache.cpp b/src/clog/ob_file_id_cache.cpp index d8a366a440..f9c04bb543 100644 --- a/src/clog/ob_file_id_cache.cpp +++ b/src/clog/ob_file_id_cache.cpp @@ -789,6 +789,8 @@ int ObFileIdList::prepare_container_() container_ptr_->destroy(); log2file_list_allocator_->free(container_ptr_); container_ptr_ = tmp_container_ptr; + use_seg_array_ = true; + CSR_LOG(INFO, "use seg array in prepare_container_ function"); } } } else { -- GitLab