-
Notifications
You must be signed in to change notification settings - Fork 352
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This patch adds support for checkpointing during WAL sync, which allows us to sync multiple checkpoint generations from the server. The protocol is as follows: 1. A client uses the pull endpoint to fetch frames. 2. When we reach the end of a generation, the server returns "I am a teapot" (yes, really) with a JSON containing the maximum generation number on the server. 3. If we need to pull more generations, we first checkpoint the WAL on the client, and then continue pulling frames from the newer generation.
- Loading branch information
Showing
3 changed files
with
142 additions
and
44 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 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 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