Comments (13)
Hi Cédric,
Which repmgr version are you running? I have made some bug fixes and would like to know if this behavior was before or after those changes. Please let me know. Thanks (also retry with the latest version from source, if you can)
from mariadb-tools.
mariadb-repmgr --version
MariaDB Tools version 0.0.1
from mariadb-tools.
Don't believe the version string, it has not been updated in a while :) Did you download it from the releases or compile it from source?
from mariadb-tools.
Héhé, ok ;-)
I downloaded the binaries from the releases section.
from mariadb-tools.
Please try this one
https://github.com/tanji/mariadb-tools/releases/download/0.2.0/mariadb-repmgr
from mariadb-tools.
Thanks, same issue.
from mariadb-tools.
It seems that you are using different domain IDs on that topology:
180533626 on srv-01
180533630 on the others
So I think that's a matter of supporting different domains in the same replication topology.
from mariadb-tools.
Hum, this is not domain ID here but server ID.
from mariadb-tools.
You're correct, I was mistaken. Thanks for the information, I think I have a possible solution and will let you know.
from mariadb-tools.
Cédric,
is there a chance that you're using -gtidcheck=true?
from mariadb-tools.
Yes
from mariadb-tools.
OK. It does not work in its current form because it's checking slave current GTID pos vs. master binlog GTID. If nothing has been written to the master, master binlog GTID is not updated and reflects an older state. I will patch so both slave and master use current GTID pos.
from mariadb-tools.
Understood. Thanks
from mariadb-tools.
Related Issues (11)
- Ability to choose the new master manually HOT 3
- Writing on a slave causes replication breakage when switching over
- servercheck: ability to connect via TCP instead of socket HOT 2
- Ability to consider the old master as dead HOT 1
- Add a real debug option for mariadb-repmgr HOT 3
- [BUG] Switch over with mariadb-repmgr could result all slaves pointing on 127.0.0.1
- Add MaxScale Read router support to repmgr HOT 1
- [BUG] Switch over with mariadb-repmgr and multi GTID domains looks broken HOT 4
- Switchover with slave lag breaks replication HOT 9
- Need a way to specify MASTER_CONNECT_RETRY on mariadb-repmgr HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mariadb-tools.