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

Sync fixes: currentP can be seen as null by workers. #3950

Merged
merged 1 commit into from
Apr 10, 2022

Conversation

sdedic
Copy link
Member

@sdedic sdedic commented Apr 9, 2022

The shared variable currentP can be sometimes turned to null when a worker is already planned (but did not execute, or is executing) to the RP.
The PR should pass the currentP to the worker task, and the task checks if its view of what is currentP is still accurate before executing.

@sdedic sdedic added kind:bug Bug report or fix Gradle [ci] enable "build tools" tests labels Apr 9, 2022
@sdedic sdedic requested a review from lkishalmi April 9, 2022 17:47
@sdedic sdedic self-assigned this Apr 9, 2022
Copy link
Contributor

@lkishalmi lkishalmi left a comment

Choose a reason for hiding this comment

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

Looks good at first sight. Thank you!

@sdedic sdedic merged commit 56c678f into apache:master Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Gradle [ci] enable "build tools" tests kind:bug Bug report or fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants