summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/migration_chunk_cloner_source.h
diff options
context:
space:
mode:
authorjannaerin <golden.janna@gmail.com>2018-02-07 11:47:29 -0500
committerjannaerin <golden.janna@gmail.com>2018-02-08 09:41:01 -0500
commite1fdc072a60a0cc47395e09c3d9a796f424e0040 (patch)
tree5664ab254e9b5f07f9c0465af88110fc0670220f /src/mongo/db/s/migration_chunk_cloner_source.h
parent7574817caec09fa1a2ab5ea60f00f766da63f9cd (diff)
downloadmongo-e1fdc072a60a0cc47395e09c3d9a796f424e0040.tar.gz
SERVER-31979 Chunk migration statistics included in moveChunk.commit
Diffstat (limited to 'src/mongo/db/s/migration_chunk_cloner_source.h')
-rw-r--r--src/mongo/db/s/migration_chunk_cloner_source.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/db/s/migration_chunk_cloner_source.h b/src/mongo/db/s/migration_chunk_cloner_source.h
index 65b2a6d23f6..75dd433c702 100644
--- a/src/mongo/db/s/migration_chunk_cloner_source.h
+++ b/src/mongo/db/s/migration_chunk_cloner_source.h
@@ -93,6 +93,9 @@ public:
* This must only be called once and no more methods on the cloner must be used afterwards
* regardless of whether it succeeds or not.
*
+ * Returns statistics about the move. These are informational only and should not be
+ * interpreted by the caller for any means other than reporting.
+ *
* NOTE: Must be called without any locks.
*/
virtual StatusWith<BSONObj> commitClone(OperationContext* opCtx) = 0;