we cannot buggify replace content bytes because it takes too long to recovery when the txnStateStore is too large

This commit is contained in:
Evan Tschannen 2019-07-28 19:34:17 -07:00
parent 9a0db74230
commit d8b14fe372
1 changed files with 1 additions and 1 deletions

View File

@ -246,7 +246,7 @@ ServerKnobs::ServerKnobs(bool randomize, ClientKnobs* clientKnobs) {
init( SPRING_CLEANING_MAX_VACUUM_PAGES, 1e9 ); if( randomize && BUGGIFY ) SPRING_CLEANING_MAX_VACUUM_PAGES = deterministicRandom()->coinflip() ? 0 : deterministicRandom()->randomInt(1, 1e4);
// KeyValueStoreMemory
init( REPLACE_CONTENTS_BYTES, 1e5 ); if( randomize && BUGGIFY ) REPLACE_CONTENTS_BYTES = 1e3;
init( REPLACE_CONTENTS_BYTES, 1e5 );
// Leader election
bool longLeaderElection = randomize && BUGGIFY;