Commit Graph

1435 Commits

Author SHA1 Message Date
Shlomi Noach
4a36e246c0
Merge pull request #14 from ccoffey/cathal/safer_cut_over
Cut-over should wait for heartbeat lag to be low enough to succeed
2021-02-07 17:41:59 +02:00
Cathal Coffey
3135a25c1f HeartbeatLag must be < than --max-lag-millis and --cut-over-lock-timeout-seconds to continue 2021-02-07 14:31:40 +00:00
Cathal Coffey
503b7b0d6c Consolidate the two sleepWhileTrue loops 2021-02-07 13:52:59 +00:00
Cathal Coffey
d5c2414893 Move 'heartbeat is too high' back to Debug logs again 2021-02-05 10:12:54 +00:00
Cathal Coffey
48ce0873de Store lastHeartbeatOnChangelogTime instead of CurrentHeartbeatLag 2021-02-03 10:03:45 +00:00
Cathal Coffey
4efd156759 Move 'heartbeat is too high' to Debug logs 2021-02-02 09:17:31 +00:00
Cathal Coffey
8a26c9ebf4 Don't cut-over until it is safe to do so 2021-02-01 10:14:05 +00:00
Cathal Coffey
a4218cd6f4 Progress should print HeartbeatLag 2021-01-31 18:27:34 +00:00
Cathal Coffey
8aee288fd7 Handle onChangelogHeartbeatEvent and update CurrentHeartbeatLag 2021-01-31 18:24:26 +00:00
Cathal Coffey
7207bc146a Make it easier to handle different onChangelogEvents 2021-01-31 18:23:09 +00:00
Shlomi Noach
253658d46b
Merge pull request #13 from openark/unique-key-generated-column
Generated column as part of UNIQUE (or PRIMARY) KEY
2021-01-27 09:49:21 +02:00
Shlomi Noach
b7b3bfbd34 skip analysis of generated column data type in unique key
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
2021-01-19 13:42:45 +02:00
Shlomi Noach
7202076c77 Generated column as part of UNIQUE (or PRIMARY) KEY
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
2021-01-19 13:27:00 +02:00
Shlomi Noach
ff82140597
Merge pull request #12 from openark/copy-auto-increment
Copying AUTO_INCREMENT value to ghost table
2021-01-05 09:37:59 +02:00
Shlomi Noach
525a80d62e
Merge branch 'master' into copy-auto-increment 2021-01-05 09:08:33 +02:00
Shlomi Noach
63219ab3e3 adding test for user defined AUTO_INCREMENT statement 2020-12-31 11:48:46 +02:00
Shlomi Noach
3d4dfaafd9 minor update to test
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
2020-12-31 11:06:53 +02:00
Shlomi Noach
31069ae4f2 support GetUint64
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
2020-12-31 11:06:37 +02:00
Shlomi Noach
af20211629 parsing AUTO_INCREMENT from alter query, reading AUTO_INCREMENT from original table, applying AUTO_INCREMENT value onto ghost table if applicable and user has not specified AUTO_INCREMENT in alter statement 2020-12-31 11:01:13 +02:00
Shlomi Noach
2d0281f29b clear event beforehand 2020-12-31 10:06:12 +02:00
Shlomi Noach
eeab264eb2 adding tests for AUTO_INCREMENT value after row deletes. Should initially fail 2020-12-31 09:53:37 +02:00
Shlomi Noach
75009db849 Adding simple test for 'expect_table_structure' scenario 2020-12-31 09:50:56 +02:00
Shlomi Noach
26f76027b2 greping for 'expect_table_structure' content 2020-12-31 09:48:08 +02:00
Shlomi Noach
294d43b4f6 WIP: copying AUTO_INCREMENT value to ghost table
Initial commit: towards setting up a test suite

Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
2020-12-31 09:29:38 +02:00
Tim Vaillancourt
c681c54e8f
Merge pull request #906 from github/golang1.15
Use golang:1.15.x, remove jessie tarball build
2020-12-22 16:30:50 +01:00
Tim Vaillancourt
60294109ca
Update comment 2020-12-17 23:17:34 +01:00
Tim Vaillancourt
dd2568631a Use golang:1.15.x, remove jessie tarball build 2020-12-17 17:26:51 +01:00
Tim Vaillancourt
8ae02ef69c
Merge pull request #905 from github/azure-support
Support Azure Database for MySQL (merge PR)
2020-12-17 13:45:22 +01:00
Tim Vaillancourt
bf408b0d0e
Merge branch 'master' into master 2020-12-16 12:53:59 +01:00
Tim Vaillancourt
e99b915cf5
Merge pull request #640 from github/ipv6
Parsing ipv6 addresses
2020-10-23 12:11:21 +02:00
Tim Vaillancourt
88e59dd2a3
Merge branch 'master' into master 2020-10-22 23:22:32 +02:00
Tim Vaillancourt
8c4cd10d79
Merge branch 'master' into ipv6 2020-10-22 11:39:46 +02:00
Tim Vaillancourt
447a98a6b5
Merge pull request #888 from github/fix_dup_delete_old_table3
use sync.Once to avoid to send drop cutover sentry table to mysql twice (merge PR)
2020-10-21 18:07:56 +02:00
Tim Vaillancourt
0e2d33ad86 Merge in https://github.com/github/gh-ost/pull/755 2020-10-20 16:08:49 +02:00
Shlomi Noach
e9f9af2ef2
Merge pull request #11 from openark/updates-from-upstream-2020-10
Updates from upstream 2020 10
2020-10-18 12:32:36 +03:00
Shlomi Noach
ca0ca5ab73 Merge remote-tracking branch 'upstream/master' into updates-from-upstream-2020-10 2020-10-18 12:02:20 +03:00
Tim Vaillancourt
ce03757deb
Merge pull request #879 from github/fix-buster-tarball-build
Fix buster tarball build
2020-08-20 22:08:00 +02:00
Tim Vaillancourt
ee9174550a Fix typo 2020-08-20 20:57:33 +02:00
Tim Vaillancourt
bcaffc11a2 cp jessie package too 2020-08-20 20:49:51 +02:00
Tim Vaillancourt
69ce8e869a Fix/hack build-deploy-tarball to allow buster builds 2020-08-20 20:45:46 +02:00
Tim Vaillancourt
eef81c0f73 Update RELEASE_VERSION to 1.1.0 2020-08-20 16:00:31 +02:00
Tim Vaillancourt
c940a85a28
Merge pull request #835 from ajm188/handle_driver_timeout_error
Add a check to rows.Err after processing all rows
2020-08-20 14:10:47 +02:00
Tim Vaillancourt
8b3a8bef0a
Merge branch 'master' into handle_driver_timeout_error 2020-08-19 23:20:10 +02:00
Tim Vaillancourt
ebb1de5cdf
Merge pull request #562 from github/limitation-encrypted-binlogs
Documenting limitation: encrypted binlogs
2020-08-19 22:47:21 +02:00
Tim Vaillancourt
81a9538d6f
Merge branch 'master' into limitation-encrypted-binlogs 2020-08-19 22:46:40 +02:00
Tim Vaillancourt
f268259f5e
Merge branch 'master' into handle_driver_timeout_error 2020-08-19 22:04:55 +02:00
Tim Vaillancourt
5e953b7e3e
Merge pull request #878 from github/parse-alter-statement
Support a complete ALTER TABLE statement in --alter (merge PR)
2020-08-19 22:04:15 +02:00
Tim Vaillancourt
10724f08c5 Merge branch 'parse-alter-statement' of https://github.com/openark/gh-ost into parse-alter-statement 2020-08-19 21:39:36 +02:00
Tim Vaillancourt
720182f58b
Merge pull request #824 from github/connection-timeout
Support --mysql-timeout flag
2020-08-19 21:38:31 +02:00
Tim Vaillancourt
28bbe67c6d
Merge branch 'master' into connection-timeout 2020-08-19 21:08:22 +02:00