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#] Clarify and enforce BumpEpoch protection assumptions #892

Merged
merged 4 commits into from
Mar 13, 2024

Conversation

tli2
Copy link
Contributor

@tli2 tli2 commented Dec 4, 2023

Revise BumpEpoch to accommodate calling from both protected and unprotected contexts. Revise FasterLog completion logic to avoid epoch double-protect. From now on, users should assume that any trigger action associated with BumpEpoch will execute on a protected thread after it is safe. Caller thread of BumpEpoch can be either protected or unprotected.

fix #872

@TedHartMS TedHartMS changed the base branch from main to tedhar/epoch-fix March 13, 2024 03:21
Copy link
Contributor

@TedHartMS TedHartMS left a comment

Choose a reason for hiding this comment

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

will make a couple changes after merge to feature branch

@TedHartMS TedHartMS merged commit 0f5781b into microsoft:tedhar/epoch-fix Mar 13, 2024
11 checks passed
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.

Log tail iteration does not end when log completed
2 participants