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

Prevent unlimited enqueueing of CommitAvailable commands #1390

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

svroonland
Copy link
Collaborator

For every commit, a CommitAvailable command is enqueued, which could theoretically lead to an unbounded queue growth when committing records one by one and forking the commit.

Relates to #1386

@svroonland svroonland mentioned this pull request Nov 16, 2024
@svroonland svroonland marked this pull request as ready for review November 16, 2024 11:50
Copy link
Collaborator

@erikvanoosten erikvanoosten left a comment

Choose a reason for hiding this comment

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

At first I thought, how could this be a problem? But then I saw that this solution is quite elegant so let's do it. Did you keep an eye on the performance benchmark?

@erikvanoosten
Copy link
Collaborator

This PR seems to be slower on the benchmark. Starting another run to see if is transient...

@erikvanoosten
Copy link
Collaborator

Retry gives the same result.

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