summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/migration_source_manager.h
diff options
context:
space:
mode:
authorDianna Hohensee <dianna.hohensee@10gen.com>2016-01-06 18:06:16 -0500
committerDianna Hohensee <dianna.hohensee@10gen.com>2016-01-15 15:23:14 -0500
commit2d8008289b9d075c56841dc08830bb7cff28aeaf (patch)
tree4b382af4f4f65765f55661b9a54a62f988e3a494 /src/mongo/db/s/migration_source_manager.h
parent64a7daba1746dcda0f7d25eab82d35e2c093d54f (diff)
downloadmongo-2d8008289b9d075c56841dc08830bb7cff28aeaf.tar.gz
SERVER-22057 refactor OpObserver::onUpdate and MigrationSourceManager::logUpdateOp to directly take the updated document
Diffstat (limited to 'src/mongo/db/s/migration_source_manager.h')
-rw-r--r--src/mongo/db/s/migration_source_manager.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/db/s/migration_source_manager.h b/src/mongo/db/s/migration_source_manager.h
index f8c5af184cc..64ed807b1d6 100644
--- a/src/mongo/db/s/migration_source_manager.h
+++ b/src/mongo/db/s/migration_source_manager.h
@@ -75,13 +75,13 @@ public:
bool notInActiveChunk);
/**
- * If a migration for the chunk in 'ns' containing the document with the _id in 'pattern' is
- * in progress, saves this update to the transfer mods log. The entries saved here are later
- * transferred to the receiving side of the migration.
+ * If a migration for the chunk in 'ns' containing 'updatedDoc' is in progress, saves this
+ * update to the transfer mods log. The entries saved here are later transferred to the
+ * receiving side of the migration.
*/
void logUpdateOp(OperationContext* txn,
const char* ns,
- const BSONObj& pattern,
+ const BSONObj& updatedDoc,
bool notInActiveChunk);
/**