Update the javadoc for setforceConsistencyChecks (#10574)

Summary:
As of v6.14 (released in 2020), force_consistency_checks is enabled by default. However, the Java documentation does not seem to have been updated to reflect the change at the time.

Pull Request resolved: https://github.com/facebook/rocksdb/pull/10574

Reviewed By: hx235

Differential Revision: D39006566

Pulled By: ajkr

fbshipit-source-id: c7b029484d62deaa1f260ec55084049fe39eb84a
main
Brendan MacDonell 2 years ago committed by Facebook GitHub Bot
parent 7ad4b38617
commit 9f290a5d15
  1. 15
      java/src/main/java/org/rocksdb/AdvancedColumnFamilyOptionsInterface.java

@ -441,13 +441,13 @@ public interface AdvancedColumnFamilyOptionsInterface<
boolean optimizeFiltersForHits();
/**
* In debug mode, RocksDB run consistency checks on the LSM every time the LSM
* change (Flush, Compaction, AddFile). These checks are disabled in release
* mode, use this option to enable them in release mode as well.
* By default, RocksDB runs consistency checks on the LSM every time the LSM
* changes (Flush, Compaction, AddFile). Use this option if you need to
* disable them.
*
* Default: false
* Default: true
*
* @param forceConsistencyChecks true to force consistency checks
* @param forceConsistencyChecks false to disable consistency checks
*
* @return the reference to the current options.
*/
@ -455,9 +455,8 @@ public interface AdvancedColumnFamilyOptionsInterface<
boolean forceConsistencyChecks);
/**
* In debug mode, RocksDB run consistency checks on the LSM every time the LSM
* change (Flush, Compaction, AddFile). These checks are disabled in release
* mode.
* By default, RocksDB runs consistency checks on the LSM every time the LSM
* changes (Flush, Compaction, AddFile).
*
* @return true if consistency checks are enforced
*/

Loading…
Cancel
Save