• Y
    Removed DBImpl::notifying_events_ · d333820b
    Yueh-Hsuan Chiang 提交于
    Summary:
    DBImpl::notifying_events_ is a internal counter in DBImpl which is
    used to prevent DB close when DB is notifying events.  However, as
    the current events all rely on either compaction or flush which
    already have similar counters to prevent DB close, it is safe to
    remove notifying_events_.
    
    Test Plan:
    listener_test
    examples/compact_files_example
    
    Reviewers: igor, anthony, kradhakrishnan, rven, sdong
    
    Reviewed By: sdong
    
    Subscribers: dhruba, leveldb
    
    Differential Revision: https://reviews.facebook.net/D39315
    d333820b
db_impl.h 30.1 KB