summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/database_cloner.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/repl/database_cloner.h')
-rw-r--r--src/mongo/db/repl/database_cloner.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/db/repl/database_cloner.h b/src/mongo/db/repl/database_cloner.h
index 73006606586..3c5c3a472e8 100644
--- a/src/mongo/db/repl/database_cloner.h
+++ b/src/mongo/db/repl/database_cloner.h
@@ -178,6 +178,11 @@ private:
bool _isActive_inlock() const;
/**
+ * Returns whether the DatabaseCloner is in shutdown.
+ */
+ bool _isShuttingDown() const;
+
+ /**
* Read collection names and options from listCollections result.
*/
void _listCollectionsCallback(const StatusWith<Fetcher::QueryResponse>& fetchResult,