gh-ost/go
Shlomi Noach 421ab0fc83 woohoo, logic complete
- Introduced `SwapTablesTimeoutSeconds`; `RENAME` is limited by this timeout
- If `RENAME` fails (due to the above), we throttle and retry
- `SwapTablesAtomic()` sets `lock_wait_timeout` and notifies with connection id
- `GrabVoluntaryLock()` intentionally grabs (and later releases) voluntary lock. It notifies when it is taken and awaits instructions as for when it could be released.
- `IssueBlockingQueryOnVoluntaryLock()` does what it says. It notifies with its connection_id so that it can be easily traced
- `stopWritesAndCompleteMigrationOnMasterViaLock()` does the thang. Oh dear this was agonizing and the code is a pain to look at, though under the limitations I do believe it is as clean as I could hope for.
2016-04-22 19:46:34 -07:00
..
base woohoo, logic complete 2016-04-22 19:46:34 -07:00
binlog - row copy and row events are now handled by a single routine which prioritizes events over rowcopy 2016-04-08 10:34:44 +02:00
cmd/gh-osc - quick-and-bumpy-swap-tables uses quicker swap tables, at the expense of a period where the table does not exist (non atomic renames) 2016-04-22 13:18:56 -07:00
logic woohoo, logic complete 2016-04-22 19:46:34 -07:00
mysql - More work on go-mysql reader: now properly notes binlog coordinates as it makes progress 2016-04-06 18:44:54 +02:00
os minor refactoring; fixed license comments 2016-03-24 15:11:56 +01:00
sql - Added ok-to-drop-table flag 2016-04-18 10:57:18 -07:00