Skip to content

Commit dfb9f88

Browse files
committed
Add note for using hooks for stopping and starting RDS replication
1 parent 79b9e7b commit dfb9f88

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

doc/rds.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,14 @@ Before trying to run any `gh-ost` migrations you will want to confirm the follow
3232

3333
- [ ] You have a secondary cluster available that will act as a replica. Rule of thumb here has been a 1 instance per cluster to mimic MySQL-style replication as opposed to Aurora style.
3434
- [ ] The database instance parameters and database cluster parameters are consistent between your master and replicas
35-
- [ ] Executing `SHOW SLAVE STATUS\G` on your replica cluster displays the correct master host, binlog position, etc.
35+
- [ ] Executing `SHOW SLAVE STATUS\G` on your replica cluster displays the correct master host, binlog position, etc.
3636
- [ ] Database backup retention is greater than 1 day to enable binlogs
37+
- [ ] You have setup [`hooks`][ghost_hooks] to issue RDS procedures for stopping and starting replication. (see [github/gh-ost#163][ghost_rds_issue_tracking] for examples)
3738

3839
[new_issue]: https://github.com/github/gh-ost/issues/new
3940
[assume_rbr_docs]: https://github.com/github/gh-ost/blob/master/doc/command-line-flags.md#assume-rbr
4041
[migrate_test_on_replica_docs]: https://github.com/github/gh-ost/blob/master/doc/cheatsheet.md#c-migratetest-on-replica
4142
[aws_replication_docs]: http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Aurora.Overview.Replication.MySQLReplication.html
4243
[percona_toolkit_patch]: https://github.com/jacobbednarz/percona-toolkit/commit/0271ba6a094da446a5e5bb8d99b5c26f1777f2b9
44+
[ghost_hooks]: https://envato.slack.com/archives/C08KD4AQJ/p1491197511461443
45+
[ghost_rds_issue_tracking]: https://github.com/github/gh-ost/issues/163

0 commit comments

Comments
 (0)