[SERVER-79644] Make validateSessionOptions use all namespaces on mongos Created: 02/Aug/23  Updated: 31/Oct/23  Resolved: 31/Oct/23

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

Type: Task Priority: Major - P3
Reporter: Sean Zimmerman Assignee: Sean Zimmerman
Resolution: Fixed Votes: 0
Labels: milestone-2
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Replication
Backwards Compatibility: Fully Compatible
Sprint: Repl 2023-10-30, Repl 2023-11-13
Participants:

 Description   

in SERVER-79511 we changed validateSessionOptions to take in a list of namespaces since bulkWrite is always on the adminDB and we need to do transaction checks on all user supplied namespaces. This change was not done completely in strategy.cpp due to unknowns around the way in which they construct their namespace specifically. This ticket is to resolve that unknown and make the call to validateSessionOptions also use allNamespaces when applicable.



 Comments   
Comment by Githook User [ 31/Oct/23 ]

Author:

{'name': 'seanzimm', 'email': 'sean.zimmerman@mongodb.com', 'username': 'seanzimm'}

Message: SERVER-79644: Make service entry point properly support commands with multiple namespaces
Branch: master
https://github.com/mongodb/mongo/commit/2974606c11ced0a241a3dfd1dcaba1464534f6fd

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