-
Notifications
You must be signed in to change notification settings - Fork 328
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This improves the WAL sync to follow this logic: - If there are no local writes, attempt to pull. We know there are no local writes if the cached remote max frame number is greater than or equal to local max frame number. - If there are local writes, attempt to push. We know there are local writes if the cached remote max number is less than lcoal max frame number. This also removes the `offline_writes_pull.rs` example and augments `offline_writes.rs` to sync before attempting to write.
- Loading branch information
Showing
3 changed files
with
32 additions
and
80 deletions.
There are no files selected for viewing
This file contains 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 was deleted.
Oops, something went wrong.
This file contains 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