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

Test to validate re-reading files that were closed with active history

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • WT10.0.0, 4.9.0-rc1, 4.4.7, 5.0.0-rc0
    • None
    • None
    • 5
    • Storage - Ra 2021-04-05, Storage - Ra 2021-04-19

    Description

      With WT-6819 the files that have active history, ie content newer than the oldest timestamp, can be closed when idle. We should add more testing around reading such files under a long-running transaction.

      Opening files reset their write generation numbers. The write generation numbers are also used for visibility checks. The test should make sure that under a long-running transaction if a file gets closed and then reopened later, we continue to read the correct version of the data.

      The relevant code path will involve run_write_gen or the "runtime write generation". The idea is that when a dhandle is re-opened, it should get the same base write generation. Any transaction IDs written before getting the dhandle got closed, should NOT be wiped since we didn't actually restart the system.

      Attachments

        Issue Links

          Activity

            People

              alison.felizzi@mongodb.com Alison Felizzi (Inactive)
              sulabh.mahajan@mongodb.com Sulabh Mahajan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: