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

mr.cpp can throw in an ON_BLOCK_EXIT handler when there's already an active exception

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.7, 3.7.3
    • Affects Version/s: None
    • Component/s: Querying
    • Labels:
      None
    • Fully Compatible
    • ALL
    • v3.6
    • Repl 2018-02-26
    • 61

      We've seen this happen in this particular ON_BLOCK_EXIT, but there may be other spots in this file as well. In one observed failure, there is an initial exception being thrown during the command execution within a try/catch, and the subsequent ON_BLOCK_EXIT method throws again which results in two active exceptions. Certainly the server shouldn't crash but there's no obvious way to remove the temp collection now that the node is no longer the primary.

            Assignee:
            benety.goh@mongodb.com Benety Goh
            Reporter:
            nicholas.zolnierz@mongodb.com Nicholas Zolnierz
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: