fix
patch
task/phase2-per-batch-commits
#1 / 1
fix: per-batch snapshot and commit-row commits in wire_push_stream (Phase 2)
Split snapshot and commit-row INSERTs into STREAM_COMMIT_BATCH_SIZE-sized slices, each committed independently. Wraps both phases in try/except to yield ERROR frames on ConnectionDoesNotExistError instead of propagating. Adds STREAM_COMMIT_BATCH_SIZE constant and 5 Phase 2 TDD tests (P2-1..P2-5).
sha256:21eb6794362734df28b0ae9b6004b0fae0a70767d739b02bdb4ca499e2413fef
sha
+49
~14
symbols
sha256:857e2271d8cbe6f913eecdbc9e9e35152def41c1c7be931af0be0f9287138979
snapshot
+49
symbols added
~14
symbols modified
0
dead code introduced
Semantic Changes
63 symbols
+
test_p2_1_snapshot_commits_per_batch
function
async_function test_p2_1_snapshot_commits_per_batch L229–260
+
test_p2_2_commit_rows_committed_per_batch
function
async_function test_p2_2_commit_rows_committed_per_batch L268–302
+
test_p2_3_snapshot_batch_0_durable_after_batch_1_fails
function
async_function test_p2_3_snapshot_batch_0_durable_after_batch_1_fails L310–371
+
test_p2_4_commit_batch_0_durable_after_batch_1_fails
function
async_function test_p2_4_commit_batch_0_durable_after_batch_1_fails L379–448
+
test_p2_5_second_push_idempotent
function
async_function test_p2_5_second_push_idempotent L456–477
← Older
Oldest on task/phase2-per-batch-commits
All commits
Newer →
Latest on task/phase2-per-batch-commits
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:21eb6794362734df28b0ae9b6004b0fae0a70767d739b02bdb4ca499e2413fef --body "your comment"
No comments yet. Be the first to start the discussion.