-
Notifications
You must be signed in to change notification settings - Fork 183
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rocksdb: SessionState.moveTo API (#609)
* add initial moveTo API * snapshot makes full tree clone * add test for snapshots * parent state may be swapped during ready * session has method for transferring * only check compat if block is not local * add snapshot move to checks * retrying requests on session move * transfer all replicating io when moving sessions * drafts are writable * session overwrite should emit events * add option for overwrite to update dependency * do not create snapshot over existing snapshot * ref session state in constructor * fix non writable named sessions * emit migrate event on moveTo --------- Co-authored-by: Mathias Buus <[email protected]>
- Loading branch information
1 parent
236e584
commit 8905a0e
Showing
7 changed files
with
245 additions
and
54 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
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
Oops, something went wrong.