• I
    Only get the manifest file size if there is no error · 5d2c6282
    Igor Canadi 提交于
    Summary:
    I came across this while working on column families. CorruptionTest::RecoverWriteError threw a SIGSEG because the descriptor_log_->file() was nullptr. I'm not sure why it doesn't happen in master, but better safe than sorry.
    
    @kailiu, can we get this in release, too?
    
    Test Plan: make check
    
    Reviewers: kailiu, dhruba, haobo
    
    Reviewed By: haobo
    
    CC: leveldb, kailiu
    
    Differential Revision: https://reviews.facebook.net/D15513
    5d2c6282
version_set.cc 73.1 KB