Writes that fail with EINTR also terminate MongoDB

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: WiredTiger
    • None
    • None
    • 3
    • None
    • 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
              Reporter:
              Francisco Alanis
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: