Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: rename mysql topology to semisync #1359

Merged
merged 4 commits into from
Dec 27, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions addons-cluster/mysql/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,10 @@
"default": "server",
"description": "Topology type of the server",
"enum": [
"server",
"server-with-proxy",
"semisync",
"semisync-with-proxysql",
xuriwuyun marked this conversation as resolved.
Show resolved Hide resolved
"orc",
"orc-with-proxy"
"orc-with-proxysql"
]
},
"proxysql": {
Expand Down
3 changes: 1 addition & 2 deletions addons-cluster/mysql/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ requests:
## @param storage size, the unit is Gi
##
storage: 20
# values: [server, server-with-proxy, server-with-orc]
topology: server
topology: semisync
proxysql:
replicas: 1
cpu: 1
Expand Down
6 changes: 3 additions & 3 deletions addons/mysql/templates/clusterdefinition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ metadata:
{{- include "mysql.apiVersion" . | nindent 4 }}
spec:
topologies:
- name: server
- name: semisync
components:
- name: mysql
compDef: {{ include "mysql.componentDefRegex" . }}
Expand All @@ -17,7 +17,7 @@ spec:
components:
- name: mysql
compDef: {{ include "mysql.cmpdOrcNamePrefix" . }}
- name: orc-with-proxy
- name: orc-with-proxysql
components:
- name: mysql
compDef: {{ include "mysql.cmpdOrcNamePrefix" . }}
Expand All @@ -33,7 +33,7 @@ spec:
update: # When there are multiple component update operations, follow the order specified here.
- mysql
- proxysql
- name: server-with-proxy
- name: semisync-with-proxysql
components:
- name: mysql
compDef: {{ include "mysql.componentDefRegex" . }}
Expand Down
Loading