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

Fix race condition in SerializeConcatHostBuffersDeserializeBatch #1174

Merged
merged 1 commit into from
Nov 20, 2020

Conversation

andygrove
Copy link
Contributor

@andygrove andygrove commented Nov 20, 2020

Signed-off-by: Andy Grove andygrove@nvidia.com

This PR fixes a race condition where a batch was created with a zero row count and then updated with the actual row count, but other threads were able to use this batch when it was in the intermediate state.

This is a smaller change than the PR yesterday that attempted to fix this, but also introduced a regression.

Signed-off-by: Andy Grove <andygrove@nvidia.com>
@andygrove andygrove added the bug Something isn't working label Nov 20, 2020
@andygrove andygrove added this to the Nov 9 - Nov 20 milestone Nov 20, 2020
@andygrove andygrove self-assigned this Nov 20, 2020
@andygrove
Copy link
Contributor Author

build

@andygrove andygrove changed the title [WIP] Fix race condition in SerializeConcatHostBuffersDeserializeBatch Fix race condition in SerializeConcatHostBuffersDeserializeBatch Nov 20, 2020
@jlowe jlowe merged commit 8e16648 into NVIDIA:branch-0.3 Nov 20, 2020
@andygrove andygrove deleted the fix-race-condition-2 branch December 17, 2020 15:26
nartal1 pushed a commit to nartal1/spark-rapids that referenced this pull request Jun 9, 2021
Signed-off-by: Andy Grove <andygrove@nvidia.com>
nartal1 pushed a commit to nartal1/spark-rapids that referenced this pull request Jun 9, 2021
Signed-off-by: Andy Grove <andygrove@nvidia.com>
tgravescs pushed a commit to tgravescs/spark-rapids that referenced this pull request Nov 30, 2023
[auto-merge] bot-auto-merge-branch-23.06 to branch-23.08 [skip ci] [bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants