summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/migration_chunk_cloner_source_legacy.h
diff options
context:
space:
mode:
authorPaolo Polato <paolo.polato@mongodb.com>2021-05-12 07:30:03 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-05-12 09:01:47 +0000
commit44bdd2c38fd5c80881e15f40e2da6cacf5f35eb4 (patch)
tree3194bac61f47e26bad6110a9aeee00bf15e30500 /src/mongo/db/s/migration_chunk_cloner_source_legacy.h
parentfbcc35ba162987eaa4b8d656ec828069ea4090e5 (diff)
downloadmongo-44bdd2c38fd5c80881e15f40e2da6cacf5f35eb4.tar.gz
SERVER-56307 Allow the donor to enter the critical section when the untransferred mods are within a convergence threshold.
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.h3
1 files changed, 3 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 3f866595cda..f41127afad1 100644
--- a/src/mongo/db/s/migration_chunk_cloner_source_legacy.h
+++ b/src/mongo/db/s/migration_chunk_cloner_source_legacy.h
@@ -357,6 +357,9 @@ private:
// pre-allocation (initial clone).
uint64_t _averageObjectSizeForCloneLocs{0};
+ // The estimated average object _id size during the clone phase.
+ uint64_t _averageObjectIdSize{0};
+
// Represents all of the requested but not yet fulfilled operations to be tracked, with regards
// to the chunk being cloned.
uint64_t _outstandingOperationTrackRequests{0};