Skip to content

fix: [stable-8.2][OCISDEV-855] handle transient/InternalError storage failures in receivedsharecache retry path - #843

Merged
2403905 merged 1 commit into
stable-8.2from
fix/OCISDEV-855-stable-8.2
Nov 24, 2026
Merged

2403905 merged 1 commit into
stable-8.2from
fix/OCISDEV-855-stable-8.2

Conversation

@2403905

@2403905 2403905 commented Nov 24, 2026

Copy link
Copy Markdown

Backport of #831 to stable-8.2.

Change

  1. Cherry-pick of the commit of fix: [stable-9.0][OCISDEV-855] handle transient/InternalError storage failures in receivedsharecache retry path #831. It applied without conflicts.
  2. The commit adds the cas package and the fixes of fix: [OCISDEV-855] handle transient/InternalError storage failures in receivedsharecache retry path #751 to the jsoncs3 cache packages.
  3. The fix for OCISDEV-1685 needs this change. See the stacked PR.

Tests

  • go build ./... passes.
  • go test passes for ./pkg/share/manager/jsoncs3/... and ./pkg/storage/utils/metadata/....

🤖 Generated with Claude Code

… 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.
@kw-security

kw-security commented Nov 24, 2026 •

Copy link
Copy Markdown

✅ Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
✅ Open Source Security 0 0 0 0 0 issues
✅ Licenses 0 0 0 0 0 issues
✅ Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@2403905
2403905 merged commit e6c5afe into stable-8.2 Nov 24, 2026
16 checks passed
@2403905
2403905 deleted the fix/OCISDEV-855-stable-8.2 branch November 24, 2026 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants