Skip to content

Commit

Permalink
Remove unused toDC config (#4370)
Browse files Browse the repository at this point in the history
* Remove unused toDC config
  • Loading branch information
yiminc authored May 20, 2023
1 parent 09fc4c6 commit 981d22b
Show file tree
Hide file tree
Showing 17 changed files with 0 additions and 17 deletions.
1 change: 0 additions & 1 deletion common/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,6 @@ type (
// DCRedirectionPolicy contains the frontend datacenter redirection policy
DCRedirectionPolicy struct {
Policy string `yaml:"policy"`
ToDC string `yaml:"toDC"`
}

// Archival contains the config for archival
Expand Down
1 change: 0 additions & 1 deletion config/development-cass-archival.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ clusterMetadata:

dcRedirectionPolicy:
policy: "noop"
toDC: ""

archival:
history:
Expand Down
1 change: 0 additions & 1 deletion config/development-cass-es.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ clusterMetadata:

dcRedirectionPolicy:
policy: "noop"
toDC: ""

archival:
history:
Expand Down
1 change: 0 additions & 1 deletion config/development-cass-s3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ clusterMetadata:

dcRedirectionPolicy:
policy: "noop"
toDC: ""

archival:
history:
Expand Down
1 change: 0 additions & 1 deletion config/development-cass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ clusterMetadata:

dcRedirectionPolicy:
policy: "noop"
toDC: ""

archival:
history:
Expand Down
1 change: 0 additions & 1 deletion config/development-cluster-a.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ clusterMetadata:

dcRedirectionPolicy:
policy: "selected-apis-forwarding"
toDC: ""

archival:
history:
Expand Down
1 change: 0 additions & 1 deletion config/development-cluster-b.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ clusterMetadata:

dcRedirectionPolicy:
policy: "selected-apis-forwarding"
toDC: ""

archival:
history:
Expand Down
1 change: 0 additions & 1 deletion config/development-cluster-c.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ clusterMetadata:

dcRedirectionPolicy:
policy: "selected-apis-forwarding"
toDC: ""

archival:
history:
Expand Down
1 change: 0 additions & 1 deletion config/development-mysql-es.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ clusterMetadata:

dcRedirectionPolicy:
policy: "noop"
toDC: ""

archival:
history:
Expand Down
1 change: 0 additions & 1 deletion config/development-mysql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ clusterMetadata:

dcRedirectionPolicy:
policy: "noop"
toDC: ""

archival:
history:
Expand Down
1 change: 0 additions & 1 deletion config/development-mysql8.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ clusterMetadata:

dcRedirectionPolicy:
policy: "noop"
toDC: ""

archival:
history:
Expand Down
1 change: 0 additions & 1 deletion config/development-postgres-es.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ clusterMetadata:

dcRedirectionPolicy:
policy: "noop"
toDC: ""

archival:
history:
Expand Down
1 change: 0 additions & 1 deletion config/development-postgres.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ clusterMetadata:

dcRedirectionPolicy:
policy: "noop"
toDC: ""

archival:
history:
Expand Down
1 change: 0 additions & 1 deletion config/development-postgres12.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ clusterMetadata:

dcRedirectionPolicy:
policy: "noop"
toDC: ""

archival:
history:
Expand Down
1 change: 0 additions & 1 deletion config/development-sqlite-file.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ clusterMetadata:

dcRedirectionPolicy:
policy: "noop"
toDC: ""

archival:
history:
Expand Down
1 change: 0 additions & 1 deletion config/development-sqlite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ clusterMetadata:

dcRedirectionPolicy:
policy: "noop"
toDC: ""

archival:
history:
Expand Down
1 change: 0 additions & 1 deletion docker/config_template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,6 @@ clusterMetadata:

dcRedirectionPolicy:
policy: "noop"
toDC: ""

archival:
history:
Expand Down

0 comments on commit 981d22b

Please sign in to comment.