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

Extend $indexStats output to include full index options and shard name

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2.4, 4.3.3
    • Component/s: Sharding
    • Labels:
      None
    • Backwards Compatibility:
      Minor Change
    • Backport Requested:
      v4.2
    • Sprint:
      Sharding 2019-12-16

      Description

      From the design document, the following changes should be made to $indexStats:

      • By default, each document returned by $indexStats will return an additional spec field that will contain the BSON object index description associated with the index in its IndexDescriptor, like those returned by the listIndexes command.
      • Indexes that are being built should be included in the $indexStats output and will contain an additional building boolean field. This field will not be present for indexes that have finished building.
      • Output documents generated for indexes on sharding enabled node started with --shardsvr¬†should contain the shardId of the shard that generated the document in a new shard field.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mihai.andrei Mihai Andrei
              Reporter:
              jack.mulrow Jack Mulrow
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: