-
Notifications
You must be signed in to change notification settings - Fork 570
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Moving function callbacks to sessions (#230) * Use special interface to interact with state machine(s). * Mark synchronization listener to be struct for jit to be able to inline calls. * Introduced IFasterSession instead of ISynchronizationListener. It combines both the listener and functions. Both legacy kv and client session provide struct based implementation to minimize impact of having interface calls. * Move out Input, Output, Context from FasterKV into methods. * Added simple test for multiple sessions * Added `custom compaction functions (#272). Fixed a bug where compaction would use stale value if multiple records with different lengths (for varlen structs) where encountered during compaction. * Provide `ref Input input` for calculating size of new record when allocating new record during RMW. * Removed sync methods of state machine.
- Loading branch information
1 parent
9c6bd1a
commit 9b96efc
Showing
41 changed files
with
2,059 additions
and
784 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
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.