From 00c9d427d464a415d85affc6fa956b124cd61fd3 Mon Sep 17 00:00:00 2001 From: Gregory Wlodarek Date: Tue, 7 May 2019 10:56:35 -0400 Subject: SERVER-40641 Ensure TTL delete in prepare conflict retry loop does not block step down --- src/mongo/db/ttl.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/mongo/db/ttl.h') 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 -- cgit v1.2.1