From c20a1829195384e6f9737cdba13b850364366e1d Mon Sep 17 00:00:00 2001 From: Christopher Caplinger Date: Mon, 10 Apr 2023 13:27:40 +0000 Subject: Revert "SERVER-72622: Track TenantOplogApplier progress in replicated collection" This reverts commit 636ad08bdb6fb5c9ad98ee4cdde8f52929c29830. --- src/mongo/db/repl/tenant_migration_recipient_service.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/mongo/db/repl/tenant_migration_recipient_service.h') diff --git a/src/mongo/db/repl/tenant_migration_recipient_service.h b/src/mongo/db/repl/tenant_migration_recipient_service.h index 61c980f90bb..994df6db5fa 100644 --- a/src/mongo/db/repl/tenant_migration_recipient_service.h +++ b/src/mongo/db/repl/tenant_migration_recipient_service.h @@ -480,6 +480,13 @@ public: */ BSONObj _getOplogFetcherFilter() const; + /* + * Traverse backwards through the oplog to find the optime which tenant oplog application + * should resume from. The oplog applier should resume applying entries that have a greater + * optime than the returned value. + */ + OpTime _getOplogResumeApplyingDonorOptime(const OpTime& cloneFinishedRecipientOpTime) const; + /* * Starts the tenant cloner. * Returns future that will be fulfilled when the cloner completes. -- cgit v1.2.1