diff --git a/src/storage/access/ob_sstable_row_whole_scanner.cpp b/src/storage/access/ob_sstable_row_whole_scanner.cpp index d724d1507c..76da6d8cfd 100644 --- a/src/storage/access/ob_sstable_row_whole_scanner.cpp +++ b/src/storage/access/ob_sstable_row_whole_scanner.cpp @@ -426,6 +426,9 @@ int ObSSTableRowWholeScanner::open_macro_block() scan_handle.is_right_border_))) { LOG_WARN("failed to open micro block iter", K(ret), K(scan_handle.macro_io_handle_)); } else { + if (iter_macro_cnt_ < 10) { + FLOG_INFO("iter macro block id", K(scan_handle.macro_block_desc_.macro_block_id_), K(iter_macro_cnt_++), K(sstable_)); + } break; } } diff --git a/src/storage/access/ob_sstable_row_whole_scanner.h b/src/storage/access/ob_sstable_row_whole_scanner.h index 5767482a45..5f3eeb2ae8 100644 --- a/src/storage/access/ob_sstable_row_whole_scanner.h +++ b/src/storage/access/ob_sstable_row_whole_scanner.h @@ -62,7 +62,8 @@ public: micro_scanner_(nullptr), is_inited_(false), last_micro_block_recycled_(false), - last_mvcc_row_already_output_(false) + last_mvcc_row_already_output_(false), + iter_macro_cnt_(0) {} virtual ~ObSSTableRowWholeScanner(); @@ -120,6 +121,7 @@ private: bool is_inited_; bool last_micro_block_recycled_; bool last_mvcc_row_already_output_; + int64_t iter_macro_cnt_; }; }