[DOCS-15353] [Server] Investigate changes in SERVER-60791: Add information about index build state in listIndexes output Created: 23/May/22  Updated: 22/Jan/24

Status: Backlog
Project: Documentation
Component/s: manual, Server
Affects Version/s: 6.0.0, 6.1.0-rc0
Fix Version/s: 6.1.0-rc0

Type: Task Priority: Major - P3
Reporter: Backlog - Core Eng Program Management Team Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: backlog, feature, server-docs-bug-bash
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-60791 Add information about index build sta... Closed
Participants:
Days since reply: 1 year, 37 weeks, 2 days ago
Epic Link: DOCSP-19446

 Description   
Original Downstream Change Summary

Includes new fields under indexBuildInfo section in listIndexes command result when enabling includeBuildInfo option

Description of Linked Ticket

See discussion in SERVER-59084 – Currently, in the currentOp output as well as in the system.indexBuilds collection, there's a lot of information regarding the status of index builds (Namely, the phase of each index build and which indexes are being built by a given index build). It would be nice to have this index build state information be output in listIndexes. After SERVER-59084, the listIndexes output will include, per index, a field "indexBuildStatus" denoting whether that index is currently building or not, but not the specific phase of index building.

 

Information about phases for each index build which goes into CurOp is maintained by various index-build related operations, for example here where the phase is set to scanning collection. Information about index builds in system.indexBuilds is maintained by _setUpIndexBuildInner here. The serverStatus command also includes some information about current index builds, but it only holds how many index builds are in each phase, not which index builds are in which phase – that information is maintained in the activeIndexBuilds server status section by the IndexBuildsCoordinator, for example here where the number of index builds in the scanCollection phase is maintained.



 Comments   
Comment by Education Bot [ 23/May/22 ]

Fix Version updated for upstream SERVER-60791:
6.1.0-rc0

Generated at Thu Feb 08 08:12:39 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.