Skip to content

Commit

Permalink
only print warn msg if check correctness failed due to 2PC
Browse files Browse the repository at this point in the history
  • Loading branch information
bobhan1 committed Jul 28, 2023
1 parent da3a4ff commit c3a520f
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions be/src/olap/tablet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -3688,11 +3689,13 @@ 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();
LOG(WARNING) << "[check_delete_bitmap_correctness][max_version:" << max_version << "]"
<< "rowset size:" << rowsets.size();
DCHECK(false);
return Status::OK();
}
} // namespace doris

0 comments on commit c3a520f

Please sign in to comment.