[SERVER-51252] Remove unnecessary setIgnoredShardVersionForMergeCursors function after branching for 5.0 Created: 30/Sep/20  Updated: 29/Oct/23  Resolved: 07/Sep/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.1.0-rc0

Type: Improvement Priority: Major - P3
Reporter: Bernard Gorman Assignee: Denis Grebennicov
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Participants:

 Description   

In SERVER-48128 and its backport to 4.4.2, we introduced a function setIgnoredShardVersionForMergeCursors to set shard version IGNORED on $mergeCursors pipelines received by mongoD, so that MongoProcessInterface knows to version any internal commands run as part of the merging pipeline. This was because mongoS versions prior to 4.4.2 do not set any version on $mergeCursors pipelines before sending them to the shards. After we branch for 5.0, we can remove this code from master, since any mongoS capable of upgrading to 5.X will already be setting IGNORED on $mergeCursors.



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 07/Sep/21 ]

Author:

{'name': 'Denis Grebennicov', 'email': 'denis.grebennicov@mongodb.com', 'username': 'denis631'}

Message: SERVER-51252 Remove unnecessary setIgnoredShardVersionForMergeCursors function after branching for 5.0
Branch: master
https://github.com/mongodb/mongo/commit/a534f92e3d8b4564c2ae15a3e005c4194050c561

Generated at Thu Feb 08 05:24:56 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.