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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • WT2.9.0, 3.2.10, 3.3.12
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: