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

[C#] Fix error behavior under frequent commit situations #590

Merged
merged 2 commits into from
Nov 11, 2021

Conversation

tli2
Copy link
Contributor

@tli2 tli2 commented Nov 7, 2021

Currently, if flush list is full, a new flush will be treated as failure. But this code path is invoked separately from the normal safe guards against out-of-order flushes. This can result in flush failures being swallowed or even non-termination of the commit code path with compound failures.

This PR enforces ordering for failure code path and adds a stress test to guard against regression

@badrishc badrishc merged commit 1c2a26d into microsoft:master Nov 11, 2021
@tli2 tli2 deleted the commit-fix branch November 11, 2021 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants