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 @@ -113,7 +113,7 @@ class Cache {
113113 explicit Cache (const CacheConfig& config,
114114 ChainedItemMovingSync movingSync = {},
115115 std::string cacheDir = " " ,
116- bool touchValue = false );
116+ bool touchValue = true );
117117
118118 ~Cache ();
119119
@@ -428,7 +428,7 @@ class Cache {
428428 std::unique_ptr<ValueTracker> valueTracker_;
429429
430430 // read entire value on find.
431- bool touchValue_{false };
431+ bool touchValue_{true };
432432
433433 // reading of the nand bytes written for the benchmark if enabled.
434434 const uint64_t nandBytesBegin_{0 };
Original file line number Diff line number Diff line change @@ -202,7 +202,7 @@ struct StressorConfig : public JSONConfig {
202202
203203 // If enabled, each value will be read on find. This is useful for measuring
204204 // performance of value access.
205- bool touchValue{false };
205+ bool touchValue{true };
206206
207207 uint64_t numOps{0 }; // operation per thread
208208 uint64_t numThreads{0 }; // number of threads that will run
You can’t perform that action at this time.
0 commit comments