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

Fix a bug in recovery if there is no filesystem truncate support

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • WT2.9.0, 3.2.10, 3.3.12
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      WT-2823 made changes so that WiredTiger can operate with append-only filesystems (without truncate support).

      On review sue.loverso noticed that log traversal depends on truncating files. Traversal will fail if a log file has been extended, partially filled, then a subsequent log file has been created. The empty space at the end of the first log file will cause a log scan to fail.

      We need (a) a test case for this situation that can run with and without truncate, and (b) a solution / workaround.

            Assignee:
            sue.loverso@mongodb.com Susan LoVerso
            Reporter:
            michael.cahill@mongodb.com Michael Cahill (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: