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

Performing the Crash Test with Atomic Flush

  1. Go to the RocksDB source package directory.
    1
    cd /home/rocksdb-6.10.2
    
  2. Perform a white-box test.
    1
    python -u tools/db_crashtest.py --cf_consistency whitebox  --random_kill_odd 888887 
    

  3. Perform a black-box test.
    1
    python -u tools/db_crashtest.py --cf_consistency blackbox