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

Fix index validation error reporting on 4.2 and 4.4

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Works as Designed
    • Icon: Critical - P2 Critical - P2
    • None
    • 4.2.23, 4.4.18
    • None
    • None
    • Storage Execution
    • ALL
    • v4.2
    • Execution Team 2023-02-20

    Description

      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.

      Attachments

        Activity

          People

            gregory.wlodarek@mongodb.com Gregory Wlodarek
            jordi.olivares-provencio@mongodb.com Jordi Olivares Provencio
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: