File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ class Cache {
6969 explicit Cache (const CacheConfig& config,
7070 ChainedItemMovingSync movingSync = {},
7171 std::string cacheDir = " " ,
72- bool touchValue = false );
72+ bool touchValue = true );
7373
7474 ~Cache ();
7575
@@ -372,7 +372,7 @@ class Cache {
372372 std::unique_ptr<ValueTracker> valueTracker_;
373373
374374 // read entire value on find.
375- bool touchValue_{false };
375+ bool touchValue_{true };
376376
377377 // reading of the nand bytes written for the benchmark if enabled.
378378 const uint64_t nandBytesBegin_{0 };
Original file line number Diff line number Diff line change @@ -197,7 +197,7 @@ struct StressorConfig : public JSONConfig {
197197
198198 // If enabled, each value will be read on find. This is useful for measuring
199199 // performance of value access.
200- bool touchValue{false };
200+ bool touchValue{true };
201201
202202 uint64_t numOps{0 }; // operation per thread
203203 uint64_t numThreads{0 }; // number of threads that will run
You can’t perform that action at this time.
0 commit comments