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

Checkpoint to timestamp rolls the log forward incorrectly

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Storage 2017-07-31

      I have a new python unit test that is failing when using timestamps in checkpoints. I have attached the test, but here's an outline of what it does (similar to test_timestamp02.py):

      write 100 k/v into a table. (commit_timestamp == key iterator)
      set oldest timestamp to 100
      update the 100 k/v with value2 (commit timestamp == 101-200)
      session->checkpoint("read_timestamp=100")
      make a backup of database directory
      open backup database
      walk all k/v pairs making sure value2 does not exist

      It is failing because there is a single key with value2 in the checkpoint. It is always the last key that was updated before the checkpoint.

            Assignee:
            michael.cahill@mongodb.com Michael Cahill (Inactive)
            Reporter:
            sue.loverso@mongodb.com Susan LoVerso
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: