[DOCS-15752] [Server] Investigate changes in SERVER-70790: shardingState command appends only the major and minor version of the ShardVersion Created: 22/Nov/22  Updated: 13/Nov/23  Resolved: 10/May/23

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: 6.3.0-rc0, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113

Type: Task Priority: Critical - P2
Reporter: Backlog - Core Eng Program Management Team Assignee: Alison Huh
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-70790 shardingState command appends only th... Closed
Participants:
Days since reply: 1 year, 11 weeks, 1 day ago

 Description   
Original Downstream Change Summary

Changed the output of the shardingState command. Now, instead of the version portion of the command output looking like:

"versions": {
    "<database>.<collection>" : Timestamp(<...>),
    "<database>.<collection>" : Timestamp(<...>)
}

 

it will instead look like:

"versions": {
    "<database>.<collection>": {
        "placementVersion": Timestamp(<...>), 
        "timestamp": Timestamp(<...>) 
    },
    "<database>.<collection>": {
        "placementVersion": Timestamp(<...>), 
        "timestamp": Timestamp(<...>)
    }
}

 

Description of Linked Ticket

The shardingState command attaches the versions of each collection as part of the output of the command. However, we are only attaching the timestamp (major and minor version) and ignoring the epoch and timestamp (and soon, the index version as well). We should check if we can change the output of this user command, and either update the version to include the epoch, timestamp, and index version or change the name of the command to appendCollectionPlacement (since we are not appending a shard version currently)



 Comments   
Comment by Education Bot [ 22/Nov/22 ]

Fix Version updated for upstream SERVER-70790:
6.3.0-rc0

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