• Y
    Add commit marker with timestamp (#9266) · bd513fd0
    Yanqin Jin 提交于
    Summary:
    Pull Request resolved: https://github.com/facebook/rocksdb/pull/9266
    
    This diff adds a new tag `CommitWithTimestamp`. Currently, there is no API to trigger writing
    this tag to WAL, thus it is unavailable to users.
    This is an ongoing effort to add user-defined timestamp support to write-committed transactions.
    This diff also indicates all column families that may potentially participate in the same
    transaction must either disable timestamp or have the same timestamp format, since
    `CommitWithTimestamp` tag is followed by a single byte-array denoting the commit
    timestamp of the transaction. We will enforce this checking in a future diff. We keep this
    diff small.
    
    Reviewed By: ltamasi
    
    Differential Revision: D31721350
    
    fbshipit-source-id: e1450811443647feb6ca01adec4c8aaae270ffc6
    bd513fd0
db_basic_test.cc 128.9 KB