diff options
Diffstat (limited to 'src/mongo/db/s/resharding_util.h')
-rw-r--r-- | src/mongo/db/s/resharding_util.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mongo/db/s/resharding_util.h b/src/mongo/db/s/resharding_util.h index 071e9da6227..31ed606f1a8 100644 --- a/src/mongo/db/s/resharding_util.h +++ b/src/mongo/db/s/resharding_util.h @@ -177,6 +177,13 @@ std::unique_ptr<Pipeline, PipelineDeleter> createOplogFetchingPipelineForReshard const ShardId& recipientShard, bool doesDonorOwnMinKeyChunk); +namespace resharding { + +boost::optional<TypeCollectionDonorFields> getDonorFields(OperationContext* opCtx, + const NamespaceString& sourceNss, + const BSONObj& fullDocument); +} + /** * Returns the shard Id of the recipient shard that would own the document under the new shard * key pattern. |