Skip to content
  • Maysam Yabandeh's avatar
    Update WritePrepared with the pseudo code · eb642530
    Maysam Yabandeh authored
    Summary:
    Implement the main body of WritePrepared pseudo code. This includes PrepareInternal and CommitInternal, as well as AddCommitted which updates the commit map. It also provides a IsInSnapshot method that could be later called form the read path to decide if a version is in the read snapshot or it should other be skipped.
    
    This patch lacks unit tests and does not attempt to offer an efficient implementation. The idea is that to have the API specified so that we can work on related tasks in parallel.
    Closes https://github.com/facebook/rocksdb/pull/2713
    
    Differential Revision: D5640021
    
    Pulled By: maysamyabandeh
    
    fbshipit-source-id: bfa7a05e8d8498811fab714ce4b9c21530514e1c
    eb642530