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

Handle exceptions thrown during onTransitionToPrimary

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Works as Designed
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Replication
    • None
    • Sharding EMEA

    Description

      The sharding hooks executed when a node transitions to primary can potentially throw exceptions (e.g. this call may throw).

      Currently, the node would crash in case this happens because the callback executed as part of OplogApplier::startup() is flagged as noexcept.

      Attachments

        Activity

          People

            backlog-server-sharding-emea [DO NOT USE] Backlog - Sharding EMEA
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: