-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce in-memory mode in badger (#1113)
This PR introduces in-memory mode in badger. The in-memory mode can be enabled by setting options.InMemory=true. When badger is running in in-memory mode no files are created and everything is stored in memory. On DB close, all stored data is lost. NOTE - An existing DB cannot be opened in in-memory mode. Fixes - #1001
- Loading branch information
Ibrahim Jarif
authored
Nov 25, 2019
1 parent
3eb4e72
commit f5b6321
Showing
19 changed files
with
647 additions
and
298 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
Oops, something went wrong.