diff options
author | Dianna Hohensee <dianna.hohensee@10gen.com> | 2015-12-02 11:51:41 -0500 |
---|---|---|
committer | Dianna Hohensee <dianna.hohensee@10gen.com> | 2015-12-22 09:12:08 -0500 |
commit | 3663e004dfc2f73b82b3d88b5fa1ac6b7dcd1d33 (patch) | |
tree | d46813559c37225f31768042e2bd2a4ba8ce1ba0 /src/mongo/db/s/migration_source_manager.h | |
parent | 07b2e02ffddbd9998b8c738895f3fae85b592176 (diff) | |
download | mongo-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.h | 2 |
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. |