[SERVER-6463] Mongos sets shard host string to "set/" without any seed members Created: 16/Jul/12  Updated: 11/Jul/16  Resolved: 27/Jul/12

Status: Closed
Project: Core Server
Component/s: Admin, Replication, Sharding
Affects Version/s: 2.0.7, 2.1.2
Fix Version/s: 2.0.8, 2.2.0-rc1

Type: Bug Priority: Critical - P2
Reporter: Scott Hernandez (Inactive) Assignee: Randolph Tan
Resolution: Done Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Related
is related to SERVER-6583 "couldn't connect to new shard socket... Closed
is related to SERVER-5058 mongos should update config seed base... Closed
Operating System: ALL
Participants:

 Description   

If mongos starts but fails to connect, or has errors connecting to, to any replica members in the set, meaning none of them, it will update the shard config and remove the existing seed members. We should not persist the seed list if it is empty.

>db.shards.find()
{_id:"shard1", host:"shard1/"}



 Comments   
Comment by auto [ 13/Oct/12 ]

Author:

{u'date': u'2012-10-13T06:08:17-07:00', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}

Message: fix for SERVER-6463 slightly better
Branch: v2.0
https://github.com/mongodb/mongo/commit/4d37e1acbad77a3981e9f2954f78da26d093f8f7

Comment by auto [ 12/Oct/12 ]

Author:

{u'date': u'2012-10-12T07:22:19-07:00', u'email': u'eliot@10gen.com', u'name': u'Eliot Horowitz'}

Message: backport of 8e42151eccd3766bd0ad0320340d930ad0cc54ed for SERVER-6463
Branch: v2.0
https://github.com/mongodb/mongo/commit/8ea06cd353ec362256dfcafa835ceba78ecc8186

Comment by auto [ 27/Jul/12 ]

Author:

{u'date': u'2012-07-24T13:05:08-07:00', u'email': u'randolph@10gen.com', u'name': u'Randolph Tan'}

Message: Put back SERVER-6463
Branch: master
https://github.com/mongodb/mongo/commit/f6c3b8012f42d56afaadfcfc76378a975ad116f8

Comment by auto [ 25/Jul/12 ]

Author:

{u'date': u'2012-07-25T07:03:47-07:00', u'email': u'greg@10gen.com', u'name': u'Greg Studer'}

Message: Revert "SERVER-6463 Mongos sets shard host string to "set/" without any seed members"

This reverts commit 076139589fbbb7f55b0b1b7a2c7619ce49af4de6.
Branch: master
https://github.com/mongodb/mongo/commit/263f86297abfc5612a65e7bcbd23b771f4e26995

Comment by auto [ 24/Jul/12 ]

Author:

{u'date': u'2012-07-24T13:05:08-07:00', u'email': u'randolph@10gen.com', u'name': u'Randolph Tan'}

Message: SERVER-6463 Mongos sets shard host string to "set/" without any seed members
Branch: master
https://github.com/mongodb/mongo/commit/076139589fbbb7f55b0b1b7a2c7619ce49af4de6

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