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

Don't retry fsync calls after EIO failure

    XMLWordPrintable

Details

    • Storage Non-NYC 2018-05-07
    • 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 mdcallag for bringing this to our attention.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: