• A
    Change SingleDelete to support conflict checking · 9e446290
    agiardullo 提交于
    Summary: For Transactions, we want to start using the SST files to do write conflict checking.  To do this, we need to make sure that compaction never removes all writes if an earlier snapshot exists.  So I had to change the way we process SingleDeletes to sometimes leave a SingleDelete behind when we encounter a Put followed by a SingleDelete.  See the comments in this diff for a more detailed explanation.
    
    Test Plan: added more unit tests
    
    Reviewers: rven, igor, kradhakrishnan, IslamAbdelRahman, yhchiang, sdong
    
    Reviewed By: sdong
    
    Subscribers: dhruba, leveldb
    
    Differential Revision: https://reviews.facebook.net/D50295
    9e446290
db_impl.cc 187.3 KB