objectfs: make SQLite the only metadata store and delete the legacy store #161
All Vouch review confidence checks passed
Residual risk 0.15 = Change Risk (0.36) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.36 · 180 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.311
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #161"
general
weight: 0.35
justinsb
Make SQLite the sole metadata storage engine in
objectfsand remove the legacy circular buffer metadata store.Changes Summary
LocalStorageandpkg/objectfs/controller/local_store.go, the eviction persistence inonEvictInode/onEvictDir,metadataResolver, and circular buffer files/structures.metadataStore == ...branches acrosspkg/objectfs/controller/volume.go.--metadata-storetosqliteand added a warning whenlegacyis passed.importErofsToSQLiteLockedfor volumes starting with legacy EROFS snapshots, followed by stream replay. AddedTestLegacyErofsVolumeMigrationAndReplayToSQLiteto verify EROFS snapshot import with subsequent stream mutation replay.LRUCachetests topkg/objectfs/controller/metadata_cache_test.go.dev/ci/presubmits/ap-posixto run the POSIX gate once in SQLite mode, and updateddev/tasks/fuse-startdefault.docs/objectfs.mdto document the SQLite metadata store, in-memory overlay, read cache, and multi-tier recovery hierarchy.Note: Legacy
MutationRecordreplay (replayRecordsLocked) now maps to SQLite and will be cleaned up in a follow-up PR if pre-SDS streams are no longer needed.Fixes #156