Commit Graph

1506 Commits

Author SHA1 Message Date
Shlomi Noach
583d6d3147 accepting SIGHUP. Reloads configuration and marks as point of interest 2016-05-25 12:27:58 +02:00
Shlomi Noach
e7239091d7 Merge pull request #45 from github/print-status-point-of-interest
support for marking point-of-interest in migration
2016-05-24 08:48:44 +02:00
Shlomi Noach
6d9a8baa68 Merge pull request #44 from github/reconnect-streamer
Handling gh-ost replication timeouts
2016-05-24 08:48:25 +02:00
Shlomi Noach
20f000833f support for marking point-of-interest in migration 2016-05-23 14:58:53 +02:00
Shlomi Noach
059a59939e adding documentation 2016-05-23 12:33:28 +02:00
Shlomi Noach
026cd122ba adding documentation 2016-05-23 12:32:43 +02:00
Shlomi Noach
493b8512ac adding documentation 2016-05-23 12:13:54 +02:00
Shlomi Noach
aae0f5cee4 adding documentation 2016-05-23 11:59:42 +02:00
Shlomi Noach
0050665393 adding documentation 2016-05-23 11:35:04 +02:00
Shlomi Noach
896f560dce after timeout: reconnecting as new replica; skipping queries correctly 2016-05-23 11:12:59 +02:00
Shlomi Noach
5a5f43d15b adding documentation 2016-05-20 17:08:31 +02:00
Shlomi Noach
8430dbe878 adding documentation 2016-05-20 17:00:16 +02:00
Shlomi Noach
8102c90ee2 adding documentation 2016-05-20 16:35:52 +02:00
Shlomi Noach
a9d4c11aa1 adding documentation 2016-05-20 16:34:52 +02:00
Shlomi Noach
7463079e0d adding documentation 2016-05-20 16:26:47 +02:00
Shlomi Noach
1d287a8417 adding documentation 2016-05-20 16:22:28 +02:00
Shlomi Noach
5180206bc6 adding documentation 2016-05-20 16:10:02 +02:00
Shlomi Noach
02ddf76da0 adding documentation 2016-05-20 16:07:45 +02:00
Shlomi Noach
d5f583d6c9 more doc template 2016-05-20 13:17:45 +02:00
Shlomi Noach
79f31631eb initial CONTRIBUTING.md 2016-05-20 13:10:50 +02:00
Shlomi Noach
a863ea6b29 adding templates 2016-05-20 13:08:46 +02:00
Shlomi Noach
1a4bf6ec9f initial doc layout 2016-05-20 13:06:41 +02:00
Shlomi Noach
ae899bd65c Merge pull request #41 from github/master-pos-wait-fix2
Various problem fixes
2016-05-20 12:53:34 +02:00
Shlomi Noach
5375aa4f69 - Removed use of master_pos_wait(). It was unneccessary in the first place and introduced new problems.
- Supporting `--allow-nullable-unique-key`
  - Tool will bail out if chosen key has nullable columns and the above is not provided
- Fixed `OriginalBinlogRowImage` comaprison (lower/upper case issue)
- Introduced reasonable streamer reconnect sleep time
2016-05-20 12:52:14 +02:00
Shlomi Noach
9b54d0208f - Handling gomysql.replication connection timeouts: reconnecting on last known position
- `printStatus()` takes ETA into account
- More info around `master_pos_wait()`
2016-05-19 15:11:36 +02:00
Shlomi Noach
ec34a5ef75 master_pos_wait is now OK to return NULL. We only care if it returns with -1 2016-05-18 15:08:47 +02:00
Shlomi Noach
079f1c0f98 Merge pull request #40 from github/fix-single-row-copy
Fixing single-row table migration
2016-05-18 14:53:52 +02:00
Shlomi Noach
9f56a84b57 Fixing single-row table migration
- `BuildUniqueKeyRangeEndPreparedQuery` supports `includeRangeStartValues` argument
- `applier` sends `this.migrationContext.GetIteration() == 0` as argument
2016-05-18 14:53:09 +02:00
Shlomi Noach
45371d9374 Merge pull request #36 from github/master-pos-wait-fix
some messagages are now Info instead of Debug
2016-05-18 12:21:22 +02:00
Shlomi Noach
55e463350b Merge pull request #38 from github/credentials-config-cli
This closes #25
2016-05-17 15:37:04 +02:00
Shlomi Noach
df0a7513f5 - user/password provided in CLI override those in config file
- user no longer defaults to .
- config is now part of Context, and is protected by mutex
2016-05-17 15:35:44 +02:00
Shlomi Noach
fbfe0c71ff Merge pull request #37 from github/postpone-swap-tables-flag-file
postpone-swap-tables-flag-file
2016-05-17 14:42:12 +02:00
Shlomi Noach
879b2b425e - Support for --postpone-swap-tables-flag-file: while this file exists, final table swap does not take place, and the ghost table keeps being synchronized
- Fixed version printing
- `rowCopyCompleteFlag` is a hint that allows us to escape the infinite loop of rowcopy once we are sure we have reached the end
2016-05-17 14:40:37 +02:00
Shlomi Noach
065d9c40ec some messagages are now Info instead of Debug 2016-05-17 11:57:43 +02:00
Shlomi Noach
9a3c607665 Merge pull request #35 from github/app-version
supporting --version
2016-05-17 11:51:55 +02:00
Shlomi Noach
41b0a4f317 supporting --version 2016-05-17 11:51:21 +02:00
Shlomi Noach
c6a371e6db Merge pull request #34 from github/rename-gh-ost
Rename to gh-ost
2016-05-16 11:11:55 +02:00
Shlomi Noach
21f6ae9dca renaming to gh-ost 2016-05-16 11:10:12 +02:00
Shlomi Noach
9d055dbda7 renaming to gh-ost 2016-05-16 11:09:17 +02:00
Shlomi Noach
92d09dbcf6 Merge pull request #31 from github/fix-out-of-order-dml-apply
initial, simple solution to our-of-order applying of DML events
2016-05-16 11:03:50 +02:00
Shlomi Noach
1e10f1f29e Solved various race conditions:
- Operation would terminate after events lock noticed but before applying all events: race condition where the event would be captured asynchronously. The event is now handled sequentially with the DML events, hence now safe.
- Multiple rowcopy operations would still write to `rowCopyComplete` channel. This is still the case, but now we only wait for the first and then just flush (read and discard) any others, to avoid blocking
- Events DML listener is only added after table creation: the problem was that with very busy tables, the events func buffer would fill up, and the "tables-created" event would be blocked.
- `waitForEventsUpToLock()` unifies the waiting on all variants of complete-migration
- With `--test-on-replica`, now stopping replication "nicely", using `master_pos_wait()`
- With `--test-on-replica`, not throttling on replication after replication is stopped (duh)
- More debug output
2016-05-16 11:03:15 +02:00
Shlomi Noach
134bf385fd initial, simple solution to our-of-order applying of DML events 2016-05-05 17:14:55 +03:00
Shlomi Noach
619be65524 Merge pull request #29 from github/status-eta
Adding ETA starting at 2% progress
2016-05-05 09:19:11 +03:00
Shlomi Noach
6528010742 Adding ETA starting at 2% progress 2016-05-05 09:18:19 +03:00
Shlomi Noach
ee673e2f2e Merge pull request #28 from github/fix-statistics-query
fixed statistics query
2016-05-04 09:50:31 +03:00
Shlomi Noach
800c1109b0 fixed statistics query: getting the correct column names by unique key 2016-05-04 09:50:00 +03:00
Shlomi Noach
dfdac964f1 Merge pull request #27 from github/exact-rowcount
exact-rowcount implices updating number of rows as we make progress
2016-05-04 08:26:17 +03:00
Shlomi Noach
74d8b06db1 exact-rowcount implices updating number of rows as we make progress 2016-05-04 08:23:34 +03:00
Shlomi Noach
567cd32ef0 Merge pull request #24 from github/initially-dropping-tables
old/ghost drop tables
2016-05-03 12:58:35 +03:00
Shlomi Noach
bd741371d0 Merge pull request #23 from github/cnf-file
initial support for config file
2016-05-03 12:55:59 +03:00