• Maysam Yabandeh's avatar
    Skip concurrency control during recovery of pessimistic txn (#4346) · 3f528226
    Maysam Yabandeh authored
    Summary:
    TransactionOptions::skip_concurrency_control allows pessimistic transactions to skip the overhead of concurrency control. This could be as an optimization if the application knows that the transaction would not have any conflict with concurrent transactions. It is currently used during recovery assuming (i) application guarantees no conflict between prepared transactions in the WAL (ii) application guarantees that recovered transactions will be rolled back/commit before new transactions start.
    Pull Request resolved: https://github.com/facebook/rocksdb/pull/4346
    
    Differential Revision: D9759149
    
    Pulled By: maysamyabandeh
    
    fbshipit-source-id: f896e84fa58b0b584be904c7fd3883a41ea3215b
    3f528226