[SERVER-5794] mongod should not check minor version on new connections Created: 09/May/12  Updated: 02/Aug/18  Resolved: 12/Jun/12

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

Type: Task Priority: Major - P3
Reporter: Greg Studer Assignee: Gregory McKeon (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

Existing connections are not required to reset their shard versions (via setShardVersion) unless the major version of the shard changes, however new connections are required to have both the same major and minor version of the shard to connect. Checking the minor versions leads to unnecessary config reloads when the highest-version chunk of a shard splits, and makes reloading config information in mongos more complicated and inefficient (requires full reload or an $or query with #shards clauses. For large clusters, this is potentially slow).

Backwards compatibility should not be affected, as this makes mongod more permissive.



 Comments   
Comment by auto [ 13/Jun/12 ]

Author:

{u'date': u'2012-06-13T06:31:48-07:00', u'email': u'greg@10gen.com', u'name': u'Greg Studer'}

Message: SERVER-5794 buildbot v8 major_version_check.js timestamps come back in different form in v8
Branch: master
https://github.com/mongodb/mongo/commit/163a2d64ee88f7a4efb604f6208578ef117c4bc3

Comment by auto [ 12/Jun/12 ]

Author:

{u'date': u'2012-06-11T13:34:20-07:00', u'email': u'greg@10gen.com', u'name': u'Greg Studer'}

Message: SERVER-5794 max out $or clauses for config reload queries
Branch: master
https://github.com/mongodb/mongo/commit/17ffcb08ac1d62ce8cd4296f5a42850abb070a22

Comment by auto [ 12/Jun/12 ]

Author:

{u'date': u'2012-06-11T13:33:01-07:00', u'email': u'greg@10gen.com', u'name': u'Greg Studer'}

Message: SERVER-5794 only require major versions match on new connections
Branch: master
https://github.com/mongodb/mongo/commit/a08fda2923682973b26db2784af709b6e0585103

Comment by Greg Studer [ 12/Jun/12 ]

commit 17ffcb08ac1d62ce8cd4296f5a42850abb070a22
Author: Greg Studer <greg@10gen.com>
Date: Mon Jun 11 16:34:20 2012 -0400

SERVER-5794 max out $or clauses for config reload queries

commit a08fda2923682973b26db2784af709b6e0585103
Author: Greg Studer <greg@10gen.com>
Date: Mon Jun 11 16:33:01 2012 -0400

SERVER-5794 only require major versions match on new connections

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