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

Writes that fail with EINTR also terminate MongoDB

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: WiredTiger
    • None
    • None
    • 0
    • None
    • None
    • None
    • None
    • None
    • None

      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.

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

              Created:
              Updated:
              Resolved: