summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/resharding/resharding_recipient_service.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/s/resharding/resharding_recipient_service.h')
-rw-r--r--src/mongo/db/s/resharding/resharding_recipient_service.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/db/s/resharding/resharding_recipient_service.h b/src/mongo/db/s/resharding/resharding_recipient_service.h
index 71939cdb06c..0e508783b5c 100644
--- a/src/mongo/db/s/resharding/resharding_recipient_service.h
+++ b/src/mongo/db/s/resharding/resharding_recipient_service.h
@@ -158,6 +158,11 @@ private:
// Removes the local recipient document from disk and clears the in-memory state.
void _removeRecipientDocument();
+ // Removes any docs from the oplog applier progress and txn applier progress collections that
+ // are associated with the in-progress operation. Also drops all oplog buffer collections and
+ // all conflict stash collections that are associated with the in-progress operation.
+ void _dropOplogCollections(OperationContext* opCtx);
+
// The in-memory representation of the underlying document in
// config.localReshardingOperations.recipient.
ReshardingRecipientDocument _recipientDoc;