├── .github ├── PULL_REQUEST_TEMPLATE.md ├── dependabot.yml └── workflows │ ├── codeql.yml │ ├── docker-jepsen.yml │ ├── docker-tests-8.0.yml │ ├── docker-tests-8.4.yml │ ├── docker-tests.yml │ ├── golangci-lint.yml │ └── unit-tests.yml ├── .gitignore ├── .golangci.yml ├── AUTHORS ├── CONTRIBUTING.md ├── LICENSE ├── Makefile ├── README.md ├── cmd └── mysync │ ├── abort.go │ ├── hosts.go │ ├── info.go │ ├── main.go │ ├── maintenance.go │ ├── optimize.go │ ├── state.go │ └── switch.go ├── go.mod ├── go.sum ├── internal ├── app │ ├── app.go │ ├── app_dcs.go │ ├── async.go │ ├── cli_host.go │ ├── cli_info.go │ ├── cli_maintenance.go │ ├── cli_optimize.go │ ├── cli_state.go │ ├── cli_switch.go │ ├── cli_util.go │ ├── data.go │ ├── dcs │ │ ├── dcs.go │ │ └── optimization.go │ ├── node_state │ │ ├── node_state.go │ │ └── node_state_test.go │ ├── optimization.go │ ├── optimization │ │ ├── controller.go │ │ ├── controller_test.go │ │ ├── deps.go │ │ ├── helpers_test.go │ │ ├── mocks_test.go │ │ ├── syncer.go │ │ └── syncer_test.go │ ├── recovery.go │ ├── replication.go │ ├── resetup │ │ └── resetup_lag.go │ ├── timings.go │ ├── timings_test.go │ ├── util.go │ └── util_test.go ├── config │ └── config.go ├── dcs │ ├── config.go │ ├── dcs.go │ ├── zk.go │ ├── zk_host_provider.go │ ├── zk_test.go │ └── zk_tls.go ├── log │ ├── log.go │ └── syslog.go ├── mysql │ ├── cluster.go │ ├── commands.go │ ├── data.go │ ├── gtids │ │ ├── utils.go │ │ ├── wrapper.go │ │ └── wrapper_test.go │ ├── node.go │ ├── queries.go │ ├── replication.go │ ├── switch_helper.go │ └── util.go └── util │ ├── consts.go │ ├── user.go │ └── util.go ├── mysync.arch.png └── tests ├── features ├── CLI.feature ├── active_nodes.feature ├── async.feature ├── async_setting.feature ├── cascade_replicas.84.feature ├── cascade_replicas.feature ├── crash_recovery.feature ├── events_reenable.84.feature ├── events_reenable.feature ├── external_replication.feature ├── failover.84.feature ├── failover.feature ├── free_space.feature ├── host_discovery.feature ├── host_management.feature ├── maintenance.84.feature ├── maintenance.feature ├── manager_switchover.feature ├── offline_mode.84.feature ├── offline_mode.feature ├── optimization.feature ├── priority.feature ├── readonly_filesystem.feature ├── recovery.57.feature ├── recovery.feature ├── repair.feature ├── repl_mon.feature ├── statefile.feature ├── switchover_from.84.feature ├── switchover_from.feature ├── switchover_to.feature ├── zk_failure.feature └── zk_maintenance.feature ├── images ├── base │ ├── Dockerfile │ ├── generate_certs.sh │ ├── percona.gpg │ ├── setup.sh │ ├── sshd_config │ ├── supervisor.conf │ └── supervisor_ssh.conf ├── copy_keys.sh ├── docker-compose.yaml ├── jepsen-compose.yml ├── jepsen_common │ ├── Dockerfile │ ├── ssh_config │ └── sshd_config ├── jepsen_main │ ├── Dockerfile │ ├── README.md │ ├── jepsen │ │ ├── project.clj │ │ ├── run.sh │ │ ├── src │ │ │ └── jepsen │ │ │ │ └── mysync.clj │ │ └── test │ │ │ └── jepsen │ │ │ └── mysync_test.clj │ └── save_logs.sh ├── jepsen_sshd_config ├── mysql │ ├── .my.cnf │ ├── Dockerfile │ ├── my.cnf │ ├── my.cnf.8.0 │ ├── my.cnf.8.4 │ ├── mysync.yaml │ ├── setup.sh │ ├── start_mysql.sh │ ├── start_mysql_84.sh │ ├── start_mysync.sh │ ├── supervisor_mysql.conf │ └── supervisor_mysql.conf.8.4 ├── mysql_jepsen │ ├── .my.cnf │ ├── Dockerfile │ ├── my.cnf │ ├── mysync.yaml │ ├── setup.sh │ ├── sh-scripts │ │ ├── my-resetup-wd.sh │ │ ├── my-resetup.sh │ │ └── my-wait-started.sh │ ├── start_mysql.sh │ ├── start_mysync.sh │ └── supervisor_mysql.conf ├── zookeeper │ ├── Dockerfile │ ├── setup.sh │ ├── start.sh │ ├── supervisor_zookeeper.conf │ └── zoo.cfg └── zookeeper_jepsen │ ├── Dockerfile │ ├── generate_certs_with_restart.sh │ ├── retriable_path_create.sh │ ├── start.sh │ ├── supervisor_zookeeper.conf │ └── zoo.cfg ├── mysync_test.go └── testutil ├── context.go ├── context_test.go ├── docker_composer.go ├── matchers ├── matchers.go └── matchers_test.go ├── network.go ├── retry.go └── uuid.go /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/codeql.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/.github/workflows/codeql.yml -------------------------------------------------------------------------------- /.github/workflows/docker-jepsen.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/.github/workflows/docker-jepsen.yml -------------------------------------------------------------------------------- /.github/workflows/docker-tests-8.0.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/.github/workflows/docker-tests-8.0.yml -------------------------------------------------------------------------------- /.github/workflows/docker-tests-8.4.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/.github/workflows/docker-tests-8.4.yml -------------------------------------------------------------------------------- /.github/workflows/docker-tests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/.github/workflows/docker-tests.yml -------------------------------------------------------------------------------- /.github/workflows/golangci-lint.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/.github/workflows/golangci-lint.yml -------------------------------------------------------------------------------- /.github/workflows/unit-tests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/.github/workflows/unit-tests.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/.gitignore -------------------------------------------------------------------------------- /.golangci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/.golangci.yml -------------------------------------------------------------------------------- /AUTHORS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/AUTHORS -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/README.md -------------------------------------------------------------------------------- /cmd/mysync/abort.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/cmd/mysync/abort.go -------------------------------------------------------------------------------- /cmd/mysync/hosts.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/cmd/mysync/hosts.go -------------------------------------------------------------------------------- /cmd/mysync/info.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/cmd/mysync/info.go -------------------------------------------------------------------------------- /cmd/mysync/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/cmd/mysync/main.go -------------------------------------------------------------------------------- /cmd/mysync/maintenance.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/cmd/mysync/maintenance.go -------------------------------------------------------------------------------- /cmd/mysync/optimize.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/cmd/mysync/optimize.go -------------------------------------------------------------------------------- /cmd/mysync/state.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/cmd/mysync/state.go -------------------------------------------------------------------------------- /cmd/mysync/switch.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/cmd/mysync/switch.go -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/go.sum -------------------------------------------------------------------------------- /internal/app/app.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/internal/app/app.go -------------------------------------------------------------------------------- /internal/app/app_dcs.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/internal/app/app_dcs.go -------------------------------------------------------------------------------- /internal/app/async.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/internal/app/async.go -------------------------------------------------------------------------------- /internal/app/cli_host.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/internal/app/cli_host.go -------------------------------------------------------------------------------- /internal/app/cli_info.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/internal/app/cli_info.go -------------------------------------------------------------------------------- /internal/app/cli_maintenance.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/internal/app/cli_maintenance.go -------------------------------------------------------------------------------- /internal/app/cli_optimize.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/internal/app/cli_optimize.go -------------------------------------------------------------------------------- /internal/app/cli_state.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/internal/app/cli_state.go -------------------------------------------------------------------------------- /internal/app/cli_switch.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/internal/app/cli_switch.go -------------------------------------------------------------------------------- /internal/app/cli_util.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/internal/app/cli_util.go -------------------------------------------------------------------------------- /internal/app/data.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/internal/app/data.go -------------------------------------------------------------------------------- /internal/app/dcs/dcs.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/internal/app/dcs/dcs.go -------------------------------------------------------------------------------- /internal/app/dcs/optimization.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/internal/app/dcs/optimization.go -------------------------------------------------------------------------------- /internal/app/node_state/node_state.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/internal/app/node_state/node_state.go -------------------------------------------------------------------------------- /internal/app/node_state/node_state_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/internal/app/node_state/node_state_test.go -------------------------------------------------------------------------------- /internal/app/optimization.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/internal/app/optimization.go -------------------------------------------------------------------------------- /internal/app/optimization/controller.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/internal/app/optimization/controller.go -------------------------------------------------------------------------------- /internal/app/optimization/controller_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/internal/app/optimization/controller_test.go -------------------------------------------------------------------------------- /internal/app/optimization/deps.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/internal/app/optimization/deps.go -------------------------------------------------------------------------------- /internal/app/optimization/helpers_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/internal/app/optimization/helpers_test.go -------------------------------------------------------------------------------- /internal/app/optimization/mocks_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/internal/app/optimization/mocks_test.go -------------------------------------------------------------------------------- /internal/app/optimization/syncer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/internal/app/optimization/syncer.go -------------------------------------------------------------------------------- /internal/app/optimization/syncer_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/internal/app/optimization/syncer_test.go -------------------------------------------------------------------------------- /internal/app/recovery.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/internal/app/recovery.go -------------------------------------------------------------------------------- /internal/app/replication.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/internal/app/replication.go -------------------------------------------------------------------------------- /internal/app/resetup/resetup_lag.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/internal/app/resetup/resetup_lag.go -------------------------------------------------------------------------------- /internal/app/timings.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/internal/app/timings.go -------------------------------------------------------------------------------- /internal/app/timings_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/internal/app/timings_test.go -------------------------------------------------------------------------------- /internal/app/util.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/internal/app/util.go -------------------------------------------------------------------------------- /internal/app/util_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/internal/app/util_test.go -------------------------------------------------------------------------------- /internal/config/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/internal/config/config.go -------------------------------------------------------------------------------- /internal/dcs/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/internal/dcs/config.go -------------------------------------------------------------------------------- /internal/dcs/dcs.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/internal/dcs/dcs.go -------------------------------------------------------------------------------- /internal/dcs/zk.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/internal/dcs/zk.go -------------------------------------------------------------------------------- /internal/dcs/zk_host_provider.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/internal/dcs/zk_host_provider.go -------------------------------------------------------------------------------- /internal/dcs/zk_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/internal/dcs/zk_test.go -------------------------------------------------------------------------------- /internal/dcs/zk_tls.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/internal/dcs/zk_tls.go -------------------------------------------------------------------------------- /internal/log/log.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/internal/log/log.go -------------------------------------------------------------------------------- /internal/log/syslog.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/internal/log/syslog.go -------------------------------------------------------------------------------- /internal/mysql/cluster.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/internal/mysql/cluster.go -------------------------------------------------------------------------------- /internal/mysql/commands.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/internal/mysql/commands.go -------------------------------------------------------------------------------- /internal/mysql/data.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/internal/mysql/data.go -------------------------------------------------------------------------------- /internal/mysql/gtids/utils.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/internal/mysql/gtids/utils.go -------------------------------------------------------------------------------- /internal/mysql/gtids/wrapper.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/internal/mysql/gtids/wrapper.go -------------------------------------------------------------------------------- /internal/mysql/gtids/wrapper_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/internal/mysql/gtids/wrapper_test.go -------------------------------------------------------------------------------- /internal/mysql/node.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/internal/mysql/node.go -------------------------------------------------------------------------------- /internal/mysql/queries.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/internal/mysql/queries.go -------------------------------------------------------------------------------- /internal/mysql/replication.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/internal/mysql/replication.go -------------------------------------------------------------------------------- /internal/mysql/switch_helper.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/internal/mysql/switch_helper.go -------------------------------------------------------------------------------- /internal/mysql/util.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/internal/mysql/util.go -------------------------------------------------------------------------------- /internal/util/consts.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/internal/util/consts.go -------------------------------------------------------------------------------- /internal/util/user.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/internal/util/user.go -------------------------------------------------------------------------------- /internal/util/util.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/internal/util/util.go -------------------------------------------------------------------------------- /mysync.arch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/mysync.arch.png -------------------------------------------------------------------------------- /tests/features/CLI.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/features/CLI.feature -------------------------------------------------------------------------------- /tests/features/active_nodes.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/features/active_nodes.feature -------------------------------------------------------------------------------- /tests/features/async.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/features/async.feature -------------------------------------------------------------------------------- /tests/features/async_setting.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/features/async_setting.feature -------------------------------------------------------------------------------- /tests/features/cascade_replicas.84.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/features/cascade_replicas.84.feature -------------------------------------------------------------------------------- /tests/features/cascade_replicas.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/features/cascade_replicas.feature -------------------------------------------------------------------------------- /tests/features/crash_recovery.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/features/crash_recovery.feature -------------------------------------------------------------------------------- /tests/features/events_reenable.84.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/features/events_reenable.84.feature -------------------------------------------------------------------------------- /tests/features/events_reenable.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/features/events_reenable.feature -------------------------------------------------------------------------------- /tests/features/external_replication.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/features/external_replication.feature -------------------------------------------------------------------------------- /tests/features/failover.84.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/features/failover.84.feature -------------------------------------------------------------------------------- /tests/features/failover.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/features/failover.feature -------------------------------------------------------------------------------- /tests/features/free_space.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/features/free_space.feature -------------------------------------------------------------------------------- /tests/features/host_discovery.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/features/host_discovery.feature -------------------------------------------------------------------------------- /tests/features/host_management.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/features/host_management.feature -------------------------------------------------------------------------------- /tests/features/maintenance.84.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/features/maintenance.84.feature -------------------------------------------------------------------------------- /tests/features/maintenance.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/features/maintenance.feature -------------------------------------------------------------------------------- /tests/features/manager_switchover.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/features/manager_switchover.feature -------------------------------------------------------------------------------- /tests/features/offline_mode.84.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/features/offline_mode.84.feature -------------------------------------------------------------------------------- /tests/features/offline_mode.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/features/offline_mode.feature -------------------------------------------------------------------------------- /tests/features/optimization.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/features/optimization.feature -------------------------------------------------------------------------------- /tests/features/priority.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/features/priority.feature -------------------------------------------------------------------------------- /tests/features/readonly_filesystem.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/features/readonly_filesystem.feature -------------------------------------------------------------------------------- /tests/features/recovery.57.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/features/recovery.57.feature -------------------------------------------------------------------------------- /tests/features/recovery.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/features/recovery.feature -------------------------------------------------------------------------------- /tests/features/repair.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/features/repair.feature -------------------------------------------------------------------------------- /tests/features/repl_mon.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/features/repl_mon.feature -------------------------------------------------------------------------------- /tests/features/statefile.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/features/statefile.feature -------------------------------------------------------------------------------- /tests/features/switchover_from.84.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/features/switchover_from.84.feature -------------------------------------------------------------------------------- /tests/features/switchover_from.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/features/switchover_from.feature -------------------------------------------------------------------------------- /tests/features/switchover_to.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/features/switchover_to.feature -------------------------------------------------------------------------------- /tests/features/zk_failure.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/features/zk_failure.feature -------------------------------------------------------------------------------- /tests/features/zk_maintenance.feature: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/features/zk_maintenance.feature -------------------------------------------------------------------------------- /tests/images/base/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/images/base/Dockerfile -------------------------------------------------------------------------------- /tests/images/base/generate_certs.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/images/base/generate_certs.sh -------------------------------------------------------------------------------- /tests/images/base/percona.gpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/images/base/percona.gpg -------------------------------------------------------------------------------- /tests/images/base/setup.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/images/base/setup.sh -------------------------------------------------------------------------------- /tests/images/base/sshd_config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/images/base/sshd_config -------------------------------------------------------------------------------- /tests/images/base/supervisor.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/images/base/supervisor.conf -------------------------------------------------------------------------------- /tests/images/base/supervisor_ssh.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/images/base/supervisor_ssh.conf -------------------------------------------------------------------------------- /tests/images/copy_keys.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/images/copy_keys.sh -------------------------------------------------------------------------------- /tests/images/docker-compose.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/images/docker-compose.yaml -------------------------------------------------------------------------------- /tests/images/jepsen-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/images/jepsen-compose.yml -------------------------------------------------------------------------------- /tests/images/jepsen_common/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/images/jepsen_common/Dockerfile -------------------------------------------------------------------------------- /tests/images/jepsen_common/ssh_config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/images/jepsen_common/ssh_config -------------------------------------------------------------------------------- /tests/images/jepsen_common/sshd_config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/images/jepsen_common/sshd_config -------------------------------------------------------------------------------- /tests/images/jepsen_main/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/images/jepsen_main/Dockerfile -------------------------------------------------------------------------------- /tests/images/jepsen_main/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/images/jepsen_main/README.md -------------------------------------------------------------------------------- /tests/images/jepsen_main/jepsen/project.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/images/jepsen_main/jepsen/project.clj -------------------------------------------------------------------------------- /tests/images/jepsen_main/jepsen/run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/images/jepsen_main/jepsen/run.sh -------------------------------------------------------------------------------- /tests/images/jepsen_main/jepsen/src/jepsen/mysync.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/images/jepsen_main/jepsen/src/jepsen/mysync.clj -------------------------------------------------------------------------------- /tests/images/jepsen_main/jepsen/test/jepsen/mysync_test.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/images/jepsen_main/jepsen/test/jepsen/mysync_test.clj -------------------------------------------------------------------------------- /tests/images/jepsen_main/save_logs.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/images/jepsen_main/save_logs.sh -------------------------------------------------------------------------------- /tests/images/jepsen_sshd_config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/images/jepsen_sshd_config -------------------------------------------------------------------------------- /tests/images/mysql/.my.cnf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/images/mysql/.my.cnf -------------------------------------------------------------------------------- /tests/images/mysql/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/images/mysql/Dockerfile -------------------------------------------------------------------------------- /tests/images/mysql/my.cnf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/images/mysql/my.cnf -------------------------------------------------------------------------------- /tests/images/mysql/my.cnf.8.0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/images/mysql/my.cnf.8.0 -------------------------------------------------------------------------------- /tests/images/mysql/my.cnf.8.4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/images/mysql/my.cnf.8.4 -------------------------------------------------------------------------------- /tests/images/mysql/mysync.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/images/mysql/mysync.yaml -------------------------------------------------------------------------------- /tests/images/mysql/setup.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/images/mysql/setup.sh -------------------------------------------------------------------------------- /tests/images/mysql/start_mysql.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/images/mysql/start_mysql.sh -------------------------------------------------------------------------------- /tests/images/mysql/start_mysql_84.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/images/mysql/start_mysql_84.sh -------------------------------------------------------------------------------- /tests/images/mysql/start_mysync.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/images/mysql/start_mysync.sh -------------------------------------------------------------------------------- /tests/images/mysql/supervisor_mysql.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/images/mysql/supervisor_mysql.conf -------------------------------------------------------------------------------- /tests/images/mysql/supervisor_mysql.conf.8.4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/images/mysql/supervisor_mysql.conf.8.4 -------------------------------------------------------------------------------- /tests/images/mysql_jepsen/.my.cnf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/images/mysql_jepsen/.my.cnf -------------------------------------------------------------------------------- /tests/images/mysql_jepsen/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/images/mysql_jepsen/Dockerfile -------------------------------------------------------------------------------- /tests/images/mysql_jepsen/my.cnf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/images/mysql_jepsen/my.cnf -------------------------------------------------------------------------------- /tests/images/mysql_jepsen/mysync.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/images/mysql_jepsen/mysync.yaml -------------------------------------------------------------------------------- /tests/images/mysql_jepsen/setup.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/images/mysql_jepsen/setup.sh -------------------------------------------------------------------------------- /tests/images/mysql_jepsen/sh-scripts/my-resetup-wd.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/images/mysql_jepsen/sh-scripts/my-resetup-wd.sh -------------------------------------------------------------------------------- /tests/images/mysql_jepsen/sh-scripts/my-resetup.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/images/mysql_jepsen/sh-scripts/my-resetup.sh -------------------------------------------------------------------------------- /tests/images/mysql_jepsen/sh-scripts/my-wait-started.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/images/mysql_jepsen/sh-scripts/my-wait-started.sh -------------------------------------------------------------------------------- /tests/images/mysql_jepsen/start_mysql.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/images/mysql_jepsen/start_mysql.sh -------------------------------------------------------------------------------- /tests/images/mysql_jepsen/start_mysync.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/images/mysql_jepsen/start_mysync.sh -------------------------------------------------------------------------------- /tests/images/mysql_jepsen/supervisor_mysql.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/images/mysql_jepsen/supervisor_mysql.conf -------------------------------------------------------------------------------- /tests/images/zookeeper/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/images/zookeeper/Dockerfile -------------------------------------------------------------------------------- /tests/images/zookeeper/setup.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/images/zookeeper/setup.sh -------------------------------------------------------------------------------- /tests/images/zookeeper/start.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/images/zookeeper/start.sh -------------------------------------------------------------------------------- /tests/images/zookeeper/supervisor_zookeeper.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/images/zookeeper/supervisor_zookeeper.conf -------------------------------------------------------------------------------- /tests/images/zookeeper/zoo.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/images/zookeeper/zoo.cfg -------------------------------------------------------------------------------- /tests/images/zookeeper_jepsen/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/images/zookeeper_jepsen/Dockerfile -------------------------------------------------------------------------------- /tests/images/zookeeper_jepsen/generate_certs_with_restart.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/images/zookeeper_jepsen/generate_certs_with_restart.sh -------------------------------------------------------------------------------- /tests/images/zookeeper_jepsen/retriable_path_create.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/images/zookeeper_jepsen/retriable_path_create.sh -------------------------------------------------------------------------------- /tests/images/zookeeper_jepsen/start.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/images/zookeeper_jepsen/start.sh -------------------------------------------------------------------------------- /tests/images/zookeeper_jepsen/supervisor_zookeeper.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/images/zookeeper_jepsen/supervisor_zookeeper.conf -------------------------------------------------------------------------------- /tests/images/zookeeper_jepsen/zoo.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/images/zookeeper_jepsen/zoo.cfg -------------------------------------------------------------------------------- /tests/mysync_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/mysync_test.go -------------------------------------------------------------------------------- /tests/testutil/context.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/testutil/context.go -------------------------------------------------------------------------------- /tests/testutil/context_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/testutil/context_test.go -------------------------------------------------------------------------------- /tests/testutil/docker_composer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/testutil/docker_composer.go -------------------------------------------------------------------------------- /tests/testutil/matchers/matchers.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/testutil/matchers/matchers.go -------------------------------------------------------------------------------- /tests/testutil/matchers/matchers_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/testutil/matchers/matchers_test.go -------------------------------------------------------------------------------- /tests/testutil/network.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/testutil/network.go -------------------------------------------------------------------------------- /tests/testutil/retry.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/testutil/retry.go -------------------------------------------------------------------------------- /tests/testutil/uuid.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yandex/mysync/HEAD/tests/testutil/uuid.go --------------------------------------------------------------------------------