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

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.2.0-rc0, 7.0.5, 6.0.13
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • ALL
    • v7.0, v6.0
    • Execution Team 2023-11-13

      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.

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

              Created:
              Updated:
              Resolved: