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

Return error if no longer leader when publishing #3794

Merged
merged 2 commits into from
Jul 18, 2024

Conversation

d80tb7
Copy link
Collaborator

@d80tb7 d80tb7 commented Jul 18, 2024

Previously we silently ignored this condition (well we logged at debug which is much the same thing!). Now we return an error so that we correctly roll back the transaction. This means that the in-memory state is consistent with what is on Pulsar.

@d80tb7 d80tb7 enabled auto-merge (squash) July 18, 2024 13:49
@d80tb7 d80tb7 merged commit a6cac13 into master Jul 18, 2024
25 of 28 checks passed
@d80tb7 d80tb7 deleted the f/chrisma/fix-failed-publish branch July 18, 2024 14:03
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