diff options
author | Yuhong Zhang <yuhong.zhang@mongodb.com> | 2021-02-11 20:48:50 +0000 |
---|---|---|
committer | Yuhong Zhang <yuhong.zhang@mongodb.com> | 2021-02-17 18:27:30 +0000 |
commit | fb8d9d4ce62b053c83495100c9181679c9b08872 (patch) | |
tree | a4280a9f05b4492c0ede5520fff58488fb9af22c /src/mongo/db/s/resharding/resharding_recipient_service.h | |
parent | f89e0d56229062e37748e710422120a1a40c8a8f (diff) | |
download | mongo-server-49894.tar.gz |
SERVER-49894 Have resharding oplog fetcher resume from 'ts' component of largest _id insertedserver-49894
Diffstat (limited to 'src/mongo/db/s/resharding/resharding_recipient_service.h')
-rw-r--r-- | src/mongo/db/s/resharding/resharding_recipient_service.h | 4 |
1 files changed, 4 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 0e508783b5c..b570bc95c48 100644 --- a/src/mongo/db/s/resharding/resharding_recipient_service.h +++ b/src/mongo/db/s/resharding/resharding_recipient_service.h @@ -60,6 +60,10 @@ std::vector<NamespaceString> ensureStashCollectionsExist( const UUID& existingUUID, std::vector<DonorShardMirroringEntry> donorShards); +ReshardingDonorOplogId getIdToResumeFrom(OperationContext* opCtx, + NamespaceString oplogBufferNss, + Timestamp fetchTimestamp); + } // namespace resharding class ReshardingRecipientService final : public repl::PrimaryOnlyService { |