Skip to content

[TaskManager] Fix assert error when sending a volunteer op before a complete op is acknowledged#12269

Merged
2 commits merged into
microsoft:nextfrom
scottn12:fixCompleteAssertError
Oct 7, 2022
Merged

[TaskManager] Fix assert error when sending a volunteer op before a complete op is acknowledged#12269
2 commits merged into
microsoft:nextfrom
scottn12:fixCompleteAssertError

Conversation

@scottn12
Copy link
Copy Markdown
Contributor

@scottn12 scottn12 commented Oct 5, 2022

Description

This PR fixes an assert error if voulnteerForTask() is called before a pending complete op is acknowledged.

Reviewer Guidance

Would you expect the behavior in this scenario to be different? Should we ignore the volunteer op in this scenario?

Any relevant logs or outputs

Before the change the newly added test would throw:

Error: Removed complete op id does not match

Other information or known dependencies

AB#2124

@scottn12 scottn12 requested a review from ChumpChief October 5, 2022 14:22
@scottn12 scottn12 requested a review from a team as a code owner October 5, 2022 14:22
@github-actions github-actions Bot added area: dds Issues related to distributed data structures base: next PRs targeted against next branch labels Oct 5, 2022
Copy link
Copy Markdown
Contributor

@ChumpChief ChumpChief left a comment

Choose a reason for hiding this comment

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

Now I get it :)

@ghost
Copy link
Copy Markdown

ghost commented Oct 7, 2022

Hello @scottn12!

Because this pull request has the msftbot: merge-next label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

@ghost ghost merged commit 85445db into microsoft:next Oct 7, 2022
@scottn12 scottn12 deleted the fixCompleteAssertError branch October 7, 2022 17:49
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: dds Issues related to distributed data structures base: next PRs targeted against next branch msftbot: merge-next

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants