From 76dd34b67450f892af89a4ded7f1a91efd8e6846 Mon Sep 17 00:00:00 2001 From: bobhan1 Date: Fri, 28 Jul 2023 10:31:54 +0800 Subject: [PATCH] only print warn msg if check correctness failed due to 2PC --- be/src/olap/tablet.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/be/src/olap/tablet.cpp b/be/src/olap/tablet.cpp index 0c2245d03a1948..0891a502cbc690 100644 --- a/be/src/olap/tablet.cpp +++ b/be/src/olap/tablet.cpp @@ -3676,7 +3676,8 @@ Status Tablet::check_delete_bitmap_correctness(DeleteBitmapPtr delete_bitmap, in auto it = result.find(std::get<0>(key)); if (it == result.end()) { LOG(WARNING) << "can't find rowsetid when checking delete bitmap correctness"; - return Status::InternalError("check delete bitmap correctness failed"); + DCHECK(false); + return Status::OK(); } if (bitmap.contains(DeleteBitmap::ROWSET_SENTINEL_MARK)) { it->second = true; @@ -3688,11 +3689,10 @@ Status Tablet::check_delete_bitmap_correctness(DeleteBitmapPtr delete_bitmap, in "rowset with RowsetId:" << rowsetid << "version:" << get_rowset(rowsetid)->version().to_string() << "max_version:" << max_version; - return Status::InternalError("check delete bitmap correctness failed"); + DCHECK(false); + return Status::OK(); } } - LOG(INFO) << "[check_delete_bitmap_correctness][max_version:" << max_version << "]" - << "rowset size:" << rowsets.size(); return Status::OK(); } } // namespace doris