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

baton_asio_linux invariants on EINTR

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.0.0-rc0
    • None
    • Networking
    • None
    • Fully Compatible
    • ALL
    • Platforms 2018-05-07
    • 0

    Description

      baton_asio_linux checks at the end of run() whether it's done any work.  In the case of EINTR, it's possible it hasn't.

      In this case, I think the simplest fix is to remove the invariant, as there's currently no contract that run() actually does work a user might actually care about and other invariants check the rest of the application logic

      Attachments

        Activity

          People

            mira.carey@mongodb.com Mira Carey
            mira.carey@mongodb.com Mira Carey
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: