Repository navigation
lab(drf-w3): same-facet writes apply by declared stream position #1766
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
5c9a2d3
test(drf-w3): ordered same-facet writes apply by declared position
claude a890216
lab(drf-w3): same-facet writes apply by declared stream position
claude 64e5b8a
board: D-DRF W3 ordered apply entry
claude 960cb72
board: unique ids D-DRF-W1 / D-DRF-W3 for the writeback entries
claude File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| # D-DRF-W3 — ordered same-facet writes apply by declared stream position (lab) | ||
|
|
||
| **Status:** TEST-PINNED (lab). **Code:** `crates/drf-focus-probe/src/lib.rs` | ||
| (`Writeback::stage_at`, `flush`). **Tests:** `tests/integration/focus.rs` | ||
| `w3_ordered_*`, `w3_equal_positions_or_mixed_ordering_*`. Plan: | ||
| `.claude/plans/d-dr64-focus-cache-falsifiers-v1.md` §4 W3. | ||
|
|
||
| - **W3 PASS (ordered arm):** three noncommuting overwrites of one facet (positions 1, 2, 3) | ||
| through three aliasing slots give the position-3 value in all 6 staging orders. 64 writes | ||
| over 4 rows in a scrambled staging order match a scalar oracle (highest position per row). | ||
| - **W3 PASS (refusal arm):** different values at one declared position, or an unordered | ||
| `stage` next to a positioned one, refuse with `Conflict`. Equal values coalesce in both. | ||
| - **Mechanism:** patches sort by `(ord, offset, pos)` and apply in that order, so the | ||
| sort is the order of application; no second pass. | ||
| - **Disables, each red on its own test:** sort without `pos` (staging order wins); treat | ||
| equal positions as ordered; treat an unordered write as ordered. | ||
|
|
||
| OPEN: positions are caller-declared `u64`s. Nothing yet ties them to a real stream | ||
| (CycleWriter sequence, WAL LSN); that is W4–W6. |
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.