Commit 595d790
fix: disable MinIO bucket versioning to prevent unbounded storage growth (#1099)
## Summary
- Switches MinIO bucket setup from `version enable` to `version suspend`
in `scripts/setup-minio.sh`
- The state-sync sidecar overwrites the same objects every 60s, and with
versioning enabled every overwrite created a new non-current version
that was never cleaned up
- On vteam-uat this accumulated **12.6M versions** consuming **~484
GiB** on a bucket with only 52 GiB of current data (313K objects)
## What was done on vteam-uat
1. Suspended versioning on the `ambient-sessions` bucket
2. Purging all non-current versions (in progress — 12.6M versions to
delete)
## Test plan
- [ ] Verify `scripts/setup-minio.sh` runs cleanly on a fresh MinIO
instance
- [ ] Confirm sessions still sync/resume correctly without versioning
- [ ] Monitor MinIO disk usage to confirm it stabilizes
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Ambient Code Bot <bot@ambient-code.local>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent f81b269 commit 595d790
1 file changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
63 | | - | |
64 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
65 | 67 | | |
66 | 68 | | |
67 | 69 | | |
| |||
0 commit comments