This commit is contained in:
Zhe Wang 2024-04-08 16:16:18 -07:00
parent 59681e4031
commit c700f9ad5c
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ How to use?
-----------
To run the ConsistencyCheckerUrgent, you need 1 checker and N testers. The process is as follows:
* If you want to check consistency within specific ranges, set ranges via knobs: CONSISTENCY_CHECK_URGENT_RANGE_BEGIN_* and CONSISTENCY_CHECK_URGENT_RANGE_END_*. The custom range's start and end points must be represented in hexadecimal ASCII format, strictly adhering to the "\\\\x" prefix (including two escape chars, followed by 'x'). By default, the knob is set to check the entire key space (i.e., " " ~ "\\xff\\xff").
* If you want to specify ranges to do consistency checker, set ranges via knobs: CONSISTENCY_CHECK_URGENT_RANGE_BEGIN_* and CONSISTENCY_CHECK_URGENT_RANGE_END_*. The custom range's start and end points must be represented in hexadecimal ASCII format, strictly adhering to the "\\\\x" prefix (including two escape chars, followed by 'x'). By default, the knob is set to check the entire key space (i.e., " " ~ "\\xff\\xff").
* Start N testers (i.e. fdbserver --class test).
* Start the checker (i.e. fdbserver -r consistencycheckurgent --num-testers={num-testers}), which initiates the consistency checking automatically.
* Once the checking is complete, the checker exits automatically, leaving the testers alive but idle.