From 74b6eddf8d9775e5d9550fb1ba481346142e9183 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Friedrich=20Dreyer?= Date: Tue, 27 Oct 2026 15:30:23 +0100 Subject: [PATCH] storage-users: name the queue group the uploads command must stay out of MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The driver no longer consumes postprocessing events: the upload coordinator does, in the "dcfs" group, and the driver only consumes DeleteRevision in "dcfs-revisions". The command still disables async uploads so it does not join that group. Assisted-by: Claude Code:claude-opus-5-5 Signed-off-by: Jörn Friedrich Dreyer --- services/storage-users/pkg/command/uploads.go | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/services/storage-users/pkg/command/uploads.go b/services/storage-users/pkg/command/uploads.go index b1d100ffc6..42ec9c0064 100644 --- a/services/storage-users/pkg/command/uploads.go +++ b/services/storage-users/pkg/command/uploads.go @@ -96,10 +96,12 @@ func ListUploadSessions(cfg *config.Config) *cobra.Command { // We need to init the posix driver with 'scanfs' disabled posixDrivers := revaconfig.Posix(cfg, false, false) // Disable async file uploads: this command only lists sessions and publishes - // events, but with async uploads enabled the driver would join the "dcfs" - // JetStream queue group. Events routed to this short-lived CLI member are - // auto-acked by the nats client and lost when the process exits, so the - // clean/restart/resume events published below would never reach the daemon. + // events, but with async uploads enabled the driver would join the + // "dcfs-revisions" JetStream queue group. Events routed to this short-lived + // CLI member are auto-acked by the nats client and lost when the process + // exits, so the daemon would miss them. The coordinator built below does not + // subscribe to postprocessing events, so the clean/restart/resume events + // published below reach the daemon. posixDrivers["asyncfileuploads"] = false drivers["posix"] = posixDrivers // Also posix refuses to start without an events stream