From 20be23770d33cca5b888e152d0a45c481d1e7c1f Mon Sep 17 00:00:00 2001 From: ChrisR Date: Wed, 13 Nov 2019 12:43:49 -0800 Subject: [PATCH 1/2] VerticalSplitClone no longer supports -min_rdonly_healthy_tablets, allows -min_rdonly_tablets Signed-off-by: ChrisR --- helm/203_vertical_split.yaml | 65 ++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 helm/203_vertical_split.yaml diff --git a/helm/203_vertical_split.yaml b/helm/203_vertical_split.yaml new file mode 100644 index 00000000000..74bb1ab15ad --- /dev/null +++ b/helm/203_vertical_split.yaml @@ -0,0 +1,65 @@ +topology: + cells: + - name: "zone1" + etcd: + replicas: 1 + vtctld: + replicas: 1 + vtgate: + replicas: 1 + mysqlProtocol: + enabled: true + authType: "none" + keyspaces: + - name: "commerce" + shards: + - name: "0" + tablets: + - type: "replica" + vttablet: + replicas: 2 + - type: "rdonly" + vttablet: + replicas: 1 + - name: "customer" + shards: + - name: "0" + tablets: + - type: "replica" + vttablet: + replicas: 2 + - type: "rdonly" + vttablet: + replicas: 1 + +jobs: + - name: "vertical-split" + kind: "vtworker" + cell: "zone1" + command: "VerticalSplitClone -min_rdonly_tablets=1 -tables=customer,corder customer/0" + +etcd: + replicas: 1 + resources: + +vtctld: + serviceType: "NodePort" + resources: + +vtgate: + serviceType: "NodePort" + resources: + +vttablet: + mysqlSize: "test" + resources: + mysqlResources: + +vtworker: + resources: + +pmm: + enabled: false + +orchestrator: + enabled: false From 4a111dcf583634492753cb503cc7dc8300fd6dfd Mon Sep 17 00:00:00 2001 From: ChrisR Date: Mon, 16 Dec 2019 09:10:23 -0800 Subject: [PATCH 2/2] VerticalSplitClone no longer supports -min_rdonly_healthy_tablets, allows -min_rdonly_tablets (with corrected file location) Signed-off-by: ChrisR --- examples/helm/203_vertical_split.yaml | 2 +- helm/203_vertical_split.yaml | 65 --------------------------- 2 files changed, 1 insertion(+), 66 deletions(-) delete mode 100644 helm/203_vertical_split.yaml diff --git a/examples/helm/203_vertical_split.yaml b/examples/helm/203_vertical_split.yaml index 677f2bbd9d5..74bb1ab15ad 100644 --- a/examples/helm/203_vertical_split.yaml +++ b/examples/helm/203_vertical_split.yaml @@ -36,7 +36,7 @@ jobs: - name: "vertical-split" kind: "vtworker" cell: "zone1" - command: "VerticalSplitClone -min_healthy_rdonly_tablets=1 -tables=customer,corder customer/0" + command: "VerticalSplitClone -min_rdonly_tablets=1 -tables=customer,corder customer/0" etcd: replicas: 1 diff --git a/helm/203_vertical_split.yaml b/helm/203_vertical_split.yaml deleted file mode 100644 index 74bb1ab15ad..00000000000 --- a/helm/203_vertical_split.yaml +++ /dev/null @@ -1,65 +0,0 @@ -topology: - cells: - - name: "zone1" - etcd: - replicas: 1 - vtctld: - replicas: 1 - vtgate: - replicas: 1 - mysqlProtocol: - enabled: true - authType: "none" - keyspaces: - - name: "commerce" - shards: - - name: "0" - tablets: - - type: "replica" - vttablet: - replicas: 2 - - type: "rdonly" - vttablet: - replicas: 1 - - name: "customer" - shards: - - name: "0" - tablets: - - type: "replica" - vttablet: - replicas: 2 - - type: "rdonly" - vttablet: - replicas: 1 - -jobs: - - name: "vertical-split" - kind: "vtworker" - cell: "zone1" - command: "VerticalSplitClone -min_rdonly_tablets=1 -tables=customer,corder customer/0" - -etcd: - replicas: 1 - resources: - -vtctld: - serviceType: "NodePort" - resources: - -vtgate: - serviceType: "NodePort" - resources: - -vttablet: - mysqlSize: "test" - resources: - mysqlResources: - -vtworker: - resources: - -pmm: - enabled: false - -orchestrator: - enabled: false