Aura M2: Garage object store · content_ref · orphan GC

Garage + content_ref

  • Product pin: Garage (S3/SigV4). MinIO CE 신규 비채택; NCP/AWS = endpoint swap.
  • Buckets: aura-content keys tenants/{tenant_id}/refs/{yyyy}/{mm}/{content_id} (+ archive//bundles/); Barman aura-pg credentials separate.
  • NATS/RPC body >256KiB or PII → envelope content_ref only (scheme=s3, bucket/key/size, optional enc.alg+enc.kid).
  • Public ACL 금지 · Egress allowlist to AURA_S3_ENDPOINT. Live provision/cost = @eric hold.
  • L0: deploy/docs/object-store-content-ref.md · check-object-store-content-ref.sh.

Orphan GC (V2.2)

  • Grace 90d (= AURA_EVENTS retention); candidates only under tenants/.../refs/ on aura-content.
  • Task aura.tasks.memory.object_gc daily · batch≤100 · idempotent key; EXISTS live metadata.content_ref → skip; never GC archive/bundles/aura-pg.
  • Impl = M4; gate check-object-store-orphan-gc.sh.