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

fix: truncates no longer crash replication #2156

Merged
merged 3 commits into from
Dec 12, 2024

Conversation

icehaunter
Copy link
Contributor

We had an issue where a truncate caused the Consumer process to GenServer.call ShapeCache, which in turn GenServer.call-ed the Consumer and then both crashed with a timeout and weren't cleaned up correctly. This addresses that and makes the shape process after the Truncate clean up and stop gracefully, test included.

@icehaunter icehaunter requested a review from msfstef December 12, 2024 09:34
@icehaunter icehaunter force-pushed the ilia/fix/truncates-crash-replication branch from 0d9a3ab to d34f896 Compare December 12, 2024 10:21
@icehaunter icehaunter requested a review from robacourt December 12, 2024 10:48
Copy link
Contributor

@msfstef msfstef left a comment

Choose a reason for hiding this comment

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

Looks good, nice catch!

@icehaunter icehaunter merged commit 218b7d4 into main Dec 12, 2024
32 checks passed
@icehaunter icehaunter deleted the ilia/fix/truncates-crash-replication branch December 12, 2024 11:53
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