[DOCS-153] docs should mention special-case of mongos startup needing to write to config.version Created: 07/Mar/12  Updated: 30/Oct/23  Resolved: 10/Sep/12

Status: Closed
Project: Documentation
Component/s: Server
Affects Version/s: None
Fix Version/s: Server_Docs_20231030

Type: Improvement Priority: Major - P3
Reporter: Greg Studer Assignee: Ed Costello
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-2988 mongos fails to start initially when ... Closed
Participants:
Days since reply: 11 years, 23 weeks, 2 days ago

 Description   

The first time a cluster is accessed through mongos, we need to be able to create a document in the config.version collection to make sure every subsequent mongos uses the config data in the same way. This requires all three config servers online for the very first mongos when the cluster data is empty.



 Comments   
Comment by Ed Costello [ 10/Sep/12 ]

Deployed to site.

Comment by auto [ 05/Sep/12 ]

Author:

{u'date': u'2012-09-05T09:25:51-07:00', u'email': u'samk@10gen.com', u'name': u'Sam Kleinman'}

Message: DOCS-153 clarification
Branch: master
https://github.com/mongodb/docs/commit/3824c651d5c76d35d98803e74c3989dff0c0bd94

Comment by auto [ 05/Sep/12 ]

Author:

{u'date': u'2012-09-05T09:19:48-07:00', u'email': u'samk@10gen.com', u'name': u'Sam Kleinman'}

Message: merge: DOCS-153
Branch: master
https://github.com/mongodb/docs/commit/cc444ad88d3b60abf6d935a3b9ff581eef66ddc6

Comment by auto [ 05/Sep/12 ]

Author:

{u'date': u'2012-09-05T07:53:28-07:00', u'email': u'epc@10gen.com', u'name': u'Ed Costello'}

Message: DOCS-153 all config servers must be up to init cluster
Branch: master
https://github.com/mongodb/docs/commit/64bdf6d805c9681e18568a45f441b767c2cdbb09

Comment by auto [ 05/Sep/12 ]

Author:

{u'date': u'2012-09-05T07:35:19-07:00', u'email': u'epc@10gen.com', u'name': u'Ed Costello'}

Message: DOCS-153 add note about all config servers needing to be up on initial setup

also fix error (elided sentence) introduced in fc3b14f14d419628d25fd7fad401b996f5cb62f5
Branch: master
https://github.com/mongodb/docs/commit/9993df8d5eb7a1b1ae1a714c4805d178faac14fa

Comment by Ed Costello [ 05/Sep/12 ]

I pushed a minor update to note that the config servers need to be up when initializing a shard cluster.
Need clarification: whether they all need to be up only on initialization or whenever mongos is started.

Comment by Ed Costello [ 05/Sep/12 ]

Is it that the first time an individual mongos accesses the cluster all config servers (either 1 or 3) need to be online (so: if I had an existing cluster and I add a new mongos, does it need to write to config.version?) or is it the case that when the cluster is first brought online all config servers need to be available (a one time thing)?

Generated at Thu Feb 08 07:38:02 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.