diff options
author | jannaerin <golden.janna@gmail.com> | 2021-02-22 22:40:23 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-03-22 21:35:26 +0000 |
commit | f25c2c9cfbb0e4ae20cd080b3b79a505308db175 (patch) | |
tree | c7ea4b97d7d09961438f57c746bcf8922738dc0a /src/mongo/db/s/resharding_util.h | |
parent | 2e11c995441e7490a9da9891ff6acc6f84a8163b (diff) | |
download | mongo-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.h | 4 |
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: |