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