[SERVER-82188] Cache results of userAllowedWriteNS in bulkWrite Created: 13/Oct/23  Updated: 29/Oct/23  Resolved: 19/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-1
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
Backwards Compatibility: Fully Compatible
Sprint: Repl 2023-10-16, Repl 2023-10-30
Participants:
Linked BF Score: 160

 Description   

During bulkWrite perf testing (SERVER-76662) we discovered that we spend a lot of time preforming these namespace validations. It only makes sense to do these validation steps once per namespace in the command since the results will never change mid command



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

Author:

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

Message: SERVER-82188 Cache namespace validation for bulkWrite
Branch: master
https://github.com/mongodb/mongo/commit/b1cd833ce96c2f2f889d42b76c5a0b6f6d8d1f6e

Comment by Githook User [ 18/Oct/23 ]

Author:

{'name': 'Liubov Molchanova', 'email': 'liubov.molchanova@mongodb.com', 'username': 'liubov-molchanova'}

Message: Revert "SERVER-82188: Cache results of validating the namespace for bulkWrite"

This reverts commit 0b591125c60223217e1afb8f80eb637f744ccc59.
Branch: master
https://github.com/mongodb/mongo/commit/7f0a55620c700adc4ab24f1c68844328cfea4b05

Comment by Githook User [ 17/Oct/23 ]

Author:

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

Message: SERVER-82188: Cache results of validating the namespace for bulkWrite
Branch: master
https://github.com/mongodb/mongo/commit/0b591125c60223217e1afb8f80eb637f744ccc59

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