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

Add function to handle subscriptions when applying buffered changes #214

Merged
merged 8 commits into from
Jul 6, 2024

Conversation

jeromegn
Copy link
Member

We discovered we weren't processing subscriptions for changes being applied all at once when all buffered versions were received. This caused some changes not to update subscriptions.

This PR adds a function to handle exactly that situation.

It's a bit painful and some buffering in memory is required unless we change the logic more extensively.

@jeromegn jeromegn requested a review from somtochiama May 23, 2024 02:59
@jeromegn
Copy link
Member Author

@somtochiama I would appreciate a review on this. I think this works as intended and will prevent heartburn in the future.

Copy link
Contributor

@somtochiama somtochiama left a comment

Choose a reason for hiding this comment

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

LGTM!

@jeromegn jeromegn merged commit 25b7bbf into main Jul 6, 2024
4 checks passed
@jeromegn jeromegn deleted the buffered-subs branch July 6, 2024 20:38
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