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 to re-using server IDs for binlog connections #6941

Merged
merged 1 commit into from
Nov 6, 2020

Conversation

aquarapid
Copy link
Contributor

Addresses #6939.

This partially returns to the implementation we had before #5998 ; in that we use an ID pool, but now we randomize the initial value.

* Rename sc to bc;  legacy of SlaveConnection
* Rename connID to serverID to reflect what it actually represents

Signed-off-by: Jacques Grove <aquarapid@gmail.com>
@aquarapid aquarapid marked this pull request as ready for review October 25, 2020 23:34
Copy link
Contributor

@rohit-nayak-ps rohit-nayak-ps left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@deepthi
Copy link
Member

deepthi commented Nov 2, 2020

@aquarapid @rohit-nayak-ps is this ready to merge?

@aquarapid
Copy link
Contributor Author

From my point of view, yes.

@rohit-nayak-ps
Copy link
Contributor

@aquarapid @rohit-nayak-ps is this ready to merge?

I approved. Didn't merge because @sougou was yet to review.

@sougou sougou merged commit aeed851 into vitessio:master Nov 6, 2020
@sougou sougou deleted the jg_serverid branch November 6, 2020 05:38
@askdba askdba added this to the v9.0 milestone Nov 11, 2020
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.

5 participants