• Igor Canadi's avatar
    FlushProcess · a39e931e
    Igor Canadi authored
    Abstract out FlushProcess and take it out of DBImpl.
    This also includes taking DeletionState outside of DBImpl.
    Currently this diff is only doing the refactoring. Future work includes:
    1. Decoupling flush_process.cc, make it depend on less state
    2. Write flush_process_test, which will mock out everything that FlushProcess depends on and test it in isolation
    Test Plan: make check
    Reviewers: rven, yhchiang, sdong, ljin
    Reviewed By: ljin
    Subscribers: dhruba, leveldb
    Differential Revision: https://reviews.facebook.net/D27561