summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/migration_chunk_cloner_source_legacy.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/s/migration_chunk_cloner_source_legacy.h')
-rw-r--r--src/mongo/db/s/migration_chunk_cloner_source_legacy.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mongo/db/s/migration_chunk_cloner_source_legacy.h b/src/mongo/db/s/migration_chunk_cloner_source_legacy.h
index f41127afad1..7bc9b80df0b 100644
--- a/src/mongo/db/s/migration_chunk_cloner_source_legacy.h
+++ b/src/mongo/db/s/migration_chunk_cloner_source_legacy.h
@@ -373,10 +373,16 @@ private:
// List of _id of documents that were modified that must be re-cloned (xfer mods)
std::list<BSONObj> _reload;
+ // Amount of upsert xfer mods that have not yet reached the recipient.
+ size_t _untransferredUpsertsCounter{0};
+
// List of _id of documents that were deleted during clone that should be deleted later (xfer
// mods)
std::list<BSONObj> _deleted;
+ // Amount of delete xfer mods that have not yet reached the recipient.
+ size_t _untransferredDeletesCounter{0};
+
// Total bytes in _reload + _deleted (xfer mods)
uint64_t _memoryUsed{0};