-
Notifications
You must be signed in to change notification settings - Fork 90
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
data store: fix incorrect task state #5650
Conversation
f9b9bd4
to
4a5fd3c
Compare
bfa514f
to
8f55318
Compare
8f55318
to
2ea57a5
Compare
@dwsutherland any thoughts on how the |
I think is because the
|
This reverts commit 2791e5a.
But I think you have it now.. will review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably just remove that self.update_data_store()
call under has_updated
..
This actually may have effected the state-totals (..etc), i.e. #5595 (but I have a PR for that)
This problem was quite pernicious, I think it made some tests flakier too (by creating a race condition with state updates .. i.e. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM:
- Reproduced the original issue, confirmed this fixed it.
- Jammed print statements in to check that the data store update methods were being called as expected.
…tidied
Closes #5645
Caused by a change in #5231
Check List
CONTRIBUTING.md
and added my name as a Code Contributor.setup.cfg
(andconda-environment.yml
if present).CHANGES.md
entry included if this is a change that can affect users?.?.x
branch.