Repository navigation
fix: [stable-8.2][OCISDEV-1685] remove stale group shares in the share manager - #13561
Merged
Merged
Conversation
✅ 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. |
…e manager Update reva to the commit 1b56ab246 of owncloud/reva#844, the backport of owncloud/reva#833 to stable-8.2. A stale group share is a share ID in the group cache that has no share. On each listing of the received shares, the jsoncs3 share manager uploaded the received.json file of the user again with the same content, and the stale ID stayed. The new reva removes stale group shares, and it removes many shares with one upload for each document. The removal of shares uses at least 3 parallel removals, also when SHARING_USER_JSONCS3_MAX_CONCURRENCY is 1. The default of the setting does not change. The setting description and the changelog describe the minimum. Backport of #13545 to stable-8.2. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Signed-off-by: Roman Perekhod <[email protected]>
…hangelog Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Signed-off-by: Roman Perekhod <[email protected]>
2403905
force-pushed
the
fix/OCISDEV-1685-jsoncs3-stable-8.2
branch
from
November 25, 2026 12:46
f53d877 to
5b40a84
Compare
2403905
marked this pull request as ready for review
November 25, 2026 13:15
2403905
enabled auto-merge (squash)
November 25, 2026 13:32
f-firas
approved these changes
Nov 25, 2026
LukasHirt
approved these changes
Nov 25, 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 #13545 to
stable-8.2.Status: draft, stacked on reva
go.modpoints to commit1b56ab246of the reva PR owncloud/reva#844 (OCISDEV-1685). That PR is stacked on owncloud/reva#843 (OCISDEV-855). Merge the reva PRs first. Then bump reva to the merge commit and mark this PR as ready.Problem
The jsoncs3 share manager uploaded the
received.jsonfile of a user again on each listing of the received shares when the user had a stale group share. The stale ID stayed, so this repeated on each listing. The description is in #13460 and owncloud/reva#813.Change
go.modandvendor/: bump reva.services/sharing/pkg/config/config.go: the description ofSHARING_USER_JSONCS3_MAX_CONCURRENCYsays that the removal of shares always uses at least 3 go-routines. The default does not change.docs/helpers/env_vars.yaml: same description change. This file exists onstable-8.2.changelog/unreleased/bugfix-jsoncs3-stale-group-shares.md: changelog entry.Other reva commits in the bump
stable-8.2of ocis was behind the revastable-8.2branch. The bump also brings:Tests
./ocis/cmd/ociswith-mod=vendor.go testpasses for./services/sharing/...and./services/storage-users/pkg/command/....🤖 Generated with Claude Code