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

Prepend homedir for system call pathnames in format backup test

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT3.2.2, 4.4.0-rc0, 4.7.0
    • Component/s: None
    • Labels:
      None
    • Story Points:
      3
    • Sprint:
      Storage Engines 2020-03-23
    • Backport Requested:
      v4.4, v4.2

      Description

      While running a randomized test/format with backups, I got a failure when attempting to open the backup directory:

      [1584366432:138462][11620:0x7f0416ff5700], t, txn-recover: __posix_open_file, 667: RUNDIR/BACKUP/./WiredTigerLog.0000000002: handle-open: open: No s
      uch file or directory
      [1584366432:138503][11620:0x7f0416ff5700], t, txn-recover: __wt_txn_recover, 777: Recovery failed: No such file or directory
      

      The backup directory does not have log file 2:

      [sue@ip-172-30-0-18 (1) format]$ ls -R RUNDIR
      RUNDIR:
      BACKUP       CONFIG  WiredTiger          WiredTigerHS.wt  WiredTigerLog.0000000001  WiredTigerLog.0000000003  WiredTiger.turtle  wt.wt
      BACKUP_COPY  rand    WiredTiger.basecfg  WiredTiger.lock  WiredTigerLog.0000000002  WiredTigerLog.0000000004  WiredTiger.wt
       
      RUNDIR/BACKUP:
      WiredTiger          WiredTigerHS.wt  WiredTigerLog.0000000001  WiredTigerLog.0000000004  WiredTiger.wt
      WiredTiger.basecfg  WiredTiger.lock  WiredTigerLog.0000000003  WiredTiger.turtle         wt.wt
      

      The problem is that log file 2 is missing from the backup.

      One of two things is likely the problem, either the backup code incorrectly skipped adding it to the list, or the test code incorrectly did not remove log file 1 when it should have.

        Attachments

          Activity

            People

            Assignee:
            sue.loverso Susan LoVerso
            Reporter:
            sue.loverso Susan LoVerso
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: