cozystack/packages/system/objectstorage-controller/images/objectstorage
Myasnikov Daniil 5e88a1410c
fix(objectstorage-controller): retry on Bucket update conflict during BucketAccess reconcile
Upstream COSI v0.2.2's BucketAccess reconciler does a Get->mutate->Update
on the parent Bucket and surfaces "Operation cannot be fulfilled ... the
object has been modified" as a FailedGrantAccess event when it races
against the Bucket reconciler in the same controller process. Wrap the
mutation in retry.RetryOnConflict so the reconcile loop refreshes and
retries instead of leaking the conflict to users.

Carried as 91-bucketaccess-conflict-retry.diff until upstreamed
(cf. 89-reconciliation.diff and 90-bucket-name.diff, both dropped
in c29d501b once merged upstream).

Signed-off-by: Myasnikov Daniil <myasnikovdaniil2001@gmail.com>
2026-04-29 11:43:13 +05:00
..
patches fix(objectstorage-controller): retry on Bucket update conflict during BucketAccess reconcile 2026-04-29 11:43:13 +05:00
Dockerfile fix(objectstorage-controller): retry on Bucket update conflict during BucketAccess reconcile 2026-04-29 11:43:13 +05:00