listIndexes command lost ability to filter

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Do
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      This may have happened as part of SERVER-52545 which IDLified the command with strict: true. The listIndexes command used to take all extra arguments and treat them as a filter for the indexes to return. You can see it in the js wrapper function. While it is a questionable API design, I'm not sure if we intended to break it. At the very least we should fix the JS wrapper to either not take a filter, or use the agg form and pass in a $match stage.

            Assignee:
            [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: