Commit Graph
15 Commits
Author SHA1 Message Date
Junker der Provinz ced4256a9f fix(storage-users): cap the errors collected while purging the trash-bin
When the storage provider is down, the gateway answers PurgeRecycle with
a failed status instead of a transport error, so every expired item adds
an error. Keep the first ten and count the rest.
2026-12-04 10:07:41 +01:00
Junker der Provinz 4db5963734 fix(storage-users): keep purging the trash-bin when one item fails
PurgeTrashBin returned on the first item PurgeRecycle could not delete,
so a single broken trash-bin item stopped the purge for every later item
and space of that type. Skip items the storage reports an error for and
return their errors together at the end. A transport error still ends
the run, since every later call would fail the same way.

That transport error also panicked, because the status of the nil
response was read before the error.

https://github.com/opencloud-eu/opencloud/issues/4207
2026-12-03 16:20:54 +01:00
André Duffeck 2b77cb9a17 Bump reva to v3.0.1 2026-11-17 12:45:18 +01:00
André Duffeck e8d35e1280 Use the opencloud reva from now on 2025-01-21 11:16:38 +01:00
Ralf Haferkamp 213e9663a9 Rename go-micro services 2025-01-16 09:45:46 +01:00
Jörn Friedrich Dreyer b07b5a1149 use plain pkg module
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2025-01-13 16:42:19 +01:00
Jörn Friedrich Dreyer 8e028f17e9 change module name
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2025-01-13 09:58:18 +01:00
Jörn Friedrich Dreyer 84e87cd722 set the configured protocol transport for service metadata
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-08-23 20:51:17 +02:00
Jörn Friedrich Dreyer d1fd65466f reuse default node id when registering services
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-07-24 13:07:54 +02:00
Ralf Haferkamp ff6674f97b Fix fallout of reva bump
reva tries to avoid copying proto messages now. This changed some calls
to take pointers now (mainly e.g. FormatResourceId())
2024-07-11 15:21:56 +02:00
Jörn Friedrich Dreyer d9c9650afd always select next before making calls
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-04-09 16:10:50 +02:00
jkoberg e1fad5c6e9 make nats-js-kv the default registry
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-12-19 12:13:28 +01: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
Florian SchadeandRalf Haferkamp 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
Florian Schade 5da3df8ffe Space Trash-bin expiration cli (#5500)
* add storage-users trash-bin cli
add task to clean up outdated trash-bin resources
add trash-bin cli purge-expired command to purge expired trash-bin resources
add purge-expired task tests
2023-02-10 12:04:47 +01:00