Skip to content

Commit e34c9ed

Browse files
committed
allow enabling async metadata propagation
Signed-off-by: Jörn Friedrich Dreyer <[email protected]>
1 parent bd39277 commit e34c9ed

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

charts/ocis/templates/storageusers/deployment.yaml

+8
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,14 @@ spec:
7575
- name: STORAGE_USERS_DATA_SERVER_URL
7676
value: "http://{{ .appName }}:9158/data"
7777

78+
# propagation strategy
79+
{{- if .Values.services.storageusers.asyncPropagation.enabled }}
80+
- name: OCIS_DECOMPOSEDFS_PROPAGATOR
81+
value: "async"
82+
- name: STORAGE_USERS_ASYNC_PROPAGATOR_PROPAGATION_DELAY
83+
value: {{ .Values.services.storageusers.asyncPropagation.delay | quote }}
84+
{{- end }}
85+
7886
# oCIS storage driver (decomposed filesystem)
7987
{{- if eq .Values.services.storageusers.storageBackend.driver "ocis" }}
8088
- name: STORAGE_USERS_DRIVER

charts/ocis/values.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -1881,6 +1881,11 @@ services:
18811881
# -- Number of event consumers to be started that concurrently consume events (eg. postprocessing related events)
18821882
concurrency: 10
18831883

1884+
# -- Enable asynchronous metadata propagation
1885+
asyncPropagation:
1886+
enabled: false
1887+
delay: "5s"
1888+
18841889
storageBackend:
18851890
# -- Configures the storage driver. Possible values are "ocis" and "s3ng".
18861891
# The oCIS driver stores all data in the persistent volume if persistence is enabled.

0 commit comments

Comments
 (0)