Repository navigation
fix: [stable-8.2][OCISDEV-1685] remove stale group shares in jsoncs3 - #844
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. |
kobergj
previously approved these changes
Nov 24, 2026
mklos-kw
previously approved these changes
Nov 24, 2026
Backport of #813 from stable-8.0 (cherry picked from commit ee73b99). This commit depends on the backport of #751 (OCISDEV-855). It applies on top of it. Differences from #813: 1. ProcessEvents keeps the tracing and autoprop context of stable-9.0. It passes this context to purgeSpace and logs the errors that purgeSpace returns. 2. The tests of the received share cache use the new test storage fullDownloadStorage. stable-9.0 has a newer metadata.Disk. It answers NotModified when IfNoneMatch has the etag of the file. The tests inject a conflict while the file does not change, so a re-read would keep the state of the failed write. A real conflict changes the etag, and the production code is not affected. Co-authored-by: Claude Sonnet 5.5 <[email protected]> Backport of #833 to stable-8.2.
2403905
dismissed stale reviews from mklos-kw and kobergj
November 24, 2026 09:27
The merge-base changed after approval.
2403905
force-pushed
the
fix/OCISDEV-1685-stable-8.2
branch
from
November 24, 2026 09:27
1b56ab2 to
3ba8330
Compare
2403905
added a commit
to owncloud/ocis
that referenced
this pull request
Nov 25, 2026
…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]>
LukasHirt
approved these changes
Nov 25, 2026
2403905
added a commit
to owncloud/ocis
that referenced
this pull request
Nov 25, 2026
…e manager (#13561) * fix: [stable-8.2][OCISDEV-1685] remove stale group shares in the share 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]> * docs: [stable-8.2][OCISDEV-1685] fix the pull request number in the changelog Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Signed-off-by: Roman Perekhod <[email protected]> --------- Signed-off-by: Roman Perekhod <[email protected]> Co-authored-by: Claude Sonnet 5.5 <[email protected]>
kobergj
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 #833 to
stable-8.2.Status
#843 is merged. This PR is rebased on
stable-8.2and has one commit.Change
Tests
go build ./...passes.go testpasses for./pkg/share/manager/jsoncs3/...and./pkg/storage/utils/metadata/....🤖 Generated with Claude Code