Repository navigation
Don't reset main-queue settings on startup - #984
Merged
Merged
Conversation
Only set MaxAge on main-queue when it has none, and keep the rest of the existing config. The old full-config update reset replicas to 1. Fixes opencloud-eu/opencloud#3869
maki5
approved these changes
Nov 11, 2026
maki5
left a comment
There was a problem hiding this comment.
looks ok to me but it will be good to add a test for this case
rhafer
approved these changes
Nov 11, 2026
NickWalters
pushed a commit
to NickWalters/reva
that referenced
this pull request
Nov 16, 2026
Brings the typed storage results (opencloud-eu#986), the stuck synchronous upload fix (opencloud-eu#976), the main-queue replica fix (opencloud-eu#984), the posix id cache fail fast (opencloud-eu#989) and release 2.52.2 into workpackages. The typed results were mostly mechanical: the ocm received driver keeps its service account client, nextcloud keeps its real TouchFile (now returning a TouchFileResult), and the coordinator ignores the TouchFile result and still reads the node back, because not every driver fills it. opencloud-eu#976 patched the legacy upload session store, which workpackages removed. Its recovery of nodes left processing by an interrupted synchronous upload moves into the pkg fork as Decomposedfs.recoverInterruptedUpload. The coordinator stages sessions in the same <upload dir>/<id> and <id>.info layout as the old store, so nodes stuck by older versions still heal on the first download. Aspects.DisableVersioning stays gone, SeparateBlobs comes along. The sync specs now drive uploads through the coordinator. The two blob-first specs follow with the next commit, which moves the blob-first write to the coordinator path. Assisted-by: Claude Code:claude-opus-5-5 Signed-off-by: Jörn Friedrich Dreyer <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Every service that opens an event stream ran
UpdateStreamonmain-queuewith a config that only hadNameandMaxAgeset. A JetStream update replaces the whole stream config, so any other setting fell back to its default on each service start. On an external 3-node NATS cluster this dropped the stream from R3 to R1. Limits and discard policy set by an admin were reset the same way.What changes:
MaxAgeis changed, and the full config is sent back.MaxAgeis only set when the stream has none. Restarts no longer touch the stream, and a customMaxAgeis kept.Fixes opencloud-eu/opencloud#3869
Assisted by Claude Opus 5.5