From 8cbe43b3bb37c86e90a204358ad220ee021ff2ee Mon Sep 17 00:00:00 2001 From: Michal Klos Date: Fri, 14 Aug 2026 13:10:21 +0200 Subject: [PATCH] feat: [stable-8.0][OCISDEV-855] receivedsharecache: retry on transient storage errors in CAS loop (#12787) feat: [OCISDEV-855] receivedsharecache: retry on transient storage errors in CAS loop (#12621) --- .../bugfix-share-metadata-corruption-concurrent.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 changelog/unreleased/bugfix-share-metadata-corruption-concurrent.md diff --git a/changelog/unreleased/bugfix-share-metadata-corruption-concurrent.md b/changelog/unreleased/bugfix-share-metadata-corruption-concurrent.md new file mode 100644 index 00000000000..466828ce9fe --- /dev/null +++ b/changelog/unreleased/bugfix-share-metadata-corruption-concurrent.md @@ -0,0 +1,9 @@ +Bugfix: Fix share metadata corruption during concurrent share operations + +When multiple sharing service replicas processed share operations concurrently +for the same user, the share metadata could become corrupted with references to +missing data, making all shares inaccessible to that user. The received share +cache now uses compare-and-swap (etag) validation to detect concurrent writes +and retries gracefully, preventing metadata corruption. + +https://github.com/owncloud/ocis/pull/12621