Skip to content

Commit cf17553

Browse files
authored
fix(interactive): fix the bug by passing empty STORE_COUNT setting in Groot charts (#4406)
<!-- Thanks for your contribution! please review https://github.com/alibaba/GraphScope/blob/main/CONTRIBUTING.md before opening an issue. --> ## What do these changes do? <!-- Please give a short brief about these changes. --> The missing value for `STORE_COUNT` in configmap.yaml (https://github.com/alibaba/GraphScope/blob/main/charts/graphscope-store/templates/configmap.yaml#L126) caused the compiler to overlook multiple stores in the configuration. Consequently, the compiler might incorrectly assume the system is non-distributed, potentially omitting essential repartition operations (if worker_num is also set to 1) in the physical plan. This PR addresses the issue by properly setting the value of `STORE_COUNT`. ## Related issue number <!-- Are there any issues opened that will be resolved by merging this change? --> Fixes #4402
1 parent 54a22fb commit cf17553

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

charts/graphscope-store/templates/frontend/statefulset.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ spec:
9797
env:
9898
- name: ROLE
9999
value: "frontend"
100+
- name: STORE_COUNT
101+
value: "{{ .Values.store.replicaCount }}"
100102
- name: POD_IP
101103
valueFrom:
102104
fieldRef:

charts/graphscope-store/templates/store/statefulset-backup.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ spec:
101101
env:
102102
- name: ROLE
103103
value: "store"
104+
- name: STORE_COUNT
105+
value: "{{ .Values.store.replicaCount }}"
104106
- name: POD_IP
105107
valueFrom:
106108
fieldRef:

charts/graphscope-store/templates/store/statefulset.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ spec:
9797
env:
9898
- name: ROLE
9999
value: "store"
100+
- name: STORE_COUNT
101+
value: "{{ .Values.store.replicaCount }}"
100102
- name: POD_IP
101103
valueFrom:
102104
fieldRef:

0 commit comments

Comments
 (0)