[SERVER-44915] Extend $indexStats output to include full index options and shard name Created: 02/Dec/19  Updated: 29/Oct/23  Resolved: 16/Dec/19

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 4.2.4, 4.3.3

Type: Task Priority: Major - P3
Reporter: Jack Mulrow Assignee: Mihai Andrei
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
is depended on by DRIVERS-807 Extend $indexStats output to include ... Closed
Documented
Related
is related to SERVER-72620 $indexStats doesn't include the "shar... Closed
Backwards Compatibility: Minor Change
Backport Requested:
v4.2
Sprint: Sharding 2019-12-16
Participants:

 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.


 Comments   
Comment by Githook User [ 12/Feb/20 ]

Author:

{'name': 'Mihai Andrei', 'email': 'mihai.andrei@mongodb.com'}

Message: SERVER-44915 Extend output to include full index options and shard name

(cherry picked from commit 5e5d712c2ef0e91f93dc4bb4dd78006d1219bba2)
Branch: v4.2
https://github.com/mongodb/mongo/commit/d7d05c0f754fb51c4c48573f3d092775fc275eb3

Comment by Githook User [ 16/Dec/19 ]

Author:

{'name': 'Mihai Andrei', 'email': 'mihai.andrei@mongodb.com'}

Message: SERVER-44915 Extend output to include full index options and shard name
Branch: master
https://github.com/mongodb/mongo/commit/5e5d712c2ef0e91f93dc4bb4dd78006d1219bba2

Generated at Thu Feb 08 05:07:21 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.