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

Race in CloneDocumentsCatchesInsertErrors can causes it to return an unexpected error

    XMLWordPrintable

    Details

    • Operating System:
      ALL
    • Sprint:
      Sharding 2019-12-30, Sharding 2020-01-13, Sharding 2020-01-27
    • Linked BF Score:
      0

      Description

      When the inserter thread closes the consumer end (because of intentional error by test) while the producer tries to push.

      To reproduce more easily, simply add a sleepsecs(1) right before this line:

      https://github.com/mongodb/mongo/blob/e6ef0ca20e99b2b3a6682952c2588e6e2d1ba8a9/src/mongo/db/s/migration_destination_manager.cpp#L418

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: