diff options
author | Matthew Russotto <matthew.russotto@mongodb.com> | 2019-12-02 18:50:44 +0000 |
---|---|---|
committer | evergreen <evergreen@mongodb.com> | 2019-12-02 18:50:44 +0000 |
commit | 4a57893567fc15eda83950bd429abadafbd8c190 (patch) | |
tree | 7ed4960f8388cd398c95daad260a8aee2c149833 /src/mongo/db/repl/collection_cloner.h | |
parent | 27cf911c3f653f3506c9b34866b76444b323fa35 (diff) | |
download | mongo-4a57893567fc15eda83950bd429abadafbd8c190.tar.gz |
SERVER-44060 Make stats contain un-started collections and databases.
Diffstat (limited to 'src/mongo/db/repl/collection_cloner.h')
-rw-r--r-- | src/mongo/db/repl/collection_cloner.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mongo/db/repl/collection_cloner.h b/src/mongo/db/repl/collection_cloner.h index dd994edbec8..25f84da9a81 100644 --- a/src/mongo/db/repl/collection_cloner.h +++ b/src/mongo/db/repl/collection_cloner.h @@ -125,6 +125,16 @@ private: } /** + * The preStage sets the start time in _stats. + */ + void preStage() final; + + /** + * The postStage sets the end time in _stats. + */ + void postStage() final; + + /** * Stage function that counts the number of documents in the collection on the source in order * to generate progress information. */ |