Shlomi Noach
e50361ab61
at resurrection, pointing streamer back at last known applied coordinates
2016-12-24 09:53:55 +02:00
Shlomi Noach
1080b11d81
binlog event listeners accept coordinates.
...
StreamerBinlogCoordinates -> AppliedBinlogCoordinates
updating AppliedBinlogCoordinates when truly applied; no longer asking streamer for coordinates (because streamer's events can be queued, but not handled, a crash implies we need to look at the last _handled_ event, not the last _streamed_ event)
2016-12-23 15:24:31 +02:00
Shlomi Noach
89ca346919
instead of loading the entire context, only updating particular fields from the resurrected context
2016-12-21 21:10:04 +02:00
Shlomi Noach
5f25f741ad
something that works! True resurrection applied
2016-12-21 17:55:40 +02:00
Shlomi Noach
bad30a8871
sanity checks on --resurrection; skipping some normal-mode operations
2016-12-21 09:42:40 +02:00
Shlomi Noach
47d8306c0f
comment typo
2016-12-21 09:23:57 +02:00
Shlomi Noach
171cad2a98
sanity checks for resurrection
2016-12-21 09:23:00 +02:00
Shlomi Noach
c72851e1f6
initial support for --resurrect flag
2016-12-20 22:33:44 +02:00
Shlomi Noach
4c6f42f2f1
passwords not exported in MigrationContext
2016-12-20 22:14:17 +02:00
Shlomi Noach
6f81d62a31
storing and updating streamer binlog coordinates
2016-12-20 16:47:06 +02:00
Shlomi Noach
3223a9389e
context dump serialized with table writes; avoiding sync problems
2016-12-20 16:38:58 +02:00
Shlomi Noach
5e0f38cc6f
Merge branch 'resurrect' of github.com:github/gh-ost into resurrect
2016-12-20 16:27:14 +02:00
Shlomi Noach
6999b4e8bf
exporting to changelog table, not to file
2016-12-20 16:27:05 +02:00
Shlomi Noach
776c8d3b8b
Merge branch 'master' into resurrect
2016-12-20 16:26:29 +02:00
Shlomi Noach
75b6f9edf2
encoding range values as base64
2016-12-20 15:48:42 +02:00
Shlomi Noach
d13049b41e
Merge pull request #339 from github/explicit-master-user-password
...
support for --master-user and --master-password
2016-12-20 07:04:16 +02:00
Shlomi Noach
66894d3a52
resurrection: dump/restore of migration context cross executions
2016-12-18 09:23:51 +02:00
Shlomi Noach
eac990bc95
Merge branch 'master' into explicit-master-user-password
2016-12-15 07:58:12 +01:00
Shlomi Noach
863f50808c
Merge pull request #337 from github/start-slave-wait
...
sleeping 500ms after 'START SLAVE'
2016-12-15 07:57:58 +01:00
Shlomi Noach
ba974658ca
Merge branch 'master' into explicit-master-user-password
2016-12-15 07:57:19 +01:00
Shlomi Noach
a147b32391
Merge branch 'master' into start-slave-wait
2016-12-15 07:57:16 +01:00
Shlomi Noach
038083ea33
Merge pull request #340 from github/release-1-0-32
...
updated release version following some changes I wish to release
2016-12-14 10:39:37 +01:00
Shlomi Noach
5af336e29b
updated release version following some changes I wish to release
2016-12-14 10:38:58 +01:00
Shlomi Noach
ba2a9d9e55
support for --master-user and --master-password
2016-12-13 16:09:34 +01:00
Shlomi Noach
d12c0265b0
sleeping 500ms after 'START SLAVE'
2016-12-13 12:27:20 +01:00
Shlomi Noach
35ace62d84
Merge pull request #334 from github/ask-pass
...
supporting --ask-pass option
2016-12-13 11:56:22 +01:00
Shlomi Noach
aa0932eb61
Merge branch 'master' into ask-pass
2016-12-13 11:35:52 +01:00
Shlomi Noach
322d897aeb
Merge pull request #333 from github/no-unique-key
...
fix: bailing out on no PRIMARY/UNIQUE KEY
2016-12-13 11:35:34 +01:00
Shlomi Noach
7259dd6ac5
supporting --ask-pass option
2016-12-11 02:55:21 +01:00
Shlomi Noach
3fd85ee8b1
test logging cleanup
2016-12-11 02:22:56 +01:00
Shlomi Noach
1d84cb933c
fix: bailing out on no PRIMARY/UNIQUE KEY
2016-12-11 02:19:19 +01:00
Shlomi Noach
28557a60b0
Merge pull request #327 from github/release-1-0-30
...
updated version
2016-12-06 13:12:23 +01:00
Shlomi Noach
c9edcd6f20
updated version
2016-12-06 13:11:56 +01:00
Shlomi Noach
d2f81dfe92
Merge pull request #324 from rj03hou/replication-reset-slave
...
check the slave status when find recursive find the master, so suppor…
2016-12-05 13:52:47 +01:00
Shlomi Noach
35eeb56032
improved log/error messages
2016-12-05 13:41:49 +01:00
Shlomi Noach
e157f692d5
added 'trivial' test
2016-12-05 13:41:31 +01:00
rj03hou
8f02ab0fed
check the slave status when find recursive find the master, so support if the dba using reset slave instead of reset slave all.
2016-12-05 19:42:16 +08:00
Shlomi Noach
56bee78108
Merge pull request #325 from github/myisam-gtid
...
Myisam gtid
2016-12-05 12:19:55 +01:00
Shlomi Noach
5904084e14
Merge branch 'master' into myisam-gtid
2016-12-02 15:00:44 +01:00
Shlomi Noach
196765c032
Merge pull request #319 from github/rename-comment-fix
...
added tests to verify no false positives rename-column found
2016-12-02 09:09:37 +01:00
Shlomi Noach
b736741b61
Merge pull request #321 from rj03hou/myisam-gtid
...
If the original table is MyISAM and the default engine is Innodb, and…
2016-12-02 09:06:16 +01:00
rj03hou
ffbd35e180
fix TableEngine correlates to the 3rd placeholder in the template string, not the 1st
2016-12-02 11:56:29 +08:00
Shlomi Noach
9b068ec222
Merge branch 'master' into myisam-gtid
2016-12-01 09:43:38 +01:00
rj03hou
a11bec1785
If the original table is MyISAM and the default engine is Innodb, and the gtid mode is on, there will be error when execute 'LOCK TABLES tbl WRITE, tbl_magic WRITE'. If make the magic cut-over table's engine same with the original table, there will not have this problem.
2016-12-01 16:04:04 +08:00
Shlomi Noach
0a707688e0
added decimal test
2016-11-29 15:47:39 +01:00
Shlomi Noach
e7cf488818
fixed parsing of quotes and of detecting rename statements
2016-11-29 15:44:38 +01:00
Shlomi Noach
5119ea4d31
added tests to verify no false positives rename-column found
2016-11-29 11:08:35 +01:00
Shlomi Noach
cb040b8bbf
Merge pull request #316 from github/skip-foreign-key-checks
...
support for --skip-foreign-key-checks
2016-11-23 10:00:16 +01:00
Shlomi Noach
7126b28169
support for --skip-foreign-key-checks
2016-11-21 09:18:40 +01:00
Shlomi Noach
915be21055
Merge pull request #315 from github/wait-for-events-up-to-lock-fix
...
Fixing hanging cut-over waiting on `AllEventsUpToLockProcessed`
2016-11-21 08:42:42 +01:00