Skip to content
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

Result tile wait_all should block on the async i/o result #5446

Merged
merged 1 commit into from
Feb 13, 2025

Conversation

ypatia
Copy link
Member

@ypatia ypatia commented Feb 12, 2025

As @ihnorton has noticed while auditing the code in #5401 , in result tile destructor we were waiting on data() instead of filtered_data() for the async task to have finished. This was a leftover from the previous version of the code (before the split between part 1 and 2), where we were also unfiltering in an async fashion, so data() was also blocking waiting for the unfiltering shared future to be done.

This PR fixes this by waiting just for the I/O task to be done.


TYPE: IMPROVEMENT
DESC: Result tile wait_all should block on the async I/O result

@ypatia ypatia requested review from ihnorton and rroelke February 12, 2025 08:32
@ypatia ypatia merged commit d8bbb8b into main Feb 13, 2025
60 checks passed
@ypatia ypatia deleted the yt/sc-59605/fix_wait_all branch February 13, 2025 10:00
@ihnorton
Copy link
Member

/backport to release-2.27

Copy link
Contributor

Started backporting to release-2.27: https://github.com/TileDB-Inc/TileDB/actions/runs/13330153062

ypatia added a commit that referenced this pull request Feb 17, 2025
…c i/o result (#5446) (#5458)

Backport of #5446 to release-2.27

---
TYPE: IMPROVEMENT
DESC: Result tile wait_all should block on the async i/o result

Co-authored-by: Ypatia Tsavliri <ypatia@tiledb.com>
shaunrd0 added a commit that referenced this pull request Mar 3, 2025
shaunrd0 added a commit that referenced this pull request Mar 3, 2025
shaunrd0 added a commit that referenced this pull request Mar 3, 2025
ypatia pushed a commit that referenced this pull request Mar 4, 2025
…5471)

This reverts #5401 for parallelizing I/O and compute operations
(backported in #5451) and the follow-up PR #5446 (backported in #5458).

---
TYPE: IMPROVEMENT
DESC: Revert improve readers by parallelizing I/O and compute operations
github-actions bot pushed a commit that referenced this pull request Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants