Add virtual functions check_replication() and start_replication() for Clustrix

Implementations of check_replication() and start_replication() for Clustrix allows to use fix_replication()
also for Clustrix nodes without checking it.
Also several attempts to check nodes after restart are added - to wait for nodes if they are not running
right after server daemon restart
This commit is contained in:
Timofey Turenko
2019-05-22 15:39:25 +03:00
parent 17fa1ce616
commit 64935573b2
4 changed files with 58 additions and 24 deletions

View File

@ -402,7 +402,7 @@ TestConnections::TestConnections(int argc, char* argv[])
clustrix->use_ipv6 = false;
clustrix->take_snapshot_command = take_snapshot_command;
clustrix->revert_snapshot_command = revert_snapshot_command;
clustrix->start_cluster();
clustrix->fix_replication();
}
else
{