Skip to content

Commit

Permalink
Backup consistency check was disabled by default.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrii0lomakin committed Oct 6, 2023
1 parent 605538a commit 21aacb3
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ public EnvironmentConfig setMutable(boolean isMutable) {
/**
* If is set to {@code true} then {@linkplain Environment} performs check of consistency of datastructures
* stored in backup files.
* Default value is {@code true}.
* Default value is {@code false}.
* Mutable at runtime: no
*/
public static final String ENV_CHECK_BACKUP_CONSISTENCY = "exodus.env.checkBackupConsistency";
Expand Down Expand Up @@ -800,7 +800,7 @@ public EnvironmentConfig(@NotNull final ConfigurationStrategy strategy) {
new Pair(ENV_TXN_REPLAY_MAX_COUNT, 2),
new Pair(ENV_TXN_DOWNGRADE_AFTER_FLUSH, true),
new Pair(ENV_TXN_SINGLE_THREAD_WRITES, false),
new Pair(ENV_CHECK_BACKUP_CONSISTENCY, true),
new Pair(ENV_CHECK_BACKUP_CONSISTENCY, false),
new Pair(ENV_TXN_TRACE_FINISH, false),
new Pair(ENV_MAX_PARALLEL_TXNS, Integer.MAX_VALUE),
new Pair(ENV_MONITOR_TXNS_TIMEOUT, 0),
Expand Down Expand Up @@ -1868,7 +1868,7 @@ public EnvironmentConfig setEnvCloseForcedly(final boolean closeForcedly) {
/**
* If is set to {@code true} then {@linkplain Environment} performs check of consistency of datastructures
* stored in backup files.
* Default value is {@code true}.
* Default value is {@code false}.
* <p>Mutable at runtime: no
*/
public boolean getCheckBackupConsistency() {
Expand Down

0 comments on commit 21aacb3

Please sign in to comment.