summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/tenant_migration_recipient_service.h
diff options
context:
space:
mode:
authorChristopher Caplinger <christopher.caplinger@mongodb.com>2023-04-10 13:27:40 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2023-04-10 14:37:59 +0000
commitc20a1829195384e6f9737cdba13b850364366e1d (patch)
tree0076ea1a9f92d0aa906ce4d9cccbbf86c740349e /src/mongo/db/repl/tenant_migration_recipient_service.h
parentba99b48f5bcf38d7e46f44bff9d69bfb694ba6a7 (diff)
downloadmongo-c20a1829195384e6f9737cdba13b850364366e1d.tar.gz
Revert "SERVER-72622: Track TenantOplogApplier progress in replicated collection"
This reverts commit 636ad08bdb6fb5c9ad98ee4cdde8f52929c29830.
Diffstat (limited to 'src/mongo/db/repl/tenant_migration_recipient_service.h')
-rw-r--r--src/mongo/db/repl/tenant_migration_recipient_service.h7
1 files changed, 7 insertions, 0 deletions
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
@@ -481,6 +481,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.
*/