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

SetState::drop() doesn't cancel outstanding promises unless the global RSMM is shutdown

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Internal Code
    • Labels:
      None
    • Service Arch 2019-10-21

      SetState::drop() reset's the current scan, then calls notify(true), but that doesn't actually do the work of failing promises in _waiters. Or rather, it only does that work assuming the rsm manager is shutdown. Instead it should check for if that particular RSM is removed

            Assignee:
            ben.caimano@mongodb.com Benjamin Caimano (Inactive)
            Reporter:
            mira.carey@mongodb.com Mira Carey
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: