Change internal reporting order of validate()

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Minor - P4
    • 3.5.9
    • Affects Version/s: 3.5.6
    • Component/s: Internal Code
    • None
    • Fully Compatible
    • TIG 2017-06-19
    • 0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      As pointed out in SERVER-28801, when there's an index key/document mismatch, both if and else if statements will be true here. But if we switch the order of the if and else if statements, we'll be able to see which specific index is invalid.

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

              Created:
              Updated:
              Resolved: