• L
    benchmark.sh won't run through all tests properly if one specifies wal_dir to... · 9d5bd411
    Leonidas Galanis 提交于
    benchmark.sh won't run through all tests properly if one specifies wal_dir to be different than db directory.
    
    Summary:
    A command line like this to run all the tests:
    source benchmark.config.sh && nohup ./benchmark.sh 'bulkload,fillseq,overwrite,filluniquerandom,readrandom,readwhilewriting'
    where
    benchmark.config.sh is:
    export DB_DIR=/data/mysql/rocksdata
    export WAL_DIR=/txlogs/rockswal
    export OUTPUT_DIR=/root/rocks_benchmarking/output
    
    Will fail for the tests that need a new DB .
    
    Also 1) set disable_data_sync=0 and 2) add debug mode to run through all the tests more quickly
    
    Test Plan: run ./benchmark.sh 'debug,bulkload,fillseq,overwrite,filluniquerandom,readrandom,readwhilewriting' and verify that there are no complaints about WAL dir not being empty.
    
    Reviewers: sdong, yhchiang, rven, igor
    
    Reviewed By: igor
    
    Subscribers: dhruba
    
    Differential Revision: https://reviews.facebook.net/D30909
    9d5bd411
benchmark.sh 7.2 KB