Repository navigation
Fail fast when the posix id cache is not nats-js-kv - #989
Merged
Merged
Conversation
maki5
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.
The posix driver needs a nats-js-kv id cache.
Newalready checks this, butNewDefaultconnects to NATS first. With a different store configured, e.g.redis-sentinel, that connection goes to a non-NATS server. Every attempt times out and the backoff keeps retrying for about 15 minutes before the driver fails with a generic "could not create nats key value store" error.This moves the store check in front of the connection, so the driver fails immediately with:
Includes a test for the early failure.
Related: opencloud-eu/opencloud#3264
Assisted by Claude Opus 5.5