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

Account for logpath when retrieving file size in incremental backup

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT10.0.0, 4.2.4, 4.3.4
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • 5
    • Storage Engines 2020-02-24

      When using an incremental cursor and it is a log file, we get an error because we try to stat the file to get its size and don't take the log path into account in creating the pathname for stat. Here's the error we see:

      [1581109205:542573][22134:0x7f48c6562740], WT_CURSOR.get_value: __posix_fs_size, 297: WT_BLOCK/WiredTigerLog.0000000043: file-size: stat: No such file or directory
      

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

              Created:
              Updated:
              Resolved: