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

wrap calls to NetworkConnectionHook methods with std::terminate

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.1.8
    • None
    • Networking
    • None
    • Fully Compatible
    • Platform 8 08/28/15

    Description

      The contract of the NetworkConnectionHook is that the NI is responsible for calling terminate if the hook throws. Now that all the hooks are implemented, we should add this check.

      The replication executor has a similar "makeNoexcept" utility, except it has the overhead of using stdx::function. As part of this work, we'll create a version templated on some function type, and then replace uses of makeNoexcept with it.

      Attachments

        Activity

          People

            adam.midvidy Adam Midvidy
            adam.midvidy Adam Midvidy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: