• A
    Optimistic Transactions · dc9d70de
    agiardullo 提交于
    Summary: Optimistic transactions supporting begin/commit/rollback semantics.  Currently relies on checking the memtable to determine if there are any collisions at commit time.  Not yet implemented would be a way of enuring the memtable has some minimum amount of history so that we won't fail to commit when the memtable is empty.  You should probably start with transaction.h to get an overview of what is currently supported.
    
    Test Plan: Added a new test, but still need to look into stress testing.
    
    Reviewers: yhchiang, igor, rven, sdong
    
    Reviewed By: sdong
    
    Subscribers: adamretter, MarkCallaghan, leveldb, dhruba
    
    Differential Revision: https://reviews.facebook.net/D33435
    dc9d70de
db_test.cc 421.4 KB