Open mizioumt opened 7 years ago
What is the command you executed?
As per https://github.com/github/gh-ost/blob/master/doc/testing-on-replica.md, a --test-on-replica
execution stops replication at the end of operation.
not with one of my tests with 1.0.35 but this is past. The problem of this issue is that it stops replication then complains about replication being stopped then restarts it. It also complains about tables existing when they should have existed. This doesn't constitute a successful test-on-replica to me no matter how fine the resulting tables are. The command was:
gh-ost -database app -host HOSTNAME -conf config-file -table TableName -alter row_format=compact -execute -verbose -test-on-replica -debug -stack
Thank you, I will look into it.
v1.0.36, this is repeatable. seemingly a successful test migration that just did ALTER TABLE x ROW_FORMAT=COMPACT. However the output has some troublesome messages:
now it stops complaining about replication not running and says the cutover has failed. What follows is the tail of the log.
and now it exits successfully, the new and old tables have identical content and replication is NOT running. I didn't
So in the log there is a fair amount of confusion: gh-ost stops replication but then complains about it not running, complains about tables already existing, says cut-over failed, says it starts replication, stops it without saying so.