[SERVER-28925] Use listDatabases({'nameOnly': true}) in the addShard implementation Created: 21/Apr/17  Updated: 30/Oct/23  Resolved: 25/Apr/17

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

Type: Improvement Priority: Major - P3
Reporter: Kaloian Manassiev Assignee: Kaloian Manassiev
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
depends on SERVER-3181 Add option to listDatabases to only g... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v3.4
Sprint: Sharding 2017-05-08
Participants:

 Description   

The addShard command implementation only needs the list of database names, but not the size information so it should include the 'nameOnly': true flag.



 Comments   
Comment by Githook User [ 26/Apr/17 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-28925 Use listDatabases(

{'nameOnly': true}

) in the addShard implementation

(cherry picked from commit 6f73e49810e15de87f3081824d9fc19f547786fe)
Branch: v3.4
https://github.com/mongodb/mongo/commit/9fea8e3efe1521426e51055331f211539de255bc

Comment by Githook User [ 25/Apr/17 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-28925 Use listDatabases(

{'nameOnly': true}

) in the addShard implementation
Branch: master
https://github.com/mongodb/mongo/commit/6f73e49810e15de87f3081824d9fc19f547786fe

Generated at Thu Feb 08 04:19:26 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.