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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 3.6.7, 3.7.3
    • None
    • Querying
    • None
    • Fully Compatible
    • ALL
    • v3.6
    • Repl 2018-02-26
    • 61

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: