junkerderprovinz
654f0e8e20
fix(postprocessing): retry publishing events instead of killing the server
...
A single transient nats: timeout on event publish was fatal to the whole
single-binary server, with no retry despite the service already having
backoff machinery for step failures. Now retries with the same exponential
backoff, capped at half the ack wait so the source event isn't redelivered
to another worker mid-retry. Also stops acking the source event when
publish ultimately fails, so the upload resumes after restart instead of
staying orphaned, and no longer exits during graceful shutdown.
2026-08-19 11:23:46 +02:00
Florian Schade
288e67cc39
chore: replace interface with any
2026-04-23 09:31:11 +02:00
André Duffeck
4704cedd3b
Add metrics for the postprocessing duration
2025-07-17 15:23:57 +02:00
André Duffeck
e8d35e1280
Use the opencloud reva from now on
2025-01-21 11:16:38 +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
72e3e54fe0
make delay only affect the step
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2024-10-22 10:04:56 +02:00
jkoberg
5fed7166b4
feat(alog/pp): introduce impersonating users
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2024-09-24 18:21:45 +02:00
jkoberg
3b994e6510
feat(postprocessing): dont retry finished uploads
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2024-04-26 09:17:45 +02:00
jkoberg
7d990390c3
fix(postprocessing): repair restart logic
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2024-04-08 11:20:01 +02:00
jkoberg
73a2ee5f87
initiatorid for uploads
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2024-03-22 15:15:55 +01:00
jkoberg
a9ce2e003c
allow bulkrestarting postprocessing
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2024-01-26 15:22:48 +01:00
André Duffeck
c43b9d9bc6
Allow for retrying postprocessing steps with an exponential backoff
2023-12-12 14:08:21 +01:00
jkoberg
76141a492f
add functionality for resending pp events
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2023-06-13 10:50:07 +02:00
jkoberg
a324ad48a0
add a store to postprocessing
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2023-05-12 11:04:41 +02:00
jkoberg
d468a23315
deprecate POSTPROCESSING_VIRUSSCAN
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2023-01-26 11:50:16 +01:00
jkoberg
22f20b2b2e
better configuration for pp service
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2023-01-25 12:32:09 +01:00
jkoberg
1b032c7617
cosmetical touches
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2022-12-08 11:06:36 +01:00
jkoberg
a004095a6c
add postprocessing service
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2022-12-08 11:00:42 +01:00