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

Don't retry fsync calls after EIO failure

    XMLWordPrintable

    Details

    • Case:
    • Sprint:
      Storage Non-NYC 2018-05-07
    • Backport Requested:
      v4.0, v3.6, v3.4, v3.2

      Description

      • It is not safe to retry calls to fsync on Linux following an EIO return, since the EIO return is used to flag that a write call failed, and thus the sync doesn't contain all of the expected data.

      There is a detailed explanation on StackOverflow here.

      Thanks Mark Callaghan for bringing this to our attention.

        Attachments

          Activity

            People

            Assignee:
            keith.bostic Keith Bostic
            Reporter:
            alexander.gorrod Alexander Gorrod
            Votes:
            1 Vote for this issue
            Watchers:
            21 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: