• J
    Fix unittest no space issue (#8204) · a89740fb
    Jay Zhuang 提交于
    Summary:
    Unittest reports no space from time to time, which can be reproduced on a small memory machine with SHM. It's caused by large WAL files generated during the test, which is preallocated, but didn't truncate during close(). Adding the missing APIs to set preallocation.
    It added arm test as nightly build, as the test runs more than 1 hour.
    
    Pull Request resolved: https://github.com/facebook/rocksdb/pull/8204
    
    Test Plan: test on small memory arm machine
    
    Reviewed By: mrambacher
    
    Differential Revision: D27873145
    
    Pulled By: jay-zhuang
    
    fbshipit-source-id: f797c429d6bc13cbcc673bc03fcc72adda55f506
    a89740fb
db_test_util.h 39.5 KB