From dce17c7f85698e599fb856fe837b63ff5c6fce05 Mon Sep 17 00:00:00 2001 From: fengdeyiji <546976189@qq.com> Date: Mon, 14 Aug 2023 13:42:57 +0000 Subject: [PATCH] [MDS] remove TRACE log without lock protected --- src/storage/multi_data_source/mds_unit.ipp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/storage/multi_data_source/mds_unit.ipp b/src/storage/multi_data_source/mds_unit.ipp index f5796e7e82..e35357a032 100644 --- a/src/storage/multi_data_source/mds_unit.ipp +++ b/src/storage/multi_data_source/mds_unit.ipp @@ -189,7 +189,7 @@ int MdsUnit::for_each_row(OP &&op)// node maybe recycled in this function const K *p_k = &kv_row.k_; const Row &row = kv_row.v_; if (MDS_FAIL(op(row))) { - MDS_LOG_SCAN(WARN, "fail to scan row", KPC(p_k), K(kv_row)); + MDS_LOG_SCAN(WARN, "fail to scan row", KPC(p_k)); } if (row.sorted_list_.empty()) {// if this row is recycled, just delete it KvPair> *p_kv = &const_cast> &>(kv_row); @@ -198,7 +198,6 @@ int MdsUnit::for_each_row(OP &&op)// node maybe recycled in this function } return OB_SUCCESS != ret;// keep scanning until meet failure }); - MDS_LOG_SCAN(TRACE, "for_each_row done", K_(multi_row_list)); return ret; #undef PRINT_WRAPPER } @@ -770,7 +769,6 @@ int MdsUnit::for_each_row(OP &&op) const { if (MDS_FAIL(op(single_row_.v_))) { MDS_LOG_SCAN(WARN, "fail to scan single row"); } - MDS_LOG_SCAN(TRACE, "for_each_row done", K_(single_row_.v)); return ret; #undef PRINT_WRAPPER }