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 @@ -112,7 +112,7 @@ class Cache {
112
112
explicit Cache (const CacheConfig& config,
113
113
ChainedItemMovingSync movingSync = {},
114
114
std::string cacheDir = " " ,
115
- bool touchValue = false );
115
+ bool touchValue = true );
116
116
117
117
~Cache ();
118
118
@@ -439,7 +439,7 @@ class Cache {
439
439
std::unique_ptr<ValueTracker> valueTracker_;
440
440
441
441
// read entire value on find.
442
- bool touchValue_{false };
442
+ bool touchValue_{true };
443
443
444
444
// reading of the nand bytes written for the benchmark if enabled.
445
445
const uint64_t nandBytesBegin_{0 };
Original file line number Diff line number Diff line change @@ -206,7 +206,7 @@ struct StressorConfig : public JSONConfig {
206
206
207
207
// If enabled, each value will be read on find. This is useful for measuring
208
208
// performance of value access.
209
- bool touchValue{false };
209
+ bool touchValue{true };
210
210
211
211
uint64_t numOps{0 }; // operation per thread
212
212
uint64_t numThreads{0 }; // number of threads that will run
You can’t perform that action at this time.
0 commit comments