我要评分
获取效率
正确性
完整性
易理解

Performing the Crash Test

  1. Go to the /home directory.
    1
    cd /home/
    
  2. Decompress the RocksDB source package.
    1
    tar -zxvf rocksdb-6.10.2.tar.gz
    
  3. Go to the RocksDB source package directory.
    1
    cd /home/rocksdb-6.10.2
    
  4. Compile the test code.
    1
    make crash_test -j 
    
    • When the command is executed for the first time, the following information is displayed, showing the db_stress tool compilation process:

    • If you run the command again, the compilation process is skipped because the test tool already exists, and the test program is directly executed.

      The following figure shows the command output.