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

Don't retry fsync calls after EIO failure

    • Storage Non-NYC 2018-05-07
    • v4.0, v3.6, v3.4, v3.2

      • 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 mdcallag for bringing this to our attention.

            Assignee:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Reporter:
            alexander.gorrod@mongodb.com Alexander Gorrod
            Votes:
            1 Vote for this issue
            Watchers:
            20 Start watching this issue

              Created:
              Updated:
              Resolved: