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

perf(replays): Remove flush on every event #88903

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cmanallen
Copy link
Member

We're flushing on every event. We should flush rarely. Ideally, we do this once when the consumer commits but I need time to write and validate. In the meantime, this PR will revert us to the old behavior (no flushing) which is technically a bug since data can be lost. Since we had this bug for a very long time without complaint its likely that the bug is either rare or common but not noticeable.

@cmanallen cmanallen requested a review from a team as a code owner April 7, 2025 13:34
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Apr 7, 2025
@bruno-garcia
Copy link
Member

Since we had this bug for a very long time without complaint its likely that the bug is either rare or common but not noticeable.

This doesn't seem like a strong reason to revert.

Is the perf overhead significant right now? we must revert?

@cmanallen
Copy link
Member Author

@bruno-garcia I was pinged by fillipo on friday. waiting to hear back from him.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Backend Automatically applied to PRs that change backend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants