diff options
author | Lingzhi Deng <lingzhi.deng@mongodb.com> | 2020-02-09 23:05:56 -0500 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-02-11 16:58:42 +0000 |
commit | faa931d0c180e16c8a249142a657cfd5fe3af2bb (patch) | |
tree | 29cbddd81be20979da7c1480fed4a64b3054d556 /src/mongo/db/repl/oplog_fetcher.h | |
parent | 33d5b7aedebf73f581a87880f0872cbb54bf6539 (diff) | |
download | mongo-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.h | 2 |
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 |