Skip to content

Commit

Permalink
Enable checksum knobs by default
Browse files Browse the repository at this point in the history
  • Loading branch information
jzhou77 committed Apr 9, 2024
1 parent 0921e3a commit bbc0a22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fdbclient/ClientKnobs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -336,8 +336,8 @@ void ClientKnobs::initialize(Randomize randomize) {
init( REST_KMS_ALLOW_NOT_SECURE_CONNECTION, false ); if ( randomize && BUGGIFY ) REST_KMS_ALLOW_NOT_SECURE_CONNECTION = !REST_KMS_ALLOW_NOT_SECURE_CONNECTION;
init( SIM_KMS_VAULT_MAX_KEYS, 4096 );

init( ENABLE_MUTATION_CHECKSUM, false ); // if ( randomize && BUGGIFY ) ENABLE_MUTATION_CHECKSUM = true; Enable this after deserialiser is ported to 7.3.
init( ENABLE_ACCUMULATIVE_CHECKSUM, false ); // if ( randomize && BUGGIFY ) ENABLE_ACCUMULATIVE_CHECKSUM = true; Enable this after deserialiser is ported to 7.3.
init( ENABLE_MUTATION_CHECKSUM, true ); if ( randomize && BUGGIFY ) ENABLE_MUTATION_CHECKSUM = deterministicRandom()->coinflip();
init( ENABLE_ACCUMULATIVE_CHECKSUM, true ); if ( randomize && BUGGIFY ) ENABLE_ACCUMULATIVE_CHECKSUM = ENABLE_MUTATION_CHECKSUM;
// clang-format on
}

Expand Down

0 comments on commit bbc0a22

Please sign in to comment.