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

Don't fail when the last message id cannot be set #186

Merged
merged 1 commit into from
Aug 14, 2024

Conversation

eikek
Copy link
Member

@eikek eikek commented Aug 14, 2024

It sometimes occurs that the redis connection is to a read-only replica. In this case, setting the last seen message id fails and the process restarts. To avoid restarts, just log a warning, because processing duplicates is not problematic.

@eikek eikek added the fix A fix to a bug label Aug 14, 2024
@eikek eikek force-pushed the log-set-message-id branch from 12f0971 to 9fc66ac Compare August 14, 2024 12:29
It sometimes occurs that the redis connection is to a read-only
replica. In this case, setting the last seen message id fails and the
process restarts. To avoid restarts, just log a warning, because
processing duplicates is not problematic.
@eikek eikek force-pushed the log-set-message-id branch from 9fc66ac to 62ed7be Compare August 14, 2024 13:13
@eikek eikek merged commit b18d594 into development Aug 14, 2024
3 checks passed
@eikek eikek deleted the log-set-message-id branch August 14, 2024 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix A fix to a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant