[SERVER-34346] checkOperationAuthorization should retain parsed command. Created: 05/Apr/18  Updated: 06/Dec/22

Status: Backlog
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Billy Donahue Assignee: Backlog - Replication Team
Resolution: Unresolved Votes: 0
Labels: gm-ack
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Replication
Sprint: Platforms 2018-04-23
Participants:

 Description   

When processing an array of Oplog entries, we parse for authorization and then again for running.

src/mongo/db/commands/oplog_application_checks.cpp

'OplogApplicationChecks::checkOperationAuthorization'

https://mongodbcr.appspot.com/188960001/diff/1/src/mongo/db/commands/oplog_application_checks.cpp#newcode92src/mongo/db/commands/oplog_application_checks.cpp:92



 Comments   
Comment by Gregory McKeon (Inactive) [ 03/May/18 ]

We're not going to get to this in 4.0, but it's a potential perf improvement to applyOps/doTxn using the new TypedCommand machinery.

Generated at Thu Feb 08 04:36:21 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.