mmattel
5e74b50efb
[docs-only] Fix envvars with a array slice ([]string)
2023-11-09 12:22:59 +01:00
Martin
897969d1b0
Update services/storage-users/pkg/config/config.go
2023-11-09 08:52:15 +01:00
mmattel
b13b880921
[docs-only] Fix envvars with a duration.
2023-11-08 18:32:39 +01:00
Ralf Haferkamp
7dde3a1175
storage-users: pass context to event handling service
...
This allows to properly shutdown the event handling loop by
cancelling the context.
2023-10-10 12:25:30 +02:00
Ralf Haferkamp
2a53dd89f4
debugServer: Set a base context for the http server
...
to allow propagating context cancellation
2023-10-10 12:25:30 +02:00
Ralf Haferkamp
54664024c8
storage-users: Properly shutdown debugServer
...
Trigger a proper debug server shutown in interrupt handler of run.Group.
2023-10-10 12:25:30 +02:00
jkoberg
f189b11ba9
default async uploads
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2023-10-05 15:33:42 +02:00
jkoberg
1f1aa50c54
hard exit when services fail
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2023-09-21 13:53:18 +02:00
jkoberg
bd716156fc
let ocis init set the serviceaccounts
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2023-08-31 12:11:44 +02:00
jkoberg
e09ddc93ea
use service accounts for storage-user commands
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2023-08-31 12:11:43 +02:00
Daniel Swärd
49fc22d532
Add missing tracing references to multiple services. ( #7110 )
2023-08-23 15:17:17 +02:00
Christian Richter
d7139d4127
remove deprecated variables
...
Signed-off-by: Christian Richter <crichter@owncloud.com >
2023-08-22 17:25:24 +02:00
jkoberg
49cdcad129
unify eventstream creation
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2023-08-16 10:14:12 +02:00
Daniël Franke
952ebe7d7d
Pass context to event publishing.
...
To allow tracing propagation via events, we need to pass the context
to the `Publish` function of reva events. This adds the context
everywhere where events are published. If there was no context to pass,
we started a new one with `context.Background()`.
2023-08-11 12:01:19 +02:00
André Duffeck
be21178c64
Improve docs
2023-07-31 10:26:19 +02:00
André Duffeck
fade832a3e
Make the async propagation delay configurable
2023-07-31 10:26:19 +02:00
André Duffeck
e8a7872d29
Add default propagator config
2023-07-31 10:26:19 +02:00
Andre Duffeck
38c04b5517
Update services/storage-users/pkg/config/config.go
...
Co-authored-by: Martin <github@diemattels.at >
2023-07-31 10:26:19 +02:00
Andre Duffeck
f17e56febc
Update services/storage-users/pkg/config/config.go
...
Co-authored-by: Martin <github@diemattels.at >
2023-07-31 10:26:19 +02:00
André Duffeck
5aa9e618f1
Make the storage-users propagator configurable
2023-07-31 10:26:19 +02:00
Daniël Franke
063b05140f
Convert storage-users to use service tracing.
...
This converts the storage users service to use the service tracing provider.
2023-07-28 11:25:43 +02:00
Martin
6be90847b7
Update services/storage-users/README.md
...
Co-authored-by: Edith Parzefall <edith_parzefall@gmx.de >
2023-07-19 14:35:52 +02:00
mmattel
6c33d945f3
update readme
2023-07-19 13:27:30 +02:00
Martin
35dd1fa173
Update services/storage-users/README.md
...
Co-authored-by: Edith Parzefall <edith_parzefall@gmx.de >
2023-07-19 13:02:48 +02:00
Martin
1ec451d3d5
Apply suggestions from code review
...
Co-authored-by: Edith Parzefall <edith_parzefall@gmx.de >
2023-07-19 13:02:25 +02:00
mmattel
5f72c61089
envvar text fix and readme addon
2023-07-19 11:06:29 +02:00
Ralf Haferkamp
e32aef17cd
storage-users: Add config option for graceful shutdown timeout
...
Add STORAGE_USERS_GRACEFUL_SHUTDOWN_TIMEOUT setting to allow a graceful
shutdown of the storage-users service. This currently only applicable
when running storage-user as a sepearate service.
Setting STORAGE_USERS_GRACEFUL_SHUTDOWN_TIMEOUT to a non-zero value
gives the storage-users service a chance to cleanly shutdown and finish
any in progess tasks (e.g. metadata propagation) before exiting.
Partial-Fix: #6602
2023-07-18 16:47:26 +02:00
mmattel
6ad53971ef
[docs-only] Increase readability for log level values in the description
2023-07-07 10:33:42 +02:00
mmattel
d7b447b791
[docs-only] Increase readability for tracing values in the description
2023-07-07 09:50:39 +02:00
mmattel
758192bd6d
[docs-only] Fix some envvar descriptions
2023-06-09 13:03:17 +02:00
Florian Schade
4f26424db6
[full-ci] enhancement: use reva client pool selectors ( #6452 )
...
* enhancement: use reva client pool selectors
register mock service to registry and pass tests
* enhancement: bump reva
* Fix a couple of linter issues
---------
Co-authored-by: Ralf Haferkamp <rhaferkamp@owncloud.com >
2023-06-08 12:41:04 +02:00
jkoberg
d347448ec0
remove duplicated sutureservice code
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2023-06-02 12:02:27 +02:00
Jörn Friedrich Dreyer
b8bdd4573a
introduce otlp tracing ( #5132 )
...
* introduce otel tracing
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* use new trace provider initialization
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* work
* bump reva
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* remove commented code
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* add vendor changes
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
---------
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2023-05-26 22:21:03 +02:00
jkoberg
70391a0bf2
unify CACERT envvars
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2023-05-25 13:32:37 +02:00
mmattel
14153f86be
[docs-only] Add new caching envvar to storage-users service
2023-05-22 17:10:54 +02:00
jkoberg
2a5caf74e8
idcache configuration
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2023-05-22 09:51:37 +02:00
mmattel
e5746d8176
[docs-only] Fix wrong default metadata backend
2023-05-12 13:34:13 +02:00
Martin
edbecf0aa5
Merge pull request #6244 from owncloud/upload_expiration_warning
...
[docs-only] Add note that uploads could be canceled when setting is too low
2023-05-05 14:26:53 +02:00
mmattel
ab50b9efd1
[docs-only] Add note that uploads could be canceled when setting is too low
2023-05-05 12:57:46 +02:00
mmattel
14e577d452
[docs-only] An envvar in the storage-users service needs separation by semicolon
2023-05-05 12:38:39 +02:00
Martin
62a93bc9c4
Apply suggestions from code review
2023-05-04 09:06:46 +02:00
mmattel
e89ea96470
[docs-only] Add readme.md note to not use xattrs anymore
2023-05-04 08:58:56 +02:00
mmattel
037422ba1f
[docs-only] Set messagepack as default metadata backend
2023-05-03 12:22:09 +02:00
mmattel
f8ede78461
[docs-only] Fix that envvars use messagepack instead of ini as supported values.
2023-04-27 14:38:50 +02:00
Andre Duffeck
129489203b
Cleanup and improve the caching config ( #6148 )
...
* Cleanup and improve the caching config
* bump reva
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* disable stat cache
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
* Bump reva
* Linter fixes
---------
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
Co-authored-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2023-04-27 12:35:30 +02:00
Martin
9bf4b3eb18
Merge pull request #6119 from owncloud/update_readme_caching
...
[docs-only] Add caching/storing info to services where missing
2023-04-24 15:13:49 +02:00
Andre Duffeck
77bb3d8bcd
[full-ci] Refactor stores ( #6019 )
...
* Streamline the store implementation with and into reva
* Adapt to the cache/store refactoring in reva
* Streamline config options and their env vars
* Apply suggestions from code review
Co-authored-by: Martin <github@diemattels.at >
* Use the same database for all stores
* Bump reva
* Configure stat and filemetadata cache separately
* Fix default config
---------
Co-authored-by: Martin <github@diemattels.at >
2023-04-24 15:13:35 +02:00
EParzefall
e2686f90b9
spelling fixes
2023-04-24 13:55:10 +02:00
Edith Parzefall
6d7b13c7a5
Apply suggestions from code review
...
language review
2023-04-24 12:33:37 +02:00
mmattel
3d12979dd1
Add caching/storing info to services where missing
2023-04-24 12:13:44 +02:00