Shlomi Noach
82bdf066e9
fix compilation error
...
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
2021-05-02 20:59:50 +03:00
Shlomi Noach
6e5b665c55
apply EnumValues to mapped column
...
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
2021-05-02 20:56:02 +03:00
Shlomi Noach
e80ddb42c9
store enum values, use when populating
...
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
2021-05-02 20:44:39 +03:00
Shlomi Noach
95ee9e2144
fix insert query
...
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
2021-05-02 19:37:25 +03:00
Shlomi Noach
939b898ea9
first attempt at setting enum-to-string right
...
Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
2021-05-02 19:28:19 +03: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
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
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
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
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
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
Tim Vaillancourt
bf408b0d0e
Merge branch 'master' into master
2020-12-16 12:53:59 +01: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
0e2d33ad86
Merge in https://github.com/github/gh-ost/pull/755
2020-10-20 16:08:49 +02:00
Tim Vaillancourt
f268259f5e
Merge branch 'master' into handle_driver_timeout_error
2020-08-19 22:04:55 +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
28bbe67c6d
Merge branch 'master' into connection-timeout
2020-08-19 21:08:22 +02:00
Tim Vaillancourt
f334dbde5e
Merge pull request #810 from yaserazfar/check_unchecked_errors
...
Adds error checking for an err variable that was left unchecked
2020-08-14 17:03:10 +02:00
Tim Vaillancourt
4bbc8deb77
Fix tabs from merge conflict
2020-08-13 15:50:38 +02:00
Tim Vaillancourt
5b6da5b7f3
Merge branch 'master' into handle_driver_timeout_error
2020-08-13 15:49:34 +02:00
Shlomi Noach
ae4dd1867a
extra unit test checks
2020-07-29 15:06:13 +03:00
Shlomi Noach
731df3cd15
comments
2020-07-23 14:04:14 +03:00
Shlomi Noach
c9249f2b71
Updating and using AlterTableOptions
2020-07-23 11:38:05 +03:00
Shlomi Noach
f482356a94
Merge branch 'master' into parse-alter-statement
2020-07-22 12:36:59 +03:00
Shlomi Noach
6c7b4736e1
Support a complete ALTER TABLE statement in --alter
2020-07-22 12:33:02 +03:00
Justin Fudally
b02900ae06
Merge branch 'master' into logging-interface-contrib
2020-07-21 16:01:29 -05:00
Shuode Li
57955b968b
Merge branch 'master' into master
2020-05-06 00:15:57 -07:00
Andrew Mason
90ad7a061f
Handle the rest of rows.Err
cases
2020-04-21 12:50:23 -04:00
Andrew Mason
61de098072
Add a check to rows.Err after processing all rows
...
Closes #822 .
In https://github.com/go-sql-driver/mysql/issues/1075 , @acharis notes
that the way the go-sql driver is written, query timeout errors don't
get set in `rows.Err()` until _after_ a call to `rows.Next()` is made.
Because this kind of error means there will be no rows in the result
set, the `for rows.Next()` will never enter the for loop, so we must
check the value of `rows.Err()` after the loop, and surface the error up
appropriately.
2020-03-31 16:25:16 -04:00
Justin Fudally
2178b5947b
remove spammy error
2020-03-30 10:05:23 -05:00
Justin Fudally
5816ede7b3
add error message
2020-03-30 09:55:49 -05:00
Justin Fudally
7893f8e1c3
catch error in collectFunc
2020-03-30 09:53:10 -05:00