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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT2.9.0, 3.3.12, 3.2.10
    • Labels:
      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

            • Assignee:
              sue.loverso Sue LoVerso
              Reporter:
              michael.cahill Michael Cahill
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: