gh-ost v1.1.7 includes performance improvements, new features, and several bug fixes :ghost:
Full Changelog: https://github.com/github/gh-ost/compare/v1.1.6...v1.1.7
What's Changed
Add cpu-profile interactive command by @timvaillancourt in https://github.com/github/gh-ost/pull/1358
Use the cpu-profile command to get a base64-encoded runtime/pprof report
Add --mysql-wait-timeout flag by @timvaillancourt in https://github.com/github/gh-ost/pull/1401 and https://github.com/github/gh-ost/pull/1406
--mysql-wait-timeout sets the wait_timeout at cutover time
Support to config charset and collation by @shaohk in https://github.com/github/gh-ost/pull/1368
--charset sets the character set on gh-ost's MySQL connections
Use query builders for DML queries, reducing time and allocations by @danieljoos in https://github.com/github/gh-ost/pull/1459
improves throughput 5-10%
Avoid causing deadlocks when copying rows on busy tables by @arthurschreiber in https://github.com/github/gh-ost/pull/1455
adds FOR SHARE NO WAIT on the copy row queries for MySQL 8 to avoid deadlocks
Use multiStatement to apply DML by @meiji163 in https://github.com/github/gh-ost/pull/1462
batches DML queries into multi-statements to reduce network overhead
Use testcontainers to for unit tests. by @arthurschreiber in https://github.com/github/gh-ost/pull/1458 and https://github.com/github/gh-ost/pull/1460
Use last second copy rate to project ETA by @morgo in https://github.com/github/gh-ost/pull/1231
Docker setup for localtests by @meiji163 in https://github.com/github/gh-ost/pull/1479
Ensure replication running after replication restart by @andyedison in https://github.com/github/gh-ost/pull/1422
Force index in unique key range queries by @timvaillancourt in https://github.com/github/gh-ost/pull/1237
Fix: ensure -attempt-instant-ddl respects -execute flag by @timvaillancourt in https://github.com/github/gh-ost/pull/1440
Fix: use cut-over-lock-timeout for instant DDL by @artemvovk in https://github.com/github/gh-ost/pull/1468
Fix: onSuccess hook to run after INSTANT by @artemvovk in https://github.com/github/gh-ost/pull/1463
Fix: successive failures error in streamer by @timvaillancourt in https://github.com/github/gh-ost/pull/1371
Fix: binlog end log pos over lost data by @shaohk in https://github.com/github/gh-ost/pull/1367
Fix: generated column in unique key error by @meiji163 in https://github.com/github/gh-ost/pull/1461
Fix: tokens in inspector logging by @timvaillancourt in https://github.com/github/gh-ost/pull/1226
Fix: Print status after escaping % character by @icyflame in https://github.com/github/gh-ost/pull/1374
New Contributors
@testwill made their first contribution in https://github.com/github/gh-ost/pull/1331
@icyflame made their first contribution in https://github.com/github/gh-ost/pull/1374
@sentinel made their first contribution in https://github.com/github/gh-ost/pull/1213
@dependabot made their first contribution in https://github.com/github/gh-ost/pull/1391
@dontstopbelieveing made their first contribution in https://github.com/github/gh-ost/pull/1388
@mountcount made their first contribution in https://github.com/github/gh-ost/pull/1405
@overallteach made their first contribution in https://github.com/github/gh-ost/pull/1417
@danieljoos made their first contribution in https://github.com/github/gh-ost/pull/1459
@artemvovk made their first contribution in https://github.com/github/gh-ost/pull/1463
@whhe made their first contribution in https://github.com/github/gh-ost/pull/1472
@andyedison made their first contribution in https://github.com/github/gh-ost/pull/1422