Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Adding Region; Prevent cross region failover #884

Merged
merged 5 commits into from
May 16, 2019

Conversation

shlomi-noach
Copy link
Collaborator

Adding Region field in Instance, and a corresponding region column in database_instance backend table.

Region is a geographic location, of higher level than DataCenter. E.g. an AWS us-east-1 is a region.

The region value is supported by the following new configuration variables:

  • RegionPattern: a regexp to extract the region name from the hostname, if possible
  • DetectRegionQuery: alternatively, a query which computes the region
  • PreventCrossRegionMasterFailover: a failover restriction which only allows failovers within same region as failed master, or else abort promotion of a new master (similar in behavior to PreventCrossDataCenterMasterFailover)

@shlomi-noach shlomi-noach deployed to production/mysql_clustr=concertmaster May 13, 2019 06:00 Active
@shlomi-noach shlomi-noach requested a deployment to production/mysql_cluster=concertmaster May 13, 2019 06:00 Abandoned
@shlomi-noach shlomi-noach changed the title WIP: Adding Region; Prevent cross region failover Adding Region; Prevent cross region failover May 13, 2019
@shlomi-noach shlomi-noach temporarily deployed to production/mysql_cluster=conductor May 13, 2019 07:45 Inactive
@shlomi-noach shlomi-noach had a problem deploying to production/mysql_cluster=concertmaster May 13, 2019 12:30 Failure
@shlomi-noach shlomi-noach had a problem deploying to production/mysql_cluster=conductor May 13, 2019 12:30 Failure
@shlomi-noach shlomi-noach temporarily deployed to production/mysql_cluster=conductor May 13, 2019 12:37 Inactive
@shlomi-noach shlomi-noach temporarily deployed to production/mysql_cluster=concertmaster May 15, 2019 11:24 Inactive
@shlomi-noach shlomi-noach had a problem deploying to production/mysql_cluster=conductor May 15, 2019 11:24 Failure
@shlomi-noach shlomi-noach had a problem deploying to production/mysql_cluster=conductor May 15, 2019 11:25 Failure
@shlomi-noach shlomi-noach temporarily deployed to production/mysql_cluster=conductor May 15, 2019 11:25 Inactive
@shlomi-noach shlomi-noach temporarily deployed to production/mysql_cluster=conductor May 15, 2019 11:26 Inactive
@shlomi-noach shlomi-noach temporarily deployed to production/mysql_cluster=concertmaster May 15, 2019 11:26 Inactive
@shlomi-noach shlomi-noach merged commit f8d8ea9 into master May 16, 2019
@shlomi-noach shlomi-noach deleted the prevent-cross-region-failover branch May 16, 2019 05:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant