summaryrefslogtreecommitdiff
path: root/src/mongo/db/ttl.h
diff options
context:
space:
mode:
authorGregory Wlodarek <gregory.wlodarek@mongodb.com>2019-05-07 10:56:35 -0400
committerGregory Wlodarek <gregory.wlodarek@mongodb.com>2019-05-17 20:02:23 -0400
commit00c9d427d464a415d85affc6fa956b124cd61fd3 (patch)
tree4c51af54257be30d407f4dfdaa819e1de62f562b /src/mongo/db/ttl.h
parent8899b34e1044b08aec7ad9f8546652456472702c (diff)
downloadmongo-00c9d427d464a415d85affc6fa956b124cd61fd3.tar.gz
SERVER-40641 Ensure TTL delete in prepare conflict retry loop does not block step down
Diffstat (limited to 'src/mongo/db/ttl.h')
-rw-r--r--src/mongo/db/ttl.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/mongo/db/ttl.h b/src/mongo/db/ttl.h
index b339e22b487..b0313261b07 100644
--- a/src/mongo/db/ttl.h
+++ b/src/mongo/db/ttl.h
@@ -30,5 +30,9 @@
#pragma once
namespace mongo {
-void startTTLBackgroundJob();
-}
+
+class ServiceContext;
+
+void startTTLBackgroundJob(ServiceContext* serviceContext);
+
+} // namespace mongo