Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/replica-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
version: [mysql-5.6.43,mysql-5.7.25,mysql-8.0.16]
version: [mysql-5.7.25,mysql-8.0.16]

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion doc/requirements-and-limitations.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

### Requirements

- `gh-ost` currently requires MySQL versions 5.6 and greater.
- `gh-ost` currently requires MySQL versions 5.7 and greater.

- You will need to have one server serving Row Based Replication (RBR) format binary logs. Right now `FULL` row image is supported. `MINIMAL` to be supported in the near future. `gh-ost` prefers to work with replicas. You may [still have your master configured with Statement Based Replication](migrating-with-sbr.md) (SBR).

Expand Down
4 changes: 2 additions & 2 deletions doc/throttle.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Note that you may dynamically change both `--max-lag-millis` and the `throttle-c

`--max-load='Threads_running=100,Threads_connected=500'`

Metrics must be valid, numeric [status variables](http://dev.mysql.com/doc/refman/5.6/en/server-status-variables.html)
Metrics must be valid, numeric [status variables](https://dev.mysql.com/doc/refman/5.7/en/server-status-variables.html)

#### Throttle query

Expand Down Expand Up @@ -97,7 +97,7 @@ Copy: 0/2915 0.0%; Applied: 0; Backlog: 0/100; Elapsed: 42s(copy), 42s(total); s

Throttling time is limited by the availability of the binary logs. When throttling begins, `gh-ost` suspends reading the binary logs, and expects to resume reading from same binary log where it paused.

Your availability of binary logs is typically determined by the [expire_logs_days](https://dev.mysql.com/doc/refman/5.6/en/server-system-variables.html#sysvar_expire_logs_days) variable. If you have `expire_logs_days = 10` (or check `select @@global.expire_logs_days`), then you should be able to throttle for up to `10` days.
Your availability of binary logs is typically determined by the [expire_logs_days](https://dev.mysql.com/doc/refman/5.7/en/replication-options-binary-log.html#sysvar_expire_logs_days) variable. If you have `expire_logs_days = 10` (or check `select @@global.expire_logs_days`), then you should be able to throttle for up to `10` days.

Having said that, throttling for so long is far fetching, in that the `gh-ost` process itself must be kept alive during that time; and the amount of binary logs to process once it resumes will potentially take days to replay.

Expand Down
2 changes: 1 addition & 1 deletion doc/why-triggerless.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Existing MySQL schema migration tools:
- [LHM](https://github.com/soundcloud/lhm)?target=https://github.com
- [oak-online-alter-table](https://github.com/shlomi-noach/openarkkit)?target=https://github.com

are all using [triggers](http://dev.mysql.com/doc/refman/5.6/en/triggers.html) to propagate live changes on your table onto a ghost/shadow table that is slowly being synchronized. The tools not all work the same: while most use a synchronous approach (all changes applied on the ghost table), the Facebook tool uses an asynchronous approach (changes are appended to a changelog table, later reviewed and applied on ghost table).
are all using [triggers](https://dev.mysql.com/doc/refman/5.7/en/triggers.html) to propagate live changes on your table onto a ghost/shadow table that is slowly being synchronized. The tools not all work the same: while most use a synchronous approach (all changes applied on the ghost table), the Facebook tool uses an asynchronous approach (changes are appended to a changelog table, later reviewed and applied on ghost table).

Use of triggers simplifies a lot of the flow in doing a live table migration, but also poses some limitations or difficulties. Here are reasons why we choose to [design a triggerless solution](triggerless-design.md) to schema migrations.

Expand Down
1 change: 0 additions & 1 deletion localtests/generated-columns-add57/ignore_versions

This file was deleted.

1 change: 0 additions & 1 deletion localtests/generated-columns-rename57/ignore_versions

This file was deleted.

1 change: 0 additions & 1 deletion localtests/generated-columns57-unique/ignore_versions

This file was deleted.

1 change: 0 additions & 1 deletion localtests/generated-columns57/ignore_versions

This file was deleted.

File renamed without changes.
1 change: 0 additions & 1 deletion localtests/geometry57/ignore_versions

This file was deleted.

File renamed without changes.
File renamed without changes.
1 change: 0 additions & 1 deletion localtests/json57/ignore_versions

This file was deleted.

1 change: 0 additions & 1 deletion localtests/json57dml/ignore_versions

This file was deleted.

File renamed without changes.
1 change: 0 additions & 1 deletion localtests/spatial57/ignore_versions

This file was deleted.