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

Unhandled thread creation causes a server crash while trying to migrate chunk

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Works as Designed
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Sharding
    • None
    • Sharding
    • ALL
    • 35

    Description

      On the MigrationDestinationManager when the documents are going to be cloned from the donor shard there is a thread creation using stdx::thread. A failure on the thread creation is not being handled, which might lead to a server crash. An executor could be used instead to prevent the thread creation, or the failure should be handled appropriately to retry the migration eventually.

      Attachments

        Activity

          People

            backlog-server-sharding [DO NOT USE] Backlog - Sharding Team
            marcos.grillo@mongodb.com Marcos José Grillo Ramirez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: