[SERVER-71668] Move isLastNonHiddenShardKeyIndex check after hide index on system collection and hide _id index in coll_mod.cpp Created: 29/Nov/22  Updated: 29/Oct/23  Resolved: 20/Dec/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 6.0.3, 6.1.0-rc4, 6.2.0-rc3, 6.3.0-rc0
Fix Version/s: 6.0.4, 6.3.0-rc0

Type: Bug Priority: Major - P3
Reporter: Pol Pinol Assignee: Pol Pinol
Resolution: Fixed Votes: 0
Labels: sharding-wfbf-day
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v6.2, v6.0
Sprint: Sharding EMEA 2022-12-12, Sharding EMEA 2022-12-26
Participants:
Linked BF Score: 35

 Description   

Move the new checks of isLastNonHiddenShardKeyIndex after all other checks (hide index on system collection and hide _id index) in coll_mod.cpp.



 Comments   
Comment by Githook User [ 28/Dec/22 ]

Author:

{'name': 'Pol Pinol Castuera', 'email': 'pol.pinol@mongodb.com', 'username': 'PolPinol'}

Message: SERVER-71668 Move isLastNonHiddenShardKeyIndex check after hide index on system collection and hide _id index in coll_mod.cpp

(cherry picked from commit a95672fe5d79b1f93164ab15743197ae9f4c6661)
Branch: v6.0
https://github.com/mongodb/mongo/commit/2bc76ce4137e96972820113efc98d37747090c7f

Comment by Githook User [ 20/Dec/22 ]

Author:

{'name': 'Pol Pinol Castuera', 'email': 'pol.pinol@mongodb.com', 'username': 'PolPinol'}

Message: SERVER-71668 Move isLastNonHiddenShardKeyIndex check after hide index on system collection and hide _id index in coll_mod.cpp
Branch: master
https://github.com/mongodb/mongo/commit/a95672fe5d79b1f93164ab15743197ae9f4c6661

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