Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-82781

Simulate crash test hook may leave behind part of file when copying data

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.2.0-rc0, 7.0.5, 6.0.13
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • v7.0, v6.0
    • Execution Team 2023-11-13

    Description

      The simulate crash test hook uses os.sendfile to simulate a crash by copying the data files while the process is stopped. However, if the file size of a table is large enough, it may fail to copy the entire thing. This is because we currently are ignoring the return value from os.sendfile which indicates how many bytes it sent.

      Attachments

        Activity

          People

            gregory.noma@mongodb.com Gregory Noma
            gregory.noma@mongodb.com Gregory Noma
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: