summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/oplog_fetcher.h
diff options
context:
space:
mode:
authorLingzhi Deng <lingzhi.deng@mongodb.com>2020-02-09 23:05:56 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-02-11 16:58:42 +0000
commitfaa931d0c180e16c8a249142a657cfd5fe3af2bb (patch)
tree29cbddd81be20979da7c1480fed4a64b3054d556 /src/mongo/db/repl/oplog_fetcher.h
parent33d5b7aedebf73f581a87880f0872cbb54bf6539 (diff)
downloadmongo-faa931d0c180e16c8a249142a657cfd5fe3af2bb.tar.gz
SERVER-44705: Track time spent in each batch
Diffstat (limited to 'src/mongo/db/repl/oplog_fetcher.h')
-rw-r--r--src/mongo/db/repl/oplog_fetcher.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/repl/oplog_fetcher.h b/src/mongo/db/repl/oplog_fetcher.h
index 0ee841bd6ba..0c64c44ede3 100644
--- a/src/mongo/db/repl/oplog_fetcher.h
+++ b/src/mongo/db/repl/oplog_fetcher.h
@@ -597,6 +597,8 @@ private:
// Handle to currently scheduled _runQuery task.
executor::TaskExecutor::CallbackHandle _runQueryHandle;
+
+ int _lastBatchElapsedMS;
};
} // namespace repl