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

When creating a file in the destination for the first time atomically set the size.

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Engines
    • 3
    • StorEng - 2025-03-28

      Similar to how we atomically copy log files, and other "regular" files on open we should atomically create destination data files and truncate them to their intended size. We treat the file size on disk as the canonical size but that is currently problematic if we were to crash between creating the file and truncating it to have the correct size.

            Assignee:
            luke.pearson@mongodb.com Luke Pearson
            Reporter:
            luke.pearson@mongodb.com Luke Pearson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: