Commit Graph

947 Commits

Author SHA1 Message Date
Josh Soref
c76c169dce spelling: reference 2017-11-08 00:54:47 +00:00
Josh Soref
961e2409f6 spelling: proceeding 2017-11-08 00:50:56 +00:00
Josh Soref
6a8d97c13f spelling: progress 2017-11-08 00:50:48 +00:00
Josh Soref
4d64b762d9 spelling: enough 2017-11-08 00:50:08 +00:00
Josh Soref
867e6a28b3 spelling: merely 2017-11-08 00:49:51 +00:00
Josh Soref
e2df0b80eb spelling: iterating 2017-11-08 00:49:23 +00:00
Josh Soref
2b430e3cb6 spelling: ignoring 2017-11-08 00:49:06 +00:00
Josh Soref
ed35b75cc9 spelling: identified 2017-11-08 00:48:53 +00:00
Josh Soref
e608c16567 spelling: explicitly 2017-11-08 00:47:54 +00:00
Josh Soref
291c6d3594 spelling: entirely 2017-11-08 00:47:36 +00:00
Josh Soref
9bb6959d22 spelling: empty 2017-11-08 00:47:24 +00:00
Josh Soref
418462a6ca spelling: dropping 2017-11-08 00:47:15 +00:00
Josh Soref
1ae6489afc spelling: detached 2017-11-08 00:46:26 +00:00
Josh Soref
8901e6eec2 spelling: decision 2017-11-08 00:46:04 +00:00
Josh Soref
84be0562a0 spelling: coordinate 2017-11-08 00:45:47 +00:00
Josh Soref
e99333e576 spelling: conversion 2017-11-08 00:45:31 +00:00
Josh Soref
d29993ffda spelling: changelog 2017-11-08 00:45:19 +00:00
Josh Soref
0c66bb4020 spelling: atomicity 2017-11-08 00:45:05 +00:00
Josh Soref
f4dd4a83a4 spelling: argument 2017-11-08 00:44:55 +00:00
Josh Soref
4dda9cf930 spelling: aggressive 2017-11-08 00:44:30 +00:00
Shlomi Noach
82b7f2a564
Merge pull request #517 from akshaychhajed/help-output-stdout
Thank you!
2017-11-01 09:34:30 +02:00
Akshay Chhajed
05fc358ed4 send -help output to stdout 2017-11-01 00:24:09 +05:30
Shlomi Noach
ca2340ae0a
Merge pull request #514 from druud62/druud62/doc
Thank you!
2017-10-29 06:41:56 +02:00
Ruud H.G. van Tol
ee0c56b7a5 doc/command-line-flags.md - normalize 2017-10-28 00:12:13 +02:00
Ruud H.G. van Tol
7cf8b42ae8 doc/command-line-flags.md - normalize links 2017-10-28 00:07:11 +02:00
Ruud H.G. van Tol
be53dbab0c doc/command-line-flags.md - oops 2017-10-27 23:39:23 +02:00
Ruud H.G. van Tol
e73206412f doc/command-line-flags.md - add --critical-load; normalize links 2017-10-27 23:34:48 +02:00
Ruud H.G. van Tol
bacb87cc74 doc/command-line-flags.md - normalize links 2017-10-27 23:13:31 +02:00
Ruud H.G. van Tol
10d1952dc6 doc/command-line-flags.md - add --heartbeat-interval-millis; normalize links 2017-10-27 23:02:23 +02:00
Ruud H.G. van Tol
772826e591 Revert "script/showdups - show all duplicate files in current repo"
This reverts commit e75811fc5a.
2017-10-27 10:48:51 +02:00
Ruud H.G. van Tol
88009e42a1 Revert "Tweaks"
This reverts commit e01ea1c0de.
2017-10-27 10:48:44 +02:00
Ruud H.G. van Tol
e01ea1c0de Tweaks
Really, just tweaks.
2017-10-27 02:28:10 +02:00
Ruud H.G. van Tol
e75811fc5a script/showdups - show all duplicate files in current repo 2017-10-27 02:18:37 +02:00
Ruud H.G. van Tol
038bd0124d Document replica-server-id command line option 2017-10-26 20:32:42 +02:00
Shlomi Noach
1a4bdbdcc2 Merge pull request #508 from github/better-localtest-diff-output
better diff output in localtests
2017-10-24 15:27:25 +03:00
Shlomi Noach
5b51a2863a better diff output in localtests 2017-10-24 15:25:08 +03:00
Shlomi Noach
f1a76e6866 Merge pull request #415 from github/touch-postpone-flag-file
-postpone-cut-over-flag-file implies touching indicated file
2017-10-18 08:07:39 +03:00
Shlomi Noach
4e6e454abd documenting --postpone-cut-over-flag-file 2017-10-18 08:05:55 +03:00
Shlomi Noach
087a6cc0cb Merge branch 'master' into touch-postpone-flag-file 2017-10-17 16:02:11 +03:00
Shlomi Noach
bdd2897510 Merge pull request #500 from github/enable-extra-port
Enable extra port
2017-10-17 10:02:19 +03:00
Shlomi Noach
aff7413624 clearer error message when not able to create postpone-cut-over-flag-file 2017-10-02 16:00:58 +03:00
Shlomi Noach
c2186db527 Merge branch 'master' into touch-postpone-flag-file 2017-10-02 15:55:21 +03:00
Shlomi Noach
5db266e4fa tests expecting ROW binlog format, gracefully waiting for replication to catch up 2017-10-02 15:52:31 +03:00
Shlomi Noach
9890e66755 Merge pull request #491 from zmoazeni/enable-extra-port
Allow gh-ost to modify the server using extra port
2017-10-02 14:26:59 +03:00
Shlomi Noach
dfc9f41342 Merge pull request #498 from dcadevil/master
Thank you!
2017-09-29 09:25:36 +01:00
dcadevil
351bfe1a24 Correct spelling for initiateStreaming() comment. 2017-09-21 11:36:27 +08:00
Zach Moazeni
df27c5b76f Allow gh-ost to modify the server using extra port
Both Percona and Maria allow MySQL to be configured to listen on an extra port when their thread pool is enable.

* https://www.percona.com/doc/percona-server/5.7/performance/threadpool.html
* https://mariadb.com/kb/en/the-mariadb-library/thread-pool-in-mariadb-51-53/

This is valuable because if the table has a lot of traffic (read or write load), gh-ost can end up starving the thread pool as incomming connections are immediately blocked.

By using gh-ost on the extra port, MySQL locking will still behave the same, but MySQL will keep a dedicated thread for each gh-ost connection.

When doing this, it's important to inspect the extra-max-connections variable. Both Percona and Maria default to 1, so gh-ost may easily exceed with its threads.

An example local run using this

```
$ mysql -S /tmp/mysql_sandbox20393.sock -e "select @@global.port, @@global.extra_port"
+---------------+---------------------+
| @@global.port | @@global.extra_port |
+---------------+---------------------+
|         20393 |               30393 |
+---------------+---------------------+

./bin/gh-ost \
--initially-drop-ghost-table \
--initially-drop-old-table \
--assume-rbr \
--port="20395" \
--assume-master-host="127.0.0.1:30393" \
--max-load=Threads_running=25 \
--critical-load=Threads_running=1000 \
--chunk-size=1000 \
--max-lag-millis=1500 \
--user="gh-ost" \
--password="gh-ost" \
--database="test" \
--table="mytable" \
--verbose \
--alter="ADD mynewcol decimal(11,2) DEFAULT 0.0 NOT NULL" \
--exact-rowcount \
--concurrent-rowcount \
--default-retries=120 \
--panic-flag-file=/tmp/ghost.panic.flag \
--postpone-cut-over-flag-file=/tmp/ghost.postpone.flag \
--execute
```
2017-09-20 16:05:20 -04:00
Shlomi Noach
52f2dd7a20 release v1.0.42 2017-09-14 09:51:12 +03:00
Shlomi Noach
a46d5b54ea Merge pull request #494 from github/cfg-read-error
Clearer error message on config file read error
2017-09-10 19:54:13 +03:00
Shlomi Noach
6362dbe51a Clearer error message on config file read error 2017-09-10 08:20:01 +03:00