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

Handle exceptions thrown during onTransitionToPrimary

    • Type: Icon: Task Task
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Replication
    • Labels:
      None
    • Sharding EMEA

      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.

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

              Created:
              Updated:
              Resolved: