• M
    Call PreReleaseCallback between WAL and memtable write (#5015) · 77ebc82b
    Maysam Yabandeh 提交于
    Summary:
    PreReleaseCallback meant to be called before the writes are visible to the readers. Since the sequence number is known after the WAL write, there is no reason to delay calling PreReleaseCallback to after the memtable write, which would complicates the reader's logic in presence of our memtable writes that are made visible by the other write thread.
    Pull Request resolved: https://github.com/facebook/rocksdb/pull/5015
    
    Differential Revision: D14221670
    
    Pulled By: maysamyabandeh
    
    fbshipit-source-id: a504dd665cf923226d7af09cc8e9c7739a25edc6
    77ebc82b
pre_release_callback.h 1.2 KB