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 @@ -68,7 +68,7 @@ class Cache {
68
68
explicit Cache (const CacheConfig& config,
69
69
ChainedItemMovingSync movingSync = {},
70
70
std::string cacheDir = " " ,
71
- bool touchValue = false );
71
+ bool touchValue = true );
72
72
73
73
~Cache ();
74
74
@@ -359,7 +359,7 @@ class Cache {
359
359
std::unique_ptr<ValueTracker> valueTracker_;
360
360
361
361
// read entire value on find.
362
- bool touchValue_{false };
362
+ bool touchValue_{true };
363
363
364
364
// reading of the nand bytes written for the benchmark if enabled.
365
365
const uint64_t nandBytesBegin_{0 };
Original file line number Diff line number Diff line change @@ -197,7 +197,7 @@ struct StressorConfig : public JSONConfig {
197
197
198
198
// If enabled, each value will be read on find. This is useful for measuring
199
199
// performance of value access.
200
- bool touchValue{false };
200
+ bool touchValue{true };
201
201
202
202
uint64_t numOps{0 }; // operation per thread
203
203
uint64_t numThreads{0 }; // number of threads that will run
You can’t perform that action at this time.
0 commit comments