diff options
author | Esha Maharishi <esha.maharishi@mongodb.com> | 2016-06-10 17:56:10 -0400 |
---|---|---|
committer | Esha Maharishi <esha.maharishi@mongodb.com> | 2016-06-10 17:56:10 -0400 |
commit | 029938758e4f9c7079e2363bf5e56c1452c20426 (patch) | |
tree | beded88ba6037d7075c26155b7940017ab4b0ddf /src/mongo/db/s/type_shard_identity.h | |
parent | 1f672d661fa3f48a099a7a6c10c4d6666dc06f19 (diff) | |
download | mongo-029938758e4f9c7079e2363bf5e56c1452c20426.tar.gz |
Revert "SERVER-24126 Add step to _cfgsvrAddShard command where it inserts the shardIdentity document to the new shard"
This reverts commit 1e26998e7fda52c226385fae4069ebbc384c294a.
Diffstat (limited to 'src/mongo/db/s/type_shard_identity.h')
-rw-r--r-- | src/mongo/db/s/type_shard_identity.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/mongo/db/s/type_shard_identity.h b/src/mongo/db/s/type_shard_identity.h index 9c51913fe0f..30e2c832dff 100644 --- a/src/mongo/db/s/type_shard_identity.h +++ b/src/mongo/db/s/type_shard_identity.h @@ -32,7 +32,6 @@ #include "mongo/client/connection_string.h" #include "mongo/db/jsobj.h" -#include "mongo/s/write_ops/batched_update_request.h" namespace mongo { @@ -41,8 +40,6 @@ namespace mongo { */ class ShardIdentityType { public: - ShardIdentityType() = default; - // The _id value for this document type. static const std::string IdName; @@ -81,13 +78,6 @@ public: void setClusterId(OID clusterId); /** - * Returns an update object that can be used to insert a shardIdentity doc on a shard or update - * the existing shardIdentity doc's configsvrConnString (if the _id, shardName, and clusterId - * match those in this ShardIdentityType instance). - */ - std::unique_ptr<BatchedUpdateRequest> createUpsertForAddShard() const; - - /** * Returns an update object that can be used to update the config server field of the * shardIdentity document with the new connection string. */ |