[SERVER-72508] Add a "note" field to the analyzeShardKey response to explain "numOrphanDocs" Created: 04/Jan/23  Updated: 29/Oct/23  Resolved: 02/Feb/23

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

Type: Task Priority: Major - P3
Reporter: Cheahuychou Mao Assignee: Cheahuychou Mao
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Sharding NYC
Backwards Compatibility: Fully Compatible
Sprint: Sharding NYC 2023-02-06
Participants:

 Comments   
Comment by Githook User [ 02/Feb/23 ]

Author:

{'name': 'Cheahuychou Mao', 'email': 'mao.cheahuychou@gmail.com', 'username': 'cheahuychou'}

Message: SERVER-72508 Do not return a "note" about orphan documents if the collection is not sharded
Branch: master
https://github.com/mongodb/mongo/commit/05bd358d519327f2ec47698d3f5efbc768f8f5b5

Comment by Cheahuychou Mao [ 30/Jan/23 ]

It's confusing to return "note" when "numOrphanDocs" is not present (i.e. when the collection is unsharded or when the command is running in a sharded cluster. Re-opening the ticket to handle this.

Comment by Githook User [ 27/Jan/23 ]

Author:

{'name': 'Cheahuychou Mao', 'email': 'mao.cheahuychou@gmail.com', 'username': 'cheahuychou'}

Message: SERVER-72508 Add a "note" field to the analyzeShardKey response to explain "numOrphanDocs"
Branch: master
https://github.com/mongodb/mongo/commit/c878cd0b6e07300fd75f1b66658d190675cb90e9

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