[SERVER-11995] Make 2.6 user upgrade process a single step Created: 06/Dec/13  Updated: 06/Feb/14  Resolved: 10/Jan/14

Status: Closed
Project: Core Server
Component/s: Admin, Security
Affects Version/s: 2.5.4
Fix Version/s: 2.5.5

Type: Improvement Priority: Major - P3
Reporter: Daniel Pasette (Inactive) Assignee: Andy Schwerin
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-12298 Typos in bsonExtractIntegerField stat... Closed
Participants:

 Description   

Allow users to upgrade sharded clusters with a single call to the authSchemaUpgradeStep command on a mongos. Upgrade will go against the config servers first and then upgrade each shard primary in turn.

Add a restart:true flag to the command which will allow users to restart the upgrade process from the beginning.



 Comments   
Comment by Githook User [ 10/Jan/14 ]

Author:

{u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@10gen.com'}

Message: SERVER-11995 Test of successful upgrade of auth schema on a sharded cluster w/ rs shards.
Branch: master
https://github.com/mongodb/mongo/commit/a0685f508ddb97b1a515e60973af2abb39d05926

Comment by Githook User [ 10/Jan/14 ]

Author:

{u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@10gen.com'}

Message: SERVER-11995 Have authSchemaUpgrade sent to a mongos upgrade auth schema everywhere.

In particular, sends the commands to each shard, as well as performing the upgrade on the
config servers.

Also, allow user to specify maximum number of upgrade steps to take on any given shard.
Defaults to "as many as necessary".

To achieve these changes, separate implementations of the upgrade command are provided to
mongos and mognod.
Branch: master
https://github.com/mongodb/mongo/commit/74f5f12f83f5dc6e221e4218ebe6832930822627

Comment by Andy Schwerin [ 08/Jan/14 ]

authSchemaUpgradeStep to be renamed to authSchemaUpgrade.

Command now takes two optional parameters:

upgradeShards: <Boolean>, defaults to true, only meaningful on mongos. When true, after successfully upgrade cluster configuration, runs the upgrade command on each shard in turn.

maxSteps: Default means "as many as necessary", maximum number of steps of upgrade to take. Mostly for internal testing. Legit values are omitted, 1 and 2.

Comment by Githook User [ 08/Jan/14 ]

Author:

{u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@10gen.com'}

Message: SERVER-11995 Remove redundant addStatus in favor of appendCommandStatus.
Branch: master
https://github.com/mongodb/mongo/commit/6fe729fdc28b23f105ff4466602615c8cd3585e8

Comment by Githook User [ 07/Jan/14 ]

Author:

{u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@10gen.com'}

Message: SERVER-11995 Fix Windows compiler error for bson_extract_test.
Branch: master
https://github.com/mongodb/mongo/commit/e129b9b625da164551471d68ccf9d2602abe4a3c

Comment by Githook User [ 07/Jan/14 ]

Author:

{u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@10gen.com'}

Message: SERVER-11995 Add basic integer support to bson_extract.h.
Branch: master
https://github.com/mongodb/mongo/commit/7ad6ad2e90f4b17c73c0f74f57460ef50469fa0b

Comment by Githook User [ 07/Jan/14 ]

Author:

{u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@10gen.com'}

Message: Fix getNodeId method of ReplSetTest object to return 0, not undefined, when node.nodeId == 0.

SERVER-11995
Branch: master
https://github.com/mongodb/mongo/commit/6535996c87f3430d8b084106c94e4763be50427a

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