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

[4.0] Cleanup and prevent thread starvation while in the read window. #892

Merged
merged 22 commits into from
Mar 27, 2023

Conversation

greg7mdp
Copy link
Contributor

Resolves #822.

This PR encapsulate wait and lock operations in the ro transaction queue, and makes the tasks wait on a condition variable while the read window is active, and there are transactions either in the queue or being processed.

It addresses the issue of thread starvation described in issue #822.

@greg7mdp greg7mdp requested review from heifner and linh2931 March 24, 2023 18:52
@heifner heifner changed the title Cleanup and prevent thread starvation while in the read window. [4.0] Cleanup and prevent thread starvation while in the read window. Mar 24, 2023
@greg7mdp greg7mdp merged commit 8de2986 into release/4.0 Mar 27, 2023
@greg7mdp greg7mdp deleted the gh-822-4.0 branch March 27, 2023 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Read-only transaction processing - prevent thread starvation while in the read window.
3 participants