Display the missing index on failed migrations due to missing index

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Cluster Scalability
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      A migration can fail if a index is missing and the collection is not empty.

      The uassert advises the user to manually create the index, but it doesn't display the missing index. This requires the customer run a manual check which can be difficult when the list of index is big.
      We should return more information or at least display the index.
      I would also recommend to backport this solution to at least v8.0 to ease the work of the support team

            Assignee:
            Unassigned
            Reporter:
            Enrico Golfieri
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: