[SERVER-67049] Add feature flag check for global index server status Created: 06/Jun/22  Updated: 29/Oct/23  Resolved: 15/Aug/22

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 6.1.0-rc0

Type: Task Priority: Major - P3
Reporter: Randolph Tan Assignee: Nandini Bhartiya
Resolution: Fixed Votes: 0
Labels: sharding-nyc-subteam1
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-64115 Create Feature flag for PM-2761 Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding 2022-08-08, Sharding 2022-08-22
Participants:
Story Points: 1

 Comments   
Comment by Max Hirschhorn [ 02/Aug/22 ]

The "shardingStatistics" section in the serverStatus output reports metrics for both resharding and global indexes. The call to

Metrics::getForGlobalIndexes(sCtx)->reportForServerStatus(bob);

should be changed to be guarded by gFeatureFlagGlobalIndexes instead of resharding::gFeatureFlagResharding.

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