akshaychitneni opened a new pull request, #2990:
URL: https://github.com/apache/datafusion-ballista/pull/2990
Part of #1829. Follows up review comments on #2889.
# Rationale for this change
A query rebuilding a lost cache checked only once, on entry, whether its
session had been removed. A removal while the rebuild was being prepared
found nothing to cancel, so the rebuild recorded new entries, nested caches
included, for the removed session, and their data stayed pinned.
# What changes are included in this PR?
- The rebuild checks again once its claims are in flight, and gives them
back
if the session has been removed.
- A test for a finished rebuild being dropped, not handed over, when its
session was removed.
- Doc comments: when a build replaced by a rebuild is freed, and the
remaining
narrow races at session removal.
# Are there any user-facing changes?
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]