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

Backup comment doesn't match the code.

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 3.6.0-rc1, WT3.0.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage 2017-10-23

      The backup docs http://source.wiredtiger.com/2.9.3/backup.html say:

      The cursor must not be closed until all of the files have been copied, however, there is no requirement the files be copied in any order or in any relationship to the WT_CURSOR::next calls, only that all files have been copied before the cursor is closed. For example, applications might aggregate the file names from the cursor and then list the file names as arguments to a file archiver such as the system tar utility.

      I thought WiredTiger required applications copy the files in the order the cursor lists them, for example, log files first. From __backup_start():

       * Include log files if doing a full backup, and copy them before
       * copying data files to avoid rolling the metadata forward across
       * a checkpoint that completes during the backup.
       */
      target_list = false;
      WT_ERR(__backup_uri(session, cfg, &target_list, &log_only));
      

            Assignee:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Reporter:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: