Fix index validation error reporting on 4.2 and 4.4

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Works as Designed
    • Priority: Critical - P2
    • None
    • Affects Version/s: 4.2.23, 4.4.18
    • Component/s: None
    • None
    • Storage Execution
    • ALL
    • v4.2
    • Execution Team 2023-02-20
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In 4.2 and 4.4 we currently do not pass in the index's ValidateResults when traversing them while executing CollectionImpl::_gatherIndexEntryErrors. This means that all error reporting is ignored and we don't bubble up the problematic index nor what happened to it. The fix is simple and involves replicating what we currently do a few lines above.

      This got fixed in 5.0+ by SERVER-49103.

            Assignee:
            Gregory Wlodarek
            Reporter:
            Jordi Olivares Provencio
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: