Commit Graph

1450 Commits

Author SHA1 Message Date
Shlomi Noach
9bb2daaf15 test: not null
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
2021-05-02 18:35:52 +03:00
Shlomi Noach
c1bfe94b0f Convering enum to varchar
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
2021-05-02 18:12:35 +03:00
Shlomi Noach
33516f4955
Merge pull request #17 from openark/hooks-eta-seconds
hooks: reporting GH_OST_ETA_SECONDS. ETA as part of migration context
2021-03-07 14:55:31 +02:00
Shlomi Noach
b688c58a45 ETAUnknown constant
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
2021-03-07 14:16:04 +02:00
Shlomi Noach
76b9c16a68 N/A denoted by negative value
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
2021-03-07 11:27:50 +02:00
Shlomi Noach
51719a2b76 GH_OST_ETA_NANOSECONDS
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
2021-03-07 11:11:50 +02:00
Shlomi Noach
54000ab516 hooks: reporting GH_OST_ETA_SECONDS. ETA stored as part of migration context
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
2021-03-07 10:47:40 +02:00
Shlomi Noach
2b5cf78b4d
Merge pull request #15 from openark/limit-mysql-connetions
All MySQL DBs limited to max 3 concurrent/idle connections
2021-02-22 12:31:18 +02:00
Shlomi Noach
dea8d54be0
Merge branch 'master' into limit-mysql-connetions 2021-02-22 12:31:07 +02:00
Shlomi Noach
710c9ddda5 All MySQL DBs limited to max 3 concurrent/idle connections
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
2021-02-18 10:44:47 +02:00
Tim Vaillancourt
62ce678eee
Merge pull request #515 from akshaychhajed/improve-conn-log
Improved connection type logging
2021-02-08 14:24:58 +01:00
Tim Vaillancourt
048d5838db
Fix whitespace after merge-conflict fix 2021-02-08 13:37:39 +01:00
Tim Vaillancourt
72ccd0b0d0
Fix whitespace after merge-conflict fix 2021-02-08 13:36:59 +01:00
Tim Vaillancourt
edbc8d6733
Merge branch 'master' into improve-conn-log 2021-02-08 13:35:30 +01:00
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