summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/migration_source_manager.h
diff options
context:
space:
mode:
authorSpencer T Brody <spencer@mongodb.com>2015-08-24 15:53:54 -0400
committerSpencer T Brody <spencer@mongodb.com>2015-08-25 14:58:12 -0400
commitd64c98deed2440ae0f3700dc373bf8b97886030c (patch)
treec676a9a82a56a2191fb5cab3956e515484bc57d1 /src/mongo/db/s/migration_source_manager.h
parent559be68757f52d0a5f6e2c2622febea8acf80c35 (diff)
downloadmongo-d64c98deed2440ae0f3700dc373bf8b97886030c.tar.gz
SERVER-19855 Do not perform shard version checking where not necessary
This reverts commit 045cd1070cae1e7827255850c2fe35194e48b24e.
Diffstat (limited to 'src/mongo/db/s/migration_source_manager.h')
-rw-r--r--src/mongo/db/s/migration_source_manager.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mongo/db/s/migration_source_manager.h b/src/mongo/db/s/migration_source_manager.h
index 0475e771fcd..4921610332d 100644
--- a/src/mongo/db/s/migration_source_manager.h
+++ b/src/mongo/db/s/migration_source_manager.h
@@ -34,6 +34,7 @@
#include "mongo/base/disallow_copying.h"
#include "mongo/bson/bsonobj.h"
+#include "mongo/db/namespace_string.h"
#include "mongo/stdx/condition_variable.h"
namespace mongo {
@@ -131,7 +132,7 @@ private:
long long& size,
bool explode);
- std::string _getNS() const;
+ NamespaceString _getNS() const;
// All member variables are labeled with one of the following codes indicating the
// synchronization rules for accessing them.
@@ -166,7 +167,7 @@ private:
// If a migration is currently active.
bool _active{false}; // (MG)
- std::string _ns; // (MG)
+ NamespaceString _nss; // (MG)
BSONObj _min; // (MG)
BSONObj _max; // (MG)
BSONObj _shardKeyPattern; // (MG)