• Type: Icon: Task Task
    • Resolution: Done
    • WT2.6.0
    • Affects Version/s: None
    • Component/s: None

      Two fixes when using ftruncate as the file-extension call:

      • The ftruncate call can't set WT_FH.size, otherwise we'll skip those blocks when allocating blocks from the file,
      • The file size has to be read inside of the lock being used to avoid races with writers.

      Reference WT-1871.

            Assignee:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Reporter:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: