Skip to content

Commit e3e5fff

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

File tree

4 files changed

+24
-0
lines changed

4 files changed

+24
-0
lines changed

charts/ocis/docs/values-desc-table.adoc

+6
Original file line numberDiff line numberDiff line change
@@ -3774,6 +3774,12 @@ a| [subs=-attributes]
37743774
a| [subs=-attributes]
37753775
`{}`
37763776
| Affinity settings for the storageusers service. See the documentation of this setting in approvider for examples.
3777+
| services.storageusers.asyncPropagation
3778+
a| [subs=-attributes]
3779+
+object+
3780+
a| [subs=-attributes]
3781+
`{"delay":"5s","enabled":false}`
3782+
| Enable asynchronous metadata propagation
37773783
| services.storageusers.autoscaling
37783784
a| [subs=-attributes]
37793785
+object+

charts/ocis/docs/values.adoc.yaml

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

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

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)