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

--ignore-servers is not honored after failover took place once #31

Closed
michaeldg opened this issue Jun 10, 2016 · 1 comment
Closed

--ignore-servers is not honored after failover took place once #31

michaeldg opened this issue Jun 10, 2016 · 1 comment

Comments

@michaeldg
Copy link

Please be aware I am running a small hack, https://github.com/michaeldg/replication-manager/blob/master/misc.go:49, getSeqFromGtid always returns 1. This is to work around issue #30.

The first failover I executed worked perfectly, the comamnd I used was:
./go/bin/replication-manager --hosts=a-oltp01,a-oltp02,b-oltp01,b-oltp02 --user=replication_manager:root --rpluser=slave_user:repl --interactive --switchover=keep --readonly=false --ignore-servers=b-oltp01,b-oltp02 --gtidcheck=0

The first failover was (as expected) to a-oltp02. The second failover was, incorrectly, to b-oltp01.

@michaeldg
Copy link
Author

I cannot reproduce this issue anymore on the 'gtidlist' branch.

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

No branches or pull requests

1 participant