Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-49793

Keep track of active transactions in ephemeralForTest to compute the all durable timestamp

    • Type: Icon: New Feature New Feature
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Storage
    • Execution Team 2020-08-10

      In order to compute the all durable timestamp for ephemeralForTest, we need to keep track of active transactions in ephemeralForTest. All transactions with timestamps earlier than the all durable timestamp are committed.

      With this, we should be able to implement the kAllDurableSnapshot ReadSource in ephemeralForTest's RecoveryUnit.

       

      Note: it's possible to commit new transactions earlier than the all durable timestamp but no earlier than the oldest timestamp. With that, we should prevent the all durable timestamp from going backwards.

      Note 2: if SERVER-49792 is completed before this, then this ticket should also implement the kNoOverlap ReadSource in ephemeralForTest's RecoveryUnit. The no overlap timestamp is the minimum of the all durable and last applied timestamps.

            Assignee:
            bynn.lee@mongodb.com Bynn Lee
            Reporter:
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: