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

listIndexes command lost ability to filter

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Storage Execution
    • ALL

    Description

      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.

      Attachments

        Activity

          People

            backlog-server-execution Backlog - Storage Execution Team
            mathias@mongodb.com Mathias Stearn
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: