Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-51252

Remove unnecessary setIgnoredShardVersionForMergeCursors function after branching for 5.0

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible

      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.

            Assignee:
            denis.grebennicov@mongodb.com Denis Grebennicov
            Reporter:
            bernard.gorman@mongodb.com Bernard Gorman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: