diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2022-03-01 11:01:22 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-03-01 12:08:24 +0000 |
commit | 0908dbec2f7e5d0dd0bfdf9369c5691aa75627fe (patch) | |
tree | 964062c8a20a21c03799c98614181ca9ff77247f /src/mongo/db/s/operation_sharding_state.h | |
parent | 07d0be8c575c796065fdc18d05723bd92f66c8f2 (diff) | |
download | mongo-0908dbec2f7e5d0dd0bfdf9369c5691aa75627fe.tar.gz |
SERVER-64057 Move the shard/database version parsing to the endpoint
Diffstat (limited to 'src/mongo/db/s/operation_sharding_state.h')
-rw-r--r-- | src/mongo/db/s/operation_sharding_state.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/mongo/db/s/operation_sharding_state.h b/src/mongo/db/s/operation_sharding_state.h index c4a63ba3a0b..2a39b630658 100644 --- a/src/mongo/db/s/operation_sharding_state.h +++ b/src/mongo/db/s/operation_sharding_state.h @@ -86,22 +86,6 @@ public: }; /** - * Parses shardVersion and databaseVersion from 'cmdObj' and stores the results in this object - * along with the given namespace that is associated with the versions. Does nothing if no - * shardVersion or databaseVersion is attached to the command. - * - * Expects 'cmdObj' to have format - * { ..., - * shardVersion: [<version>, <epoch>], - * databaseVersion: { uuid: <UUID>, version: <int> }, - * ...} - * - * This initialization may only be performed once for the lifetime of the object, which - * coincides with the lifetime of the client's request. - */ - void initializeClientRoutingVersionsFromCommand(NamespaceString nss, const BSONObj& cmdObj); - - /** * Stores the given shardVersion and databaseVersion for the given namespace. Note: The shard * version for the given namespace stored in the OperationShardingState can be overwritten if it * has not been checked yet. |