dataroaring commented on code in PR #47028:
URL: https://github.com/apache/doris/pull/47028#discussion_r1928442189


##########
be/src/olap/base_tablet.cpp:
##########
@@ -1876,4 +1876,40 @@ Status BaseTablet::show_nested_index_file(std::string* 
json_meta) {
     return Status::OK();
 }
 
+void BaseTablet::get_base_rowset_delete_bitmap_count(
+        uint64_t* max_base_rowset_delete_bitmap_score,
+        int64_t* max_base_rowset_delete_bitmap_score_tablet_id) {
+    std::vector<RowsetSharedPtr> rowsets_;
+    std::string base_rowset_id_str;
+    {
+        std::shared_lock rowset_ldlock(this->get_header_lock());
+        for (const auto& it : _rs_version_map) {
+            rowsets_.emplace_back(it.second);
+        }
+    }
+    std::sort(rowsets_.begin(), rowsets_.end(), Rowset::comparator);
+    if (!rowsets_.empty()) {
+        for (auto& rowset : rowsets_) {
+            if (rowset->start_version() > 2) {
+                LOG(INFO) << "rowset=" << rowset->rowset_id().to_string()
+                          << ",version=" << rowset->version().to_string()
+                          << ",is not base rowset,skip count 
base_rowset_delete_bitmap_count";

Review Comment:
   too many logs.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to