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

Ensure pending drain actions are processed when all tasks have exited epochs #205

Merged
merged 2 commits into from
Nov 14, 2019

Conversation

badrishc
Copy link
Contributor

@badrishc badrishc commented Nov 14, 2019

Fixes an issue when FASTER is used with many tasks or threads, doing fine-grained work on FASTER, i.e., resuming and suspending epochs frequently. The last thread to leave epoch protection may sometimes leave an item on the drain list, resulting in progress halt. This PR fixes the issue by checking if there are any actions to be drained in such a situation.

Fix #199

@badrishc badrishc merged commit adefb0e into master Nov 14, 2019
@badrishc badrishc deleted the epoch-suspend-drain branch September 7, 2020 02:45
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.

FasterLog.CommitAsync stops when running with FasterLog.WaitForCommitAsync.
1 participant