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

lavinmqctl on follower nodes #785

Merged
merged 7 commits into from
Sep 19, 2024
Merged

Conversation

viktorerlingsson
Copy link
Member

WHAT is this pull request doing?

Adds a HTTP server on followers that bind to internal_unix_socket and returns a 503. This 503 is handled by lavinmqctl which will exit with code 2 and show an error message stating that it's a follower.

HOW can this pull request be tested?

Start a follower, run lavinmqctl against it.

src/lavinmqctl.cr Outdated Show resolved Hide resolved
@viktorerlingsson viktorerlingsson merged commit 05c9771 into main Sep 19, 2024
24 of 25 checks passed
@viktorerlingsson viktorerlingsson deleted the lavinmqctl_on_followers branch September 19, 2024 14:09
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.

3 participants