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

Remove MONGO_UNREACHABLE from ScopedMigrationRequest::writeMigration

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.5.3
    • None
    • Sharding
    • None
    • Fully Compatible
    • ALL
    • Sharding 2017-02-13
    • 0

    Description

      The line here allows the code to leave the retry for-loop once max retries are exceeded. The scenario where it gets hit is quite rare: insert attempt, DuplicateKey error and find check finds nothing, and this would have to happen twice in a row.

      The MONGO_UNREACHABLE after the loop shouldn't be there (obviously, since it was hit in BF-4593).

      Attachments

        Activity

          People

            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: