Prevent path through TopologyEventsPublisher::_scheduleNextDelivery() from causing stack overflow

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Do
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Service Arch
    • ALL
    • 6
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We suspect that the path from TopologyEventsPublisher::_scheduleNextDelivery() to ReplicaSetChangeListener::onConfirmedSet() can cause a stack overflow.

      There are two frames that normally imply asynchronous work scheduling: TopologyEventsPublisher::_scheduleNextDelivery() and ReplicaSetChangeListener::onConfirmedSet(). It appears that work is scheduled and consumed inline on the networking thread, which can expand the stack past normal expectations.

            Assignee:
            [DO NOT USE] Backlog - Service Architecture
            Reporter:
            Haley Connelly
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: