mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-11 10:25:47 +02:00
Optional feature (POC) - store values on the external storage (SSD).
1. Add ExternalAllocator that provides files ranges to write to. 2. Add IoMgr that wraps files and allows sending asynchronous requests. 3. Add POC that writes string values when a new entry is added. The original values kept are still kept in memory.
This commit is contained in:
parent
6e5de7ac59
commit
ad3bdbf499
13 changed files with 825 additions and 5 deletions
|
@ -159,6 +159,10 @@ class DbSlice {
|
|||
*/
|
||||
size_t FlushDb(DbIndex db_ind);
|
||||
|
||||
EngineShard* shard_owner() {
|
||||
return owner_;
|
||||
}
|
||||
|
||||
ShardId shard_id() const {
|
||||
return shard_id_;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue