Skip to content

feat(gc) 3/4: SQLite and PostgreSQL compaction (#48-#49) - #699

Closed
mengmengmengqiang wants to merge 1 commit into
gc-part2b-admission-markfrom
gc-part3b-compaction
Closed

mengmengmengqiang wants to merge 1 commit into
gc-part2b-admission-markfrom
gc-part3b-compaction

Conversation

@mengmengmengqiang

Copy link
Copy Markdown
Contributor

Part 3 of 4 (stacked on part 2).

  • SQLite compaction: seal, step 1.5, VACUUM INTO, immutable verify, install fence, artifacts, crash/kill recovery.
  • PostgreSQL compaction: Phase M/A/B/C, gc_op/gc_dead, scratch schema, swap, totals, standby/lost reply.
  • real-process SIGKILL and CLI-process kill tests; peak-temp receipt bound.

@mengmengmengqiang

Copy link
Copy Markdown
Contributor Author

LayerFS workspace test (snapshot split-l3, T9 completion): SQLite 34/34 (sqlite_compact 20, sqlite_compact_crash 13, sqlite_compact_fixtures 1). PostgreSQL tests are present but NOT_RUN (no LAYERFS_TEST_POSTGRES_URL/server). The snapshot had a default-feature workspace compile gap (control/.../compact.rs imported PG types unguarded); fixed on this branch (commit 40e6305) — cargo check --workspace and --features postgresql both pass. sqlite_compact_matrix is introduced in part 4, not here.

@mengmengmengqiang

Copy link
Copy Markdown
Contributor Author

Superseded by the rebuilt 10-PR stacked GC series:

The new series is stacked bottom-up on layerfs_v2_0_0; each PR is based on the previous branch. Closing this PR to keep a single review series.

@mengmengmengqiang
mengmengmengqiang deleted the gc-part3b-compaction branch November 16, 2026 02:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant