diff options
author | matt dannenberg <matt.dannenberg@10gen.com> | 2015-09-08 04:25:43 -0400 |
---|---|---|
committer | matt dannenberg <matt.dannenberg@10gen.com> | 2015-09-08 04:25:43 -0400 |
commit | 650871daad6b8f1de5d1d9cf6468b7c6f552c340 (patch) | |
tree | 95fffdf4334a5071e65a1ac7100658601c637fe4 /src/mongo/db/auth/user_management_commands_parser.h | |
parent | 7a3fa1f56d9cb121cae4d854f6ded2a12793077b (diff) | |
download | mongo-650871daad6b8f1de5d1d9cf6468b7c6f552c340.tar.gz |
Revert "SERVER-20134 Restore the authSchemaUpgrade command"
This reverts commit 7a3fa1f56d9cb121cae4d854f6ded2a12793077b.
Diffstat (limited to 'src/mongo/db/auth/user_management_commands_parser.h')
-rw-r--r-- | src/mongo/db/auth/user_management_commands_parser.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/mongo/db/auth/user_management_commands_parser.h b/src/mongo/db/auth/user_management_commands_parser.h index 2bc278feecb..c55210e8978 100644 --- a/src/mongo/db/auth/user_management_commands_parser.h +++ b/src/mongo/db/auth/user_management_commands_parser.h @@ -223,19 +223,5 @@ struct MergeAuthzCollectionsArgs { Status parseMergeAuthzCollectionsCommand(const BSONObj& cmdObj, MergeAuthzCollectionsArgs* parsedArgs); -struct AuthSchemaUpgradeArgs { - int maxSteps = 3; - bool shouldUpgradeShards = true; - BSONObj writeConcern; -}; - -/** - * Takes a command object describing an invocation of the "authSchemaUpgrade" command and - * parses out the write concern, maximum steps to take and whether or not shard servers should - * also be upgraded, in the sharded deployment case. - */ -Status parseAuthSchemaUpgradeCommand(const BSONObj& cmdObj, - const std::string& dbname, - AuthSchemaUpgradeArgs* parsedArgs); } // namespace auth } // namespace mongo |