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

Add failure test point between turtle file sync and rename

    • Type: Icon: Task Task
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • StorEng - Defined Pipeline
    • None

      The metadata and turtle files are very important. We should add in testing to make sure a failure between writing out the temporary turtle file and renaming it into place does the right thing.

      The function wt_turtle_update creates the WT_METADATA_TURTLE_SET file. Once complete, it calls wt_sync_and_rename.

      We should consider adding failure testing between the sync and rename (which forces a panic) and verify the correct behavior exists on restart. wt_sync_and_rename is used for any atomic file placement.

            Assignee:
            sue.loverso@mongodb.com Susan LoVerso (Inactive)
            Reporter:
            sue.loverso@mongodb.com Susan LoVerso (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: