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

Avoid listener race collecting wrong plan in assert_gpu_fallback_collect #2516

Merged
merged 1 commit into from
May 27, 2021

Conversation

jlowe
Copy link
Member

@jlowe jlowe commented May 26, 2021

Fixes #2407.

This fixes a race condition in assert_gpu_fallback_collect where the event listener callback could accidentally capture the plan from a previous query. Instead of relying on the racy event callback approach, the executed plan is examined on the original dataframe after the collect has been performed.

@jlowe jlowe added the test Only impacts tests label May 26, 2021
@jlowe jlowe added this to the May 24 - Jun 4 milestone May 26, 2021
@jlowe jlowe self-assigned this May 26, 2021
@jlowe
Copy link
Member Author

jlowe commented May 26, 2021

build

Copy link
Collaborator

@gerashegalov gerashegalov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jlowe jlowe merged commit 6c4b947 into NVIDIA:branch-21.06 May 27, 2021
@jlowe jlowe deleted the fix-fallback-collect-race branch May 27, 2021 13:22
nartal1 pushed a commit to nartal1/spark-rapids that referenced this pull request Jun 9, 2021
…ect (NVIDIA#2516)

Signed-off-by: Jason Lowe <jlowe@nvidia.com>
nartal1 pushed a commit to nartal1/spark-rapids that referenced this pull request Jun 9, 2021
…ect (NVIDIA#2516)

Signed-off-by: Jason Lowe <jlowe@nvidia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test Only impacts tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] test_round_robin_sort_fallback failed
3 participants