• Y
    Fixed two bugs on logging file deletion. · 5c224d1b
    Yueh-Hsuan Chiang 提交于
    Summary:
    This patch fixes the following two bugs on logging file deletion.
    
    1.  Previously, file deletion failure was only logged in INFO_LEVEL.
        This patch changes it to ERROR_LEVEL and does some code clean.
    
    2.  EventLogger previously will always generate the same log on
        table file deletion even when file deletion is not successful.
        Now the resulting status of file deletion will also be logged.
    
    Test Plan: make all check
    
    Reviewers: sdong, igor
    
    Reviewed By: igor
    
    Subscribers: dhruba, leveldb
    
    Differential Revision: https://reviews.facebook.net/D38817
    5c224d1b
db_impl.cc 144.9 KB