Repository navigation
fix: [stable-8.2][OCISDEV-855] handle transient/InternalError storage failures in receivedsharecache retry path - #843
Merged
Conversation
… failures in receivedsharecache retry path Backport of #751 from stable-8.0 (cherry picked from commit e28d93d). Main had the first version of the retry loop (#657). This commit replaces it with the cas package and the fixes of #751. The fix for OCISDEV-1685 needs them. Differences from #751: 1. The jsoncs3 cache packages, the cas package, the test helpers and the integration test come unchanged from #751. 2. storageprovider.go keeps the IsTooEarly case of main. It adds the cases Aborted and AlreadyExists. 3. The TooEarly check in Decomposedfs.Download is not added. Main already returns ResourceProcessing for a node in processing. 4. The changes in tree.go and the new tests for tree.go, decomposedfs.go and storageprovider.go are not added. Main changed the upload path with the upload coordinator, and the tests do not fit. Co-authored-by: Michal Klos <[email protected]> Co-authored-by: Claude Sonnet 5.5 <[email protected]> Backport of #831 to stable-8.2.
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
LarsJurgensen
approved these changes
Nov 24, 2026
mklos-kw
approved these changes
Nov 24, 2026
deyankiteworks
approved these changes
Nov 24, 2026
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.
Backport of #831 to
stable-8.2.Change
caspackage and the fixes of fix: [OCISDEV-855] handle transient/InternalError storage failures in receivedsharecache retry path #751 to the jsoncs3 cache packages.Tests
go build ./...passes.go testpasses for./pkg/share/manager/jsoncs3/...and./pkg/storage/utils/metadata/....🤖 Generated with Claude Code