New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replication is broken: Slave_IO_Running: No, Slave_SQL_Running: No #983
Comments
|
You should run |
Does this action not affect the health of the primary node? |
|
right now your primary node thinks it's a replica. But if it's a primary, it probably shouldn't think so, it's risky. Because it may try to reconnect to whatever Define "affect the health"? |
|
I'm sorry, I haven't done this before. I'm more worried about whether the execution of this command on the master node will affect the synchronization of other slave nodes connected to the master. |
|
Running this command on the primary node (master) does not affect the synchronization of the replicas connected to the primary node. Obviously do not run it on the replicas. |
Good day! gh-ost cannot find the replication master, previously we promoted the slave to the master, that is, if we SHOW SLAVE STATUS on the master, it will show Slave_IO_Running: No, Slave_SQL_Running: No, what should we do in this case?
./gh-ost --host=master_host --user=test_user --password=????? \ --database=test_db --table=test --assume-rbr --allow-on-master \ --verbose --alter="add test SMALLINT NULL" --chunk-size=3000 --assume-rbr \ --max-load=Threads_connected=20 > gh.log &The text was updated successfully, but these errors were encountered: