use DiskQueueVersion::V2 for KeyValueStoreMemory
This commit is contained in:
parent
8c92c330c3
commit
eae3dab04d
|
@ -887,8 +887,7 @@ IKeyValueStore* keyValueStoreMemory(std::string const& basename,
|
|||
.detail("MemoryLimit", memoryLimit)
|
||||
.detail("StoreType", storeType);
|
||||
|
||||
// SOMEDAY: Maybe update to use DiskQueueVersion::V2 with xxhash3 checksum.
|
||||
IDiskQueue* log = openDiskQueue(basename, ext, logID, DiskQueueVersion::V1);
|
||||
IDiskQueue* log = openDiskQueue(basename, ext, logID, DiskQueueVersion::V2);
|
||||
if (storeType == KeyValueStoreType::MEMORY_RADIXTREE) {
|
||||
return new KeyValueStoreMemory<radix_tree>(log, logID, memoryLimit, storeType, false, false, false);
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue