Remove MONGO_UNREACHABLE from ScopedMigrationRequest::writeMigration

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 3.5.3
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • ALL
    • Sharding 2017-02-13
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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).

              Assignee:
              Dianna Hohensee (Inactive)
              Reporter:
              Dianna Hohensee (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: