From c6a74eede82f1e04abaef9b124c89e579dc0e8cf Mon Sep 17 00:00:00 2001 From: obdev Date: Wed, 26 Oct 2022 12:01:03 +0000 Subject: [PATCH] fix tx_data_table allocator block bug --- src/storage/tx_table/ob_tx_data_table.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storage/tx_table/ob_tx_data_table.cpp b/src/storage/tx_table/ob_tx_data_table.cpp index 45d31ae26..720e144db 100644 --- a/src/storage/tx_table/ob_tx_data_table.cpp +++ b/src/storage/tx_table/ob_tx_data_table.cpp @@ -51,7 +51,7 @@ int ObTxDataTable::init(ObLS *ls, ObTxCtxTable *tx_ctx_table) if (OB_ISNULL(ls) || OB_ISNULL(tx_ctx_table)) { ret = OB_ERR_NULL_VALUE; STORAGE_LOG(WARN, "ls tablet service or tx ctx table is nullptr", KR(ret)); - } else if (OB_FAIL(slice_allocator_.init(TX_DATA_SLICE_SIZE, OB_MALLOC_BIG_BLOCK_SIZE, + } else if (OB_FAIL(slice_allocator_.init(TX_DATA_SLICE_SIZE, OB_MALLOC_NORMAL_BLOCK_SIZE, common::default_blk_alloc, mem_attr_))) { STORAGE_LOG(ERROR, "slice_allocator_ init fail"); } else if (FALSE_IT(ls_tablet_svr_ = ls->get_tablet_svr())) {