[SERVER-76771] Change audit::log*Database to use a DatabaseName Created: 02/May/23  Updated: 29/Oct/23  Resolved: 03/Jul/23

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

Type: Task Priority: Major - P3
Reporter: Mathis Bessa Assignee: Sophia Tan
Resolution: Fixed Votes: 0
Labels: ntdi_nice_to_have
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-74491 Make DatabaseName::toString private Closed
related to SERVER-77537 Make DatabaseName::db() private Closed
Assigned Teams:
Serverless
Backwards Compatibility: Fully Compatible
Sprint: Server Serverless 2023-07-10
Participants:
Story Points: 1

 Description   

We currently pass a dbName as a StringData to audit::log*Database, for example audit::logCreateDatabase

We should instead pass a DatabaseName and handle serialization when necessary (some places do not use the DatabaseName while some others do).



 Comments   
Comment by Githook User [ 03/Jul/23 ]

Author:

{'name': 'Sophia Tan', 'email': 'sophia_tll@hotmail.com', 'username': 'sophiatll'}

Message: SERVER-76771 Change audit::log*Database to use a DatabaseName
Branch: EVG-17874-taskgen-test
https://github.com/mongodb/mongo/commit/5c2df7709057a61170a06bf06f405e327635844b

Comment by Githook User [ 30/Jun/23 ]

Author:

{'name': 'Sophia Tan', 'email': 'sophia_tll@hotmail.com', 'username': 'sophiatll'}

Message: SERVER-76771 Change audit::log*Database to use a DatabaseName
Branch: master
https://github.com/mongodb/mongo/commit/5c2df7709057a61170a06bf06f405e327635844b

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