HappenLee commented on code in PR #57358:
URL: https://github.com/apache/doris/pull/57358#discussion_r2609675786


##########
be/src/runtime_filter/runtime_filter_mgr.cpp:
##########
@@ -457,6 +457,25 @@ void 
RuntimeFilterMergeControllerEntity::release_undone_filters(QueryContext* qu
     _filter_map.clear();
 }
 
+Status RuntimeFilterMergeControllerEntity::reset_global_rf(
+        QueryContext* query_ctx, const 
google::protobuf::RepeatedField<int32_t>& filter_ids) {
+    for (const auto& filter_id : filter_ids) {
+        GlobalMergeContext* cnt_val;
+        {
+            std::unique_lock<std::shared_mutex> guard(_filter_map_mutex);
+            cnt_val = &_filter_map[filter_id]; // may inplace construct 
default object
+        }
+        int producer_size = cnt_val->merger->get_expected_producer_num();

Review Comment:
    why add a `reset()` method in `GlobalMergeContext` 
   



-- 
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