Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-33893

Writes that fail with EINTR also terminate MongoDB

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • WiredTiger
    • None

    Description

      It seems like any error returned by pwrite causes an assertion, but EINTR could be retried since the conditions under which it happens are usually only temporary.

      My suggestion is to add retry logic to writes if the return code is EINTR to make the code more resilient for that particular situation.

      Attachments

        Activity

          People

            kelsey.schubert@mongodb.com Kelsey Schubert
            francisco.alanis@mongodb.com Francisco Alanis
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: