Comments (11)
I was able to reproduce this. It looks like we have assumed that MySQL will treat empty gtid_executed as "start replicating from the first binlog file you have", but MySQL doesn't do that. I'll look if it's possible to fix this, but for now please take some value of gtid_executed from the master (either just as the current value of the variable or the GTID list from the first binlog file) and pass it to -ripple_requested_start_gtid_position flag. Then Ripple will be able to successfully start replicating from that position onward.
from mysql-ripple.
I have a master SQL instance in google cloud, while I try to set up a bin log server using MySQL-ripple I'm facing the issue, also I need to set up a slave from bin log server is this possible?
from mysql-ripple.
You definitely can set up slave from Ripple. Just execute CHANGE MASTER TO on the replica and use Ripple's IP and port as MASTER_HOST and MASTER_PORT in the statement, also use MASTER_AUTO_POSITION = 1. With that the replica should be able to successfully start replicating from Ripple.
Regarding the issue that Ripple has trying to replicate from the master: it's not clear for me why this could happen. Can you post excerpt from the master's error log? I think it should have more info on what's happening.
from mysql-ripple.
but im facing the above issue while running the following command in MySQL-ripple folder /Bazel-bin/rippled -ripple_datadir=./data -ripple_master_address... also I'm using the master instance in google cloud
from mysql-ripple.
Right. And the problem is that for some reason the master thinks that Ripple asks to start replicating with a certain GTID that is not in the master's binlogs. I think mysql.err log on the master will have more details about what it doesn't like. Can you post those logs here? Here's documentation on how to find and export the logs: https://cloud.google.com/sql/docs/mysql/instance-info#mysqllogs.
from mysql-ripple.
Sure, I will post the logs here.
from mysql-ripple.
{
insertId: "s=35b0979499e449f597024875fb0def4a;i=2651a2;b=3df4b4a8e7c441b7af3023f4be28012c;m=23e2252d274;t=59488d134f425;x=2e839cd52ec7c6ad-0@a1"
logName: "projects/project-178317/logs/cloudsql.googleapis.com%2Fmysql.err"
receiveTimestamp: "2019-10-10T06:50:31.380054318Z"
resource: {…}
severity: "ERROR"
textPayload: "2019-10-10T06:50:29.924655Z 1105466 [Note] my server_id: 604687941, my uuid: b5105251-e63e-11e8-9d29-42010a800494 slave with server_id: 112211 uuid: connects with GTID_executed: "
timestamp: "2019-10-10T06:50:29.924901Z"
}
from mysql-ripple.
The log looks like this
2019-10-10T06:52:28.167847Z 1105623 [Note] my server_id: 604687941, my uuid: b5105251-e63e-11e8-9d29-42010a800494 slave with server_id: 112211 uuid: connects with GTID_executed:
from mysql-ripple.
Is that the only log message related to Ripple's attempt to connect? It doesn't bring any clarity unfortunately. :(
I guess I'll try to reproduce this myself to understand what's happening...
from mysql-ripple.
Yes, the below log is frequently producing.
2019-10-10T06:52:28.167847Z 1105623 [Note] my server_id: 604687941, my uuid: b5105251-e63e-11e8-9d29-42010a800494 slave with server_id: 112211 uuid: connects with GTID_executed:
from mysql-ripple.
I will try it
from mysql-ripple.
Related Issues (20)
- Generating new binlog.index from logs HOT 6
- mysql_server_connection.cc:112:48: error: too many arguments to function 'my_bool my_net_init(NET*, Vio*, unsigned int)' HOT 1
- trouble to start from GTID positions HOT 12
- On slave how to config change master HOT 1
- Error during the build (bazel build :all) HOT 3
- centos 7 fatal error: my_config_x86_64.h: No such file or directory HOT 2
- missing input file HOT 2
- Unable to set up mysql semi sync with ripple HOT 9
- Integrating with OSS-Fuzz
- Not able to open the binary log files using mysqlbinlog utility. HOT 2
- slave parallel thread failure while syncing from binlog server HOT 1
- How do I monitor ripple status and parse it data files? HOT 2
- can't create log file using log_dir=xxx
- Has anyone built this without MariaDB? HOT 2
- centos 7 build:fatal error: my_global.h: No such file or directory HOT 2
- Ripple with Percona Mysql HOT 4
- Cannot read event from Percona Server 5.7.29-32-log HOT 4
- [Build]centos build error HOT 2
- ripple Management grpc seems not yet finished?
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 mysql-ripple.