mrhhsg opened a new pull request, #70624:
URL: https://github.com/apache/doris/pull/70624

   ## Summary
   
   Backport #68684 to branch-4.1. A runtime filter published to both a plain 
local consumer and a local merger could share one mutable wrapper. Later merges 
could modify that wrapper while the consumer was reading it. The merger now 
uses a private copy unless adopting the input cannot lead to concurrent 
mutation.
   
   ## Changes
   
   - Clone shared runtime filter wrappers before merging, including their 
Bloom, IN, MinMax, null, and disabled state.
   - Retain the no-copy path when the input has no other reader or the merger 
will not write to it again; keep broadcast-shared wrappers isolated.
   - Adapt the BE unit coverage to branch-4.1 interfaces without introducing 
the master-only bucket-prune cache.
   
   ## Testing
   
   - `./run-be-ut.sh -j 40 --run 
--filter='RuntimeFilterMergerTest.*:RuntimeFilterProducerTest.*:RuntimeFilterWrapperTest.*'`
 — ASAN BE build and 43/43 tests passed.
   - `./build-support/check-format.sh` — passed.
   - `clang-format --dry-run --Werror` on all 11 changed C++ files — passed.
   - `git diff --check` — passed.
   - SQL regression was not run; the ownership cases were covered by the 
focused BE unit tests.
   
   Issue Number: None


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