Repository navigation
docs(design): spec removal of finish_file spin-then-yield workaround (DG-4.a) - #4963
Merged
Merged
Conversation
…(DG-4.a) Specifies the surgical removal of the spin-then-yield block in ParallelDeltaApplier::finish_file (introduced by PR #4665 as a stop-gap) now that the DG-3 BarrierState/SlotData split has shipped. Documents the exact lines to delete, the safety argument, the mechanical removal procedure, the regression-test gating, and the rollback procedure. The follow-up DG-4 code PR applies the deletion.
2 tasks
oferchen
added a commit
that referenced
this pull request
Aug 24, 2026
…(DG-4.a) (#4963) Specifies the surgical removal of the spin-then-yield block in ParallelDeltaApplier::finish_file (introduced by PR #4665 as a stop-gap) now that the DG-3 BarrierState/SlotData split has shipped. Documents the exact lines to delete, the safety argument, the mechanical removal procedure, the regression-test gating, and the rollback procedure. The follow-up DG-4 code PR applies the deletion.
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.
Summary
ParallelDeltaApplier::finish_file(introduced by PR feat(engine): add flush_workers/drain_inflight barrier API to ParallelDeltaApplier (FFB-2) #4665 as a Windows-flake stop-gap) now that the DG-3BarrierState/SlotDatasplit has shipped via PRs feat(engine): add BarrierState + SlotData types per DG-2.a spec (DG-3.a) #4826 / feat(engine): migrate ParallelDeltaApplier files map to SlotEntry (DG-3.b) #4841 / feat(engine): retype DecrementGuard to Arc<BarrierState> (DG-3.c) #4845 / test(engine): verify finish_file try_unwrap uncontended after DG-3.c (DG-3.d) #4855 / test(engine): 1000-thread x 10K-iter stress for concurrent_register_and_dispatch under DG-3 (DG-3.e) #4874.Parent task: #2944.
Sibling DG-3 tasks (all shipped):
Follow-ups:
Test plan