-
Notifications
You must be signed in to change notification settings - Fork 1.4k
fix: Ensure proper lifetime of stats in DirectCoalescedLoad #12756
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
This pull request was exported from Phabricator. Differential Revision: D71641158 |
✅ Deploy Preview for meta-velox canceled.
|
…incubator#12756) Summary: There is a crash in HiveDataSource during the merging of stats because the stats may still be used by the executor in DirectBufferedInput. This means we need the stats to have lifetime exceed that of the executor inside DirectBufferedInput. The simple fix here is to pass a shared_ptr of the stats to DirectBufferedInput so that DirectCoalescedLoad owns a reference to the stats.. Differential Revision: D71641158
997c14b to
d833d56
Compare
|
This pull request was exported from Phabricator. Differential Revision: D71641158 |
…incubator#12756) Summary: There is a crash in HiveDataSource during the merging of stats because the stats may still be used by the executor in DirectBufferedInput. This means we need the stats to have lifetime exceed that of the executor inside DirectBufferedInput. The simple fix here is to pass a shared_ptr of the stats to DirectBufferedInput so that DirectCoalescedLoad owns a reference to the stats.. Differential Revision: D71641158
d833d56 to
d6562ef
Compare
|
This pull request was exported from Phabricator. Differential Revision: D71641158 |
|
This pull request has been merged in fb70a03. |
|
Conbench analyzed the 1 benchmark run on commit There were no benchmark performance regressions. 🎉 The full Conbench report has more details. |
…incubator#12756) Summary: Pull Request resolved: facebookincubator#12756 There is a crash in HiveDataSource during the merging of stats because the stats may still be used by the executor in DirectBufferedInput. This means we need the stats to have lifetime exceed that of the executor inside DirectBufferedInput. The simple fix here is to pass a shared_ptr of the stats to DirectBufferedInput so that DirectCoalescedLoad owns a reference to the stats. DwioCoalescedLoadBase was updated to also cache the stats shared_pointer since it can go on the same code path. Reviewed By: Yuhta Differential Revision: D71641158 fbshipit-source-id: cd114c020c88eac3b8c9921b9df41c55f4bdaa28
Summary: There is a crash in HiveDataSource during the merging of stats because the stats may still be used by the executor in DirectBufferedInput. This means we need the stats to have lifetime exceed that of the executor inside DirectBufferedInput. The simple fix here is to pass a shared_ptr of the stats to DirectBufferedInput so that DirectCoalescedLoad owns a reference to the stats..
Differential Revision: D71641158