[SERVER-44608] Only set "use44SortKeys" in command from mongos Created: 13/Nov/19  Updated: 29/Oct/23  Resolved: 13/Nov/19

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.3.2

Type: Improvement Priority: Major - P3
Reporter: Justin Seyster Assignee: Justin Seyster
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Sprint: Query 2019-11-18
Participants:
Linked BF Score: 45

 Comments   
Comment by Githook User [ 13/Nov/19 ]

Author:

{'name': 'Justin Seyster', 'username': 'jseyster', 'email': 'justin.seyster@mongodb.com'}

Message: SERVER-44608 Only set "use44SortKeys" in command from mongos.

In a mixed cluster, it is possible for a 4.4 shard to create a command
that will get sent to a 4.2 shard. If the command includes the
"use44SortKeys" flag, it will fail on 4.2 mongod.

No shard-to-shard pipeline will ever include a change stream, so
"use44SortKeys" is unnecessary in this case.
Branch: master
https://github.com/mongodb/mongo/commit/4163903e61da8a841bb10b59cea6ab1180305d65

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