Skip to content

Audit residual bucket-metadata delete/update and cache ordering #105

Closed

Description

@Vonng

Context

PR #103 closed the confirmed whole-record lost-update and metadata-clobber defects tracked by #102. It introduced the shared metadata.lock boundary and covered normal updates/deletes, peer and bulk writers, import rebasing, migration, ForceCreate, site adoption, cancellation, and documented rolling-upgrade behavior.

The original issue deliberately listed three adjacent cases that PR #103 did not claim to fix. They are split here so #102 can close without losing that boundary.

Audit targets

  • Reproduce or disprove a higher-level lifecycle XML merge racing another bucket-metadata transition outside BucketMetadataSys.Delete.
  • Reproduce or disprove DeleteBucket racing an already in-flight metadata writer and resurrecting a ghost .metadata.bin record.
  • Reproduce or disprove overlapping peer reloads publishing an older cache record after a newer save, leaving the resident cache one revision behind until refresh.

Required method

  • Add a deterministic red test before changing production code.
  • Exercise both object-layer backends where the path exists.
  • Keep lock ordering explicit; do not acquire metadata.lock under the .metadata.bin namespace lock.
  • Separate persistent-record correctness from resident-cache freshness.
  • Do not broaden the 20260903 release claim unless a reproduced defect, fix, and regression test land before the release tag.

Release boundary

No reproduced production failure remains here today. This audit is not a blocker for RELEASE.2026-09-03T00-00-00Z. Any confirmed failure gets its own focused repair and compatibility note.

Parent: #102
Implemented foundation: #103

Activity

  1. added
    bug
    on Sep 2, 2026
  2. moved this from Backlog to In progress in Siloon Sep 8, 2026
  3. moved this from In progress to Done in Siloon Sep 8, 2026
  4. added
    maintenance
    and removed
    bug
    on Sep 15, 2026
  5. self-assigned this
    on Sep 15, 2026
  6. added theissue type on Sep 15, 2026
  7. added this to the 20260916 milestone on Sep 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

maintenance

Type

Projects

  • Status
    Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions