summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/migration_source_manager.h
diff options
context:
space:
mode:
authorDianna Hohensee <dianna.hohensee@10gen.com>2015-12-02 11:51:41 -0500
committerDianna Hohensee <dianna.hohensee@10gen.com>2015-12-22 09:12:08 -0500
commit3663e004dfc2f73b82b3d88b5fa1ac6b7dcd1d33 (patch)
treed46813559c37225f31768042e2bd2a4ba8ce1ba0 /src/mongo/db/s/migration_source_manager.h
parent07b2e02ffddbd9998b8c738895f3fae85b592176 (diff)
downloadmongo-3663e004dfc2f73b82b3d88b5fa1ac6b7dcd1d33.tar.gz
SERVER-21382 fixing sharding migration to transfer only document deletions relevant to the chunk being migrated, not every deletion
Diffstat (limited to 'src/mongo/db/s/migration_source_manager.h')
-rw-r--r--src/mongo/db/s/migration_source_manager.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/s/migration_source_manager.h b/src/mongo/db/s/migration_source_manager.h
index 4921610332d..8c6251fe49b 100644
--- a/src/mongo/db/s/migration_source_manager.h
+++ b/src/mongo/db/s/migration_source_manager.h
@@ -71,6 +71,8 @@ public:
BSONObj* patt,
bool notInActiveChunk);
+ bool isInMigratingChunk(const NamespaceString& ns, const BSONObj& doc);
+
/**
* Called from the source of a migration process, this method transfers the accummulated local
* mods from source to destination.