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

eventsource/sensor leader switch causes multiple active applications #1516

Closed
whynowy opened this issue Jan 12, 2022 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@whynowy
Copy link
Member

whynowy commented Jan 12, 2022

We use nats as the leader election service to implement active-passive HA, for Active-passive eventsources and sensors, there should be only 1 active service running at a time. Sometimes when the leader switched due to some reasons, the old leader still serve the traffic and causes unexpected issues.

Expected: once the old lead steps down, fatal the service and let k8s restart the pod, so that it will go to standby mode.

@whynowy whynowy added the bug Something isn't working label Jan 12, 2022
@whynowy
Copy link
Member Author

whynowy commented Jan 12, 2022

Fixed by #1513

@whynowy whynowy closed this as completed Jan 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant