[SERVER-4755] sharded explain should return shard names, not addresses Created: 24/Jan/12  Updated: 10/Dec/14  Resolved: 14/Oct/14

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

Type: Improvement Priority: Major - P3
Reporter: Greg Studer Assignee: David Storch
Resolution: Duplicate Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-10448 Revamp explain() formatting Closed
Participants:

 Description   

In sharded explain, we return the connection strings for each shard hit, not the shard name - this seems inconsistent with how we generally describe a sharded setup.

Suggest returning something like :

shards : { shard0001 :

{ host : <conn string>, other_fields_of_explain : <> }

, shard0002 :

{ ... }

}



 Comments   
Comment by David Storch [ 14/Oct/14 ]

Resolving as a duplicate of SERVER-10448. The new explain format now present in the 2.7 development branch now provides a field "shardName" for each shard.

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