Commit Graph
4 Commits
Author SHA1 Message Date
Andre Duffeck f8a8ecf724 Merge pull request #3966 from opencloud-eu/fix/postprocessing-uploadready-without-upload
fix(postprocessing): ignore UploadReady events without an upload
2026-11-18 10:34:31 +01:00
André Duffeck 2b77cb9a17 Bump reva to v3.0.1 2026-11-17 12:45:18 +01:00
Dominik Schmidt ade9daa863 fix(postprocessing): ignore UploadReady events without an upload
The posix storage publishes UploadReady with an empty UploadID when it
assimilates a file it found on disk. There is no upload session behind
such an event, so the lookup in the upload store failed with
"nats: invalid key" and logged two errors per file.

Skip these events, like PostprocessingStepFinished already does for
on demand scans.
2026-11-12 00:47:54 +01:00
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