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

Add "includeIndexBuildInfo" flag to listIndexes

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.2.0
    • None
    • None
    • Fully Compatible
    • Execution Team 2021-11-01, Execution Team 2021-11-29
    • 20

    Description

      The current listIndexes command displays in-progress index builds by default, but it does not include any information to indicate which indexes are in progress.

      The command will report this information with the "includeBuildUUIDs" option, which displays the UUID of any active index builds as its "buildUUID". This option is not enabled by default, and at the time of writing, is not documented.

      To avoid confusion for users, listIndexes should just include buildUUIDs by default. We should consider eliminating the includeBuildUUIDs option, or at least making it default to 'true', since the current behavior is pretty confusing. In the spirit of being more explicit, we may also want to consider adding an "inProgress" field, since it might not be obvious that the presence of a buildUUID means that an index build is in progress.

      "includeBuildUUIDs" is not part of the stable API, so I think we can safely remove it without having to update the API version, but I'm not sure.

      Attachments

        Activity

          People

            gabriel.marks@mongodb.com Gabriel Marks
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            12 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: