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

testutil_cleanup should not remove home directory on error

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • StorEng - Refinement Pipeline

      I noticed this in timestamp_abort/main.c but it likely applies to other test programs as well. The call to testutil_cleanup will unconditionally remove the database home directory unless opts->preserve is set.

      This is a problem when there is an error and the erroneous database is removed.

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            sue.loverso@mongodb.com Susan LoVerso
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: