Failover remote ssh relaylogs #48

Merged
merged 56 commits into from Jan 24, 2017

Projects

None yet

1 participant

@shlomi-noach
Collaborator

This PR introduces multi-replicas syncing via relay logs, to eventually be invoked by failover logic.

Syncing is done by remote SSH, if configured so.

related:

@shlomi-noach shlomi-noach deployed to production/github-mysql6z Jan 11, 2017 Active
@shlomi-noach shlomi-noach deployed to production/github-mysql6z Jan 12, 2017 Active
@shlomi-noach shlomi-noach deployed to production/github-mysql6z Jan 12, 2017 Active
@shlomi-noach shlomi-noach deployed to production/github-mysql6z Jan 12, 2017 Active
@shlomi-noach shlomi-noach deployed to production/github-mysql6z Jan 12, 2017 Active
@shlomi-noach shlomi-noach had a problem deploying to production/github-mysql6z Jan 12, 2017 Failure
@shlomi-noach shlomi-noach deployed to production/github-mysql6z Jan 15, 2017 Active
@shlomi-noach shlomi-noach deployed to production/github-mysql6z Jan 15, 2017 Active
@shlomi-noach shlomi-noach deployed to production/github-mysql6z Jan 15, 2017 Active
@shlomi-noach shlomi-noach deployed to production/github-mysql6z Jan 15, 2017 Active
@shlomi-noach shlomi-noach deployed to production/github-mysql6z Jan 15, 2017 Active
@shlomi-noach shlomi-noach deployed to production/github-mysql6z Jan 15, 2017 Active
@shlomi-noach shlomi-noach deployed to production/github-mysql6z Jan 15, 2017 Active
@shlomi-noach shlomi-noach deployed to production/github-mysql6z Jan 15, 2017 Active
@shlomi-noach shlomi-noach deployed to production/github-mysql6z Jan 15, 2017 Active
@shlomi-noach shlomi-noach deployed to production/github-mysql6z Jan 15, 2017 Active
@shlomi-noach shlomi-noach had a problem deploying to production/github-mysql6z Jan 15, 2017 Failure
@shlomi-noach shlomi-noach had a problem deploying to production/github-mysql6z Jan 15, 2017 Failure
@shlomi-noach shlomi-noach had a problem deploying to production/github-mysql6z Jan 15, 2017 Failure
@shlomi-noach shlomi-noach deployed to production/github-mysql6z Jan 15, 2017 Active
@shlomi-noach shlomi-noach deployed to production/github-mysql6z Jan 15, 2017 Active
@shlomi-noach shlomi-noach deployed to production/github-mysql6z Jan 15, 2017 Active
@shlomi-noach shlomi-noach deployed to production/github-mysql6z Jan 15, 2017 Active
@shlomi-noach shlomi-noach deployed to production/github-mysql6z Jan 15, 2017 Active
@shlomi-noach shlomi-noach deployed to production/github-mysql6z Jan 15, 2017 Active
@shlomi-noach shlomi-noach deployed to production/github-mysql6z Jan 15, 2017 Active
@shlomi-noach shlomi-noach deployed to production/github-mysql6z Jan 16, 2017 Active
@shlomi-noach shlomi-noach deployed to production/github-mysql6z Jan 16, 2017 Active
@shlomi-noach shlomi-noach deployed to production/github-mysql6z Jan 16, 2017 Active
@shlomi-noach shlomi-noach deployed to production/github-mysql6z Jan 16, 2017 Active
@shlomi-noach shlomi-noach deployed to production/github-mysql6z Jan 16, 2017 Active
@shlomi-noach shlomi-noach deployed to production/github-mysql6z Jan 16, 2017 Active
@shlomi-noach shlomi-noach deployed to production Jan 16, 2017 Active
@shlomi-noach shlomi-noach deployed to production Jan 16, 2017 Active
@shlomi-noach shlomi-noach deployed to production Jan 16, 2017 Active
@shlomi-noach shlomi-noach deployed to production Jan 16, 2017 Active
@shlomi-noach shlomi-noach deployed to production Jan 16, 2017 Active
@shlomi-noach shlomi-noach deployed to production Jan 16, 2017 Active
@shlomi-noach shlomi-noach deployed to production Jan 17, 2017 Active
@shlomi-noach shlomi-noach deployed to production Jan 17, 2017 Active
@shlomi-noach shlomi-noach deployed to production Jan 17, 2017 Active
@shlomi-noach shlomi-noach deployed to production Jan 17, 2017 Active
@shlomi-noach shlomi-noach deployed to production Jan 17, 2017 Active
@shlomi-noach
Collaborator

At this time master failover based on relay log syncing over SSH is working.

@shlomi-noach shlomi-noach deployed to production Jan 17, 2017 Active
@shlomi-noach shlomi-noach deployed to production Jan 18, 2017 Active
@shlomi-noach shlomi-noach deployed to production/github-mysql6z Jan 19, 2017 Active
@shlomi-noach shlomi-noach deployed to production/github-mysql6z Jan 19, 2017 Active
@shlomi-noach shlomi-noach deployed to production/github-mysql6z Jan 19, 2017 Active
@shlomi-noach shlomi-noach deployed to production/github-mysql6z Jan 19, 2017 Active
@shlomi-noach shlomi-noach deployed to production/github-mysql6z Jan 19, 2017 Active
@shlomi-noach shlomi-noach deployed to production/github-mysql6z Jan 19, 2017 Active
@shlomi-noach shlomi-noach deployed to production/github-mysql6z Jan 22, 2017 Active
@shlomi-noach shlomi-noach deployed to production/github-mysql6z Jan 22, 2017 Active
@shlomi-noach shlomi-noach deployed to production/github-mysql6z Jan 22, 2017 Active
@shlomi-noach shlomi-noach deployed to production/github-mysql6z Jan 22, 2017 Active
@shlomi-noach shlomi-noach deployed to production/github-mysql6z Jan 23, 2017 Active
@shlomi-noach shlomi-noach deployed to production/github-mysql6z Jan 24, 2017 Active
@shlomi-noach
Collaborator

I'm merging this for now, and will further iterate in a next PR. Functionality is in place and is mostly tested to work well.
There are various potential optimizations and configurations I would like to consider while further working with the merged PR.

@shlomi-noach shlomi-noach merged commit 072c31c into master Jan 24, 2017

1 check passed

orchestrator-build-deploy-tarball Build #5271521 succeeded in 16s
Details
@shlomi-noach shlomi-noach deleted the failover-remote-ssh-relaylogs branch Jan 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment