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

XMLWordPrintableJSON

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

      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
              Reporter:
              Gregory Noma
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: