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

Expose replica/slave host/port for reporting #250

Closed

Conversation

darnuria
Copy link

Followup of blackbeam/rust_mysql_common#96 it's possible to inspect them with show slave hosts/ show replicas

I did something really naive, maybe it's better to do a real API From BinlogRequest to ComRegisterCmd but since it's private stuff it's not a breaking change for the api on this side.

Followup of blackbeam/rust_mysql_common#96
it's possible to inspect them with show slave hosts/ show replicas
@blackbeam
Copy link
Owner

See BinlogStreamRequest structure available in v0.33.0

@blackbeam blackbeam closed this Nov 8, 2023
@darnuria
Copy link
Author

darnuria commented Nov 11, 2023

Thanks for the implementation, I am not sure but it look that registering this way is persistent even if the replica (secondary/slave) close the connection encountered it this week.

Don't know yet what is the best course of action to 'unregister' to the primary/source/master.

⬆️ It's not a feature request just sharing something related to this obscure part of mysql! :)

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