BiteTheDDDDt opened a new pull request, #63257:
URL: https://github.com/apache/doris/pull/63257
### What problem does this PR solve?
Issue Number: close #xxx
Related PR: #49556, #61768, #62056, #60563
Problem Summary: The same shared hash table runtime filter crash path exists
on branch-4.0 under the older BE directory layout. A builder hash join sink
task can be terminated early before it builds the shared hash table and fills
the shared runtime filter wrapper map. The close path still signals non-builder
tasks, and the non-builder runtime filter path uses `DCHECK` plus
`runtime_filters[filter_id]`; in release builds this can insert a null wrapper
and later crash in `RuntimeFilterWrapper::set_state()`.
This PR applies the branch-4.0 equivalent of the branch-4.1 fix: do not mark
the shared hash table as signaled when the builder was terminated, and validate
the shared runtime filter wrapper map with `Status` errors instead of relying
on DCHECK/operator[].
### Release note
Fixed a BE crash when publishing runtime filters for shared hash table hash
joins.
### Check List (For Author)
- Test: Manual test
- build-support/check-format.sh
- git diff --check
- Behavior changed: No
- Does this need documentation: No
--
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]