Handle exceptions thrown during onTransitionToPrimary

XMLWordPrintableJSON

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

      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:
            [DO NOT USE] Backlog - Sharding EMEA
            Reporter:
            Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: