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

Supporting Consul auto DC KV distribution #819

Merged
merged 14 commits into from
Mar 24, 2019
Merged

Conversation

shlomi-noach
Copy link
Collaborator

A new configuration variable ConsulCrossDataCenterDistribution (bool, default false) is introduced.

When enabled, the orchestrator leader (whether raft-based on not), as part of submit-master-kv-stores, will ask Consul to distribute the KV values to all known datacenters.

This takes advantage of Consul's /catalog/datacenters API: https://www.consul.io/docs/guides/datacenters.html

orchestrator will do its best to distribute KVs to all known datacenters, and will report up to one error.

@shlomi-noach shlomi-noach temporarily deployed to production/mysql_cluster=concertmaster March 3, 2019 10:16 Inactive
@shlomi-noach shlomi-noach temporarily deployed to production/mysql_cluster=concertmaster March 5, 2019 08:25 Inactive
@shlomi-noach shlomi-noach temporarily deployed to production/mysql_cluster=concertmaster March 6, 2019 10:28 Inactive
@shlomi-noach shlomi-noach temporarily deployed to production/mysql_cluster=conductor March 18, 2019 06:55 Inactive
@shlomi-noach shlomi-noach deployed to production/mysql_clsuter=conductor March 19, 2019 11:02 Active
@shlomi-noach shlomi-noach temporarily deployed to production/mysql_cluster=conductor March 19, 2019 11:04 Inactive
@shlomi-noach shlomi-noach merged commit f4f8797 into master Mar 24, 2019
@shlomi-noach shlomi-noach deleted the consul-kv-distribute-dc branch March 24, 2019 06:55
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