Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT2.9.0, 3.3.12, 3.2.10
    • Labels:
      None

      Description

      Sue LoVerso, one of the groups interested in the pluggable file system work has a file truncate that can extend a file, but not shorten the file.

      The logging subsystem calls ftruncate in a few places, can you please describe when it's OK for ftruncate to fail to shorten the file and when it's OK for ftruncate to fail to extend the file?

      Obviously, it would be great if it's never a matter of correctness for ftruncate to fail in either case.

      FTR, the block manager also calls ftruncate, but it's never an issue of correctness, and it should be relatively easy to change the block manager to ignore systems that don't support any kind of ftruncate.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                keith.bostic Keith Bostic
                Reporter:
                keith.bostic Keith Bostic
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: