Repository navigation
[server] Add recoverable bulk-load transactions - #4771
Open
platinumhamburg wants to merge 2 commits into
Open
platinumhamburg wants to merge 2 commits into
platinumhamburg wants to merge 2 commits into
Conversation
platinumhamburg
marked this pull request as ready for review
October 21, 2026 03:41
platinumhamburg
force-pushed
the
feature/bulkload-server-transactions
branch
3 times, most recently
from
October 23, 2026 09:36
f4ef902 to
1bd7b65
Compare
Coordinate bulk-load transactions with durable commit and abort decisions, fenced replica activation, and snapshot recovery. Preserve normal table lifecycle behavior across deletion, restart, and failover. Cover transaction recovery, replica fencing, snapshot import, continued online writes, and deletion interleavings with integration and regression tests.
platinumhamburg
force-pushed
the
feature/bulkload-server-transactions
branch
from
October 26, 2026 05:36
1bd7b65 to
6a86372
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
Part of #4222. Implements the server-side transaction protocol tracked by #4224, following #4242.
Bulk loading an empty primary-key table or physical partition must keep the target inaccessible until every imported bucket is installed and its assigned replicas are ready. The Coordinator now owns a recoverable Begin / GetInProgress / Commit / Abort lifecycle through internal RPCs.
Brief change log
Tests
BulkLoadServerITCase: all 12 E2E cases passed, covering import and continued online writes, abort, target fencing, Coordinator/leader loss, TabletServer restart, partition bucket layouts and terminal-result retries.API and Format
Adds internal Coordinator RPCs and version 1 of NotifyLeaderAndIsr. Adds optional bulk-load ownership/state and protocol-capability fields to registration metadata, plus persistent bulk-load transaction records. Begin rejects servers that do not advertise the required capability.
Documentation
The public SDK and engine-facing usage documentation are tracked by the remaining tasks under #4222.