summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/resharding_util.h
diff options
context:
space:
mode:
authorjannaerin <golden.janna@gmail.com>2021-02-22 22:40:23 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-03-22 21:35:26 +0000
commitf25c2c9cfbb0e4ae20cd080b3b79a505308db175 (patch)
treec7ea4b97d7d09961438f57c746bcf8922738dc0a /src/mongo/db/s/resharding_util.h
parent2e11c995441e7490a9da9891ff6acc6f84a8163b (diff)
downloadmongo-f25c2c9cfbb0e4ae20cd080b3b79a505308db175.tar.gz
SERVER-53679 No-op for filling in destined recipient for insert oplog entries adds overhead on shardsvrs not running resharding
Diffstat (limited to 'src/mongo/db/s/resharding_util.h')
-rw-r--r--src/mongo/db/s/resharding_util.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mongo/db/s/resharding_util.h b/src/mongo/db/s/resharding_util.h
index f9f0109d05f..ddcb2bf61f9 100644
--- a/src/mongo/db/s/resharding_util.h
+++ b/src/mongo/db/s/resharding_util.h
@@ -233,7 +233,9 @@ std::unique_ptr<Pipeline, PipelineDeleter> createOplogFetchingPipelineForReshard
*/
boost::optional<ShardId> getDestinedRecipient(OperationContext* opCtx,
const NamespaceString& sourceNss,
- const BSONObj& fullDocument);
+ const BSONObj& fullDocument,
+ CollectionShardingState* css,
+ const ScopedCollectionDescription& collDesc);
/**
* Sentinel oplog format: