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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Works as Designed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Sharding
    • Labels:
      None
    • Operating System:
      ALL
    • Linked BF Score:
      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

            Assignee:
            backlog-server-sharding Backlog - Sharding Team
            Reporter:
            marcos.grillo Marcos José Grillo Ramirez
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: