summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/initial_syncer.h
diff options
context:
space:
mode:
authorMatthew Russotto <matthew.russotto@mongodb.com>2020-01-21 21:27:42 +0000
committerevergreen <evergreen@mongodb.com>2020-01-21 21:27:42 +0000
commitfd317b4f262e66624975e42f77b7c9bddc47fbbe (patch)
tree4a27505c755581825576312944884d6bb4ef8b40 /src/mongo/db/repl/initial_syncer.h
parent5d5ab0e0d20f65872f6e006835593bfb75f63905 (diff)
downloadmongo-fd317b4f262e66624975e42f77b7c9bddc47fbbe.tar.gz
SERVER-43280 Implement new initial sync statistics
Diffstat (limited to 'src/mongo/db/repl/initial_syncer.h')
-rw-r--r--src/mongo/db/repl/initial_syncer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/db/repl/initial_syncer.h b/src/mongo/db/repl/initial_syncer.h
index d7f13f0ee16..399fdd57c54 100644
--- a/src/mongo/db/repl/initial_syncer.h
+++ b/src/mongo/db/repl/initial_syncer.h
@@ -156,6 +156,9 @@ public:
int durationMillis;
Status status;
HostAndPort syncSource;
+ int rollBackId;
+ int operationsRetried;
+ int totalTimeUnreachableMillis;
std::string toString() const;
BSONObj toBSON() const;