documenting gh-ost-on-start-replication hook
This commit is contained in:
parent
6fa32f6d54
commit
7f728729e3
@ -44,6 +44,7 @@ The full list of supported hooks is best found in code: [hooks.go](https://githu
|
||||
- `gh-ost-on-interactive-command`
|
||||
- `gh-ost-on-row-copy-complete`
|
||||
- `gh-ost-on-stop-replication`
|
||||
- `gh-ost-on-start-replication`
|
||||
- `gh-ost-on-begin-postponed`
|
||||
- `gh-ost-on-before-cut-over`
|
||||
- `gh-ost-on-success`
|
||||
|
6
resources/hooks-sample/gh-ost-on-start-replication-hook
Normal file
6
resources/hooks-sample/gh-ost-on-start-replication-hook
Normal file
@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Sample hook file for gh-ost-on-start-replication
|
||||
# Useful for RDS/Aurora setups, see https://github.com/github/gh-ost/issues/163
|
||||
|
||||
echo "$(date) gh-ost-on-start-replication $GH_OST_DATABASE_NAME.$GH_OST_TABLE_NAME $GH_OST_MIGRATED_HOST" >> /tmp/gh-ost.log
|
@ -1,5 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Sample hook file for gh-ost-on-stop-replication
|
||||
# Useful for RDS/Aurora setups, see https://github.com/github/gh-ost/issues/163
|
||||
|
||||
echo "$(date) gh-ost-on-stop-replication $GH_OST_DATABASE_NAME.$GH_OST_TABLE_NAME $GH_OST_MIGRATED_HOST" >> /tmp/gh-ost.log
|
||||
|
Loading…
Reference in New Issue
Block a user