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

XMLWordPrintableJSON

    • Storage Engines
    • StorEng - 2025-03-14, StorEng - 2025-03-28
    • 3

      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
              Reporter:
              Luke Pearson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: