Preserve pending pipeline records on write failure #2249
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2249"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by LucaruluDev on 2026-11-29T11:02:53Z.
What it changes
The pipeline book can lose pending records when
opening or writing its cache files fails.
This change:
when a subsequent pipeline write fails.
records currently being written.
On Windows, an append-only file handle can fail
truncation with ERROR_ACCESS_DENIED (5).
The revised implementation opens the file with
write access and seeks to its end.
How it was tested
Hardware: Ryzen 7 9700X, RTX 5070 12 GB,
32 GiB DDR5, Windows 11.
Synthetic buffered file I/O benchmark,
median of seven runs per mode:
Batched writes are preserved, with a small additional
cost for recoverable write handling.
No shader changes.
Limitations
This change assumes a single pipeline book writer.
It handles reported I/O failures but does not
guarantee persistence across power loss or abrupt
process termination.
The 64 MiB limit applies to pending encoded payload,
not total process memory.
Gameplay performance has not been measured.
Checked for overlap
AI-assisted implementation and validation using
Claude Code and OpenAI Codex.