Commit Graph

317 Commits

Author SHA1 Message Date
Shlomi Noach
2b0f7af84b Merge pull request #70 from github/identify-rename
Supporting column rename
2016-06-17 08:04:03 +02:00
Shlomi Noach
836d0fe119 Supporting column rename
- Parsing `alter` statement to catch `change old_name new_name ...` statements
- Auto deducing renamed columns
- When suspecting renamed columns, requesting explicit `--approve-renamed-columns` or `--skip-renamed-columns`
- updated tests
2016-06-17 08:03:18 +02:00
Shlomi Noach
5a8688ee2e Merge pull request #69 from github/check-privileges
more elaborate check that user has privileges
2016-06-16 16:07:13 +02:00
Shlomi Noach
3e83202b97 more elaborate check that user has privileges 2016-06-16 16:06:26 +02:00
Shlomi Noach
166c6f3457 Merge pull request #68 from github/dependencies
Dependencies
2016-06-16 11:51:09 +02:00
Shlomi Noach
8c17701e58 more attempts 2016-06-16 11:49:16 +02:00
Shlomi Noach
2cab1eaab7 more attempts 2016-06-16 11:48:39 +02:00
Shlomi Noach
869bc4b6da more attempts 2016-06-16 11:46:44 +02:00
Shlomi Noach
e0aca0a768 more attempts 2016-06-16 11:46:06 +02:00
Shlomi Noach
02ec1d2b0c trying to get rid of godeps 2016-06-16 11:30:43 +02:00
Shlomi Noach
41569d8161 trying something else. Go deps are hell 2016-06-16 11:28:42 +02:00
Shlomi Noach
9d1c420ff1 adding go/vendor dependencies 2016-06-16 11:19:58 +02:00
Shlomi Noach
18f0ea6bc3 Merge pull request #67 from github/go-vendor-dependencies
resolving go/vendor dependencies
2016-06-16 11:16:50 +02:00
Shlomi Noach
1cfdb27a3a added siddontang dependencies 2016-06-16 11:15:56 +02:00
Shlomi Noach
60fef6b5fe Merge pull request #66 from github/execute-on-replica
--migrate-on-replica
2016-06-15 12:32:32 +02:00
Shlomi Noach
1226fa893f updated documentation re: cut-over, test-on-replica, migrate-on-replica 2016-06-15 12:31:38 +02:00
Shlomi Noach
7d0ec9c9dc added --migrate-on-replica flag; runs complete migration on replica 2016-06-15 12:18:59 +02:00
Shlomi Noach
574c372fba Merge pull request #64 from github/safe-cut-over
Safe cut over
2016-06-15 10:14:07 +02:00
Shlomi Noach
85d6883e69 printing migration status on waitForEventsUpToLock() 2016-06-15 10:13:06 +02:00
Shlomi Noach
96bc3804eb test-on-replica stops replication completely 2016-06-14 12:50:07 +02:00
Shlomi Noach
97adbf1ff8 - --cut-over no longer mandatory; default to safe
- Removed `CutOverVoluntaryLock` and associated code
- Removed `CutOverUdfWait`
- `RenameTablesRollback()` first attempts an atomic swap
2016-06-14 09:01:06 +02:00
Shlomi Noach
cb1c61ac47 - --cut-over no longer mandatory; default to safe
- Removed `CutOverVoluntaryLock` and associated code
- Removed `CutOverUdfWait`
- `RenameTablesRollback()` first attempts an atomic swap
2016-06-14 09:00:56 +02:00
Shlomi Noach
8292f5608f Safe cut-over
- Supporting multi-step, safe cut-over phase, where queries are blocked throughout the phase, and worst case scenario is table outage (no data corruption)
- Self-rollsback in case of failure (restored original table)
2016-06-14 08:35:07 +02:00
Shlomi Noach
302dbf0939 Merge pull request #63 from github/cut-over-on-test-on-replica
test-on-replica to invoke cut-over swap
2016-06-14 08:32:11 +02:00
Shlomi Noach
e4ed801df5 noting posponing status 2016-06-13 18:36:29 +02:00
Shlomi Noach
b8c7e046a1 test-on-replica to invoke cut-over swap 2016-06-10 11:15:11 +02:00
Shlomi Noach
29aead6212 Merge pull request #61 from github/more-operational-perks
suuporting dynamic reconfiguration of max-load
2016-06-09 11:25:54 +02:00
Shlomi Noach
087d1dd64d suuporting dynamic reconfiguration of max-load 2016-06-09 11:25:01 +02:00
Shlomi Noach
b608d5b391 Merge pull request #60 from github/more-docs-4fix
fixed doc path
2016-06-08 16:16:47 +02:00
Shlomi Noach
0ca6e2655a fixed path 2016-06-08 16:16:15 +02:00
Shlomi Noach
a5f0a64afd Merge pull request #59 from github/more-docs-4
More docs
2016-06-08 16:15:15 +02:00
Shlomi Noach
b042fc1ea8 moar documentation 2016-06-08 16:14:59 +02:00
Shlomi Noach
b0e00f561e moar documentation 2016-06-08 16:14:58 +02:00
Shlomi Noach
0749e025ef Merge pull request #58 from github/more-docs-3
moar, moar docs. Explaining why triggerless
2016-06-08 11:14:57 +02:00
Shlomi Noach
cd6038dfe5 fixed links 2016-06-08 11:13:56 +02:00
Shlomi Noach
fe0e791c39 moar, moar docs. Explaining why triggerless 2016-06-08 11:12:20 +02:00
Shlomi Noach
d30638f1cc updated version 2016-06-07 14:26:15 +02:00
Shlomi Noach
72e09fc3c7 Merge pull request #56 from github/tcp-nil-fix
fixed nil TCP listener when TCP undfined
2016-06-07 14:24:57 +02:00
Shlomi Noach
2cdc72bd1c fixed nil TCP listener when TCP undfined 2016-06-07 14:24:30 +02:00
Shlomi Noach
0d8d366903 Merge pull request #55 from github/doc-more
more documentation
2016-06-07 14:19:00 +02:00
Shlomi Noach
8e32604e49 more documentation 2016-06-07 14:18:55 +02:00
Shlomi Noach
3cb80619de Merge pull request #54 from github/doc-throttle
documentation additions; cut-over flag
2016-06-07 14:05:52 +02:00
Shlomi Noach
a6c21dcdb0 - --postpone-swap-tables-flag-file renamed to --postpone-cut-over-flag-file
- More `README` documentation
- Added "throttle" documentation
2016-06-07 14:05:25 +02:00
Shlomi Noach
7573c1245a Merge pull request #53 from github/listen-socket
adding interactive user commands
2016-06-07 11:59:49 +02:00
Shlomi Noach
fc00cb2289 adding interactive user commands 2016-06-07 11:59:17 +02:00
Shlomi Noach
c9d02b99fc Merge pull request #52 from github/more-documentation
more documentation updates
2016-06-06 13:01:47 +02:00
Shlomi Noach
6338a385ee some more stuff in README 2016-06-06 13:01:47 +02:00
Shlomi Noach
e75f1e30f9 more documentation updates 2016-06-06 12:47:32 +02:00
Shlomi Noach
57347ec5b0 Merge pull request #51 from github/cut-over
cut-over flag and other stuff
2016-06-06 12:33:25 +02:00
Shlomi Noach
bbd19abc9a - requiring --cut-over argument to be two-step|voluntary-lock (will add udf-wait once it is ready)
The idea is that the user is forced to specify the cut-over type they wish to use, given that each type has some drawbacks.
- More data in status hint
- `select count(*)` is deferred till after we validate migration is valid. Also, it is skipped on `--noop`
2016-06-06 12:33:05 +02:00