Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-6728

Add an assert to make sure stable timestamp is not set to larger than the all_durable timestamp

    • Type: Icon: Build Failure Build Failure
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • 0
    • Storage - Ra 2020-10-19

      One of the implicit contract of using prepared transaction in WiredTiger is that we cannot move stable timestamp ahead of the "all_durable" timestamp. Otherwise, the prepared transaction that is being committed may become stable as its durable timestamp is now behind the stable timestamp, which will cause the prepared transaction being partially visible to checkpoint.

      Add an assert to make sure we don't move the stable timestamp ahead of the all_durable timestamp.

            Assignee:
            chenhao.qu@mongodb.com Chenhao Qu
            Reporter:
            chenhao.qu@mongodb.com Chenhao Qu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: