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

random_abort or testutil function assuming relative path

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Storage Engines
    • 2
    • StorEng - 2025-03-28

      I was running random_abort against a failed database home directory and I'm getting a message that it cannot create a SAVE directory. The path is wrong. I haven't dug into what function call this message is coming from but it should be fixed. I have an absolute path to the database directory.

      The home directory was in my home dir and I was in a <some_path>/build/test/csuite/random_abort directory of a WiredTiger tree to run a verify on the database:

      [sue@kodkod-aws (1) random_abort]$ ./test_random_abort -h ~/10789.HOME -v -T 5
      mkdir: cannot create directory ‘..//home/sue/10789.HOME.SAVE’: No such file or directory
      Open database, run recovery and verify content
      ...
      

      Definition of Done:

      • The working directory can be specified using an absolute OR a relative path without errors.

            Assignee:
            mariam.mojid@mongodb.com Mariam Mojid
            Reporter:
            sue.loverso@mongodb.com Susan LoVerso
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: