Commit Graph

692 Commits

Author SHA1 Message Date
Shlomi Noach
856d0d487a Merge branch 'master' into resurrect 2016-12-30 07:59:21 +02:00
Shlomi Noach
6bcf5154cd Merge pull request #351 from github/check-flag
cli: --check-flag
2016-12-30 07:58:54 +02:00
Shlomi Noach
9dd8d858a1 cli: --check-flag 2016-12-29 17:39:44 +02:00
Shlomi Noach
0b6d834a2b Merge branch 'master' into resurrect 2016-12-29 13:12:03 +02:00
Shlomi Noach
d21bd3f18c Merge pull request #349 from cypiszzz/master
Add possibility to set serverId as gh-ost option
2016-12-29 13:09:38 +02:00
Shlomi Noach
7bdfd1bff5 not applying range if nil 2016-12-29 10:26:56 +02:00
Shlomi Noach
24f5c6da62 ght/ghr suffix -> delr suffix 2016-12-29 10:23:48 +02:00
Shlomi Noach
e9e9d6d9da allowing EOF result for loadJSON 2016-12-28 23:17:01 +02:00
Shlomi Noach
e4874c84bd making sure to dump context before row-copy, so we always have some initial resurrection context 2016-12-28 23:06:18 +02:00
Shlomi Noach
90f61f812d resurrected execution does not apply migration range from terminated context 2016-12-28 14:23:50 +02:00
Shlomi Noach
738270aabe more verbose on resurrection 2016-12-28 13:35:56 +02:00
Cyprian Nosek
2bfc672b03 Add possibility to set serverId as gh-ost argument
Signed-off-by: Cyprian Nosek <cyprian.nosek@pearson.com>
2016-12-28 11:49:41 +01:00
Shlomi Noach
8952e24aba rewinding resurrecting at beginning of known logfile; more verbose 2016-12-28 07:42:14 +02:00
Shlomi Noach
874cf24512 typo 2016-12-25 11:46:53 +02:00
Shlomi Noach
af74e8c6cd Resurrection documentation 2016-12-25 11:46:14 +02:00
Shlomi Noach
0e8e5de7aa added on-resurrecting hook 2016-12-25 08:53:24 +02:00
Shlomi Noach
7dfb740519 format 2016-12-24 17:44:39 +02:00
Shlomi Noach
fa399e0608 added context test, JSON export/import 2016-12-24 17:10:37 +02:00
Shlomi Noach
45b63f6500 applying IsResurrected flag 2016-12-24 10:07:59 +02:00
Shlomi Noach
6128076485 some cleanup 2016-12-24 10:01:03 +02:00
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