Skip to content

draft: prototype automatic SchemeShard mutation snapshots - #45

Draft
Enjection wants to merge 1 commit into
draft/schemeshard-mutation-snapshots-basefrom
draft/schemeshard-mutation-snapshots
Draft

Enjection wants to merge 1 commit into
draft/schemeshard-mutation-snapshots-basefrom
draft/schemeshard-mutation-snapshots

Conversation

@Enjection

@Enjection Enjection commented Sep 6, 2026 •

Copy link
Copy Markdown
Owner

Changelog entry

Deferred SchemeShard automatic mutation-snapshot prototype; not for release.

Description for reviewers

Extract the automatic object snapshots, rollback restoration, and partitioning CoW prototype from upstream #46343. This draft uses a fixed base at the reduced ownership commit (fe39a0b), so its diff contains only the deferred layer and its tests while the upstream PR advances with main.

Intentionally not ready to merge: whole-table snapshots still copy per-shard statistics even with CoW partitioning, which is costly for tables with 200,000+ shards. A scalable mutation/rollback design needs separate review; this prototype is not MVCC.

Verification: ut_base, ut_ttl, and ut_split_merge passed locally with hya make -T --build=relwithdebinfo -ttt: 3 suites, 444/444 tests. The tested source tree exactly matches this draft's head.

@coderabbitai

coderabbitai Bot commented Sep 6, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@Enjection
Enjection changed the base branch from draft/schemeshard-tpathref to draft/schemeshard-mutation-snapshots-base September 7, 2026 08:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant