Repository navigation
fix(storage): default embedded fsync off and preserve publication barriers - #268
Merged
f0rr0 merged 4 commits intoOct 8, 2026
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Base automatically changed from
f0rr0/windows-wasix-production
to
f0rr0/wasmer-dependency-refresh-20261003
October 8, 2026 07:33
Base automatically changed from
f0rr0/wasmer-dependency-refresh-20261003
to
f0rr0/patch-correctness-refresh
October 8, 2026 08:18
Use PostgreSQL boot defaults instead of forced startup overrides. Route explicit WASIX file synchronization through the owned filesystem contract while keeping ordinary flush and close cheap. Preserve and repair initialization and restore publication barriers, and surface real native directory errors. Ensure engine patches actually apply inside the enclosing checkout and cover configuration precedence and synchronization behavior with focused regression checks.
f0rr0
force-pushed
the
f0rr0/contextual-fsync-20261008
branch
from
October 8, 2026 08:30
ec876d0 to
ce287e1
Compare
This was referenced Oct 8, 2026
This branch was successfully deployed
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
fsync=offfor embedded native and WASIX databases. Standalone/Postmaster keepsfsync=on. Use PostgreSQL's boot default instead of forced startup overrides, preserving saved configuration and caller settings.fdatasync/fsyncin the owned WASIX filesystem crates and host adapters. Forward explicit barriers through filesystem wrappers and propagate failures.No new SDK option or environment flag. Applications opt into PostgreSQL file synchronization through the existing
fsyncsetting. With the default off, successful transactions andCHECKPOINTdo not promise power-loss durability; browser publication guarantees remain provider-specific. The crash-recovery example explicitly opts in.Validation
Rebased onto the current patch-correctness branch after the Wasmer dependency refresh merged. Related to #249.