[SERVER-72173] Fix missing tenantId when calling the profile function Created: 16/Dec/22  Updated: 29/Oct/23  Resolved: 18/Jan/23

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

Type: Bug Priority: Major - P3
Reporter: Sophia Tan Assignee: Hugh Tong (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
Assigned Teams:
Serverless
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Server Serverless 2023-01-09, Server Serverless 2023-01-23
Participants:
Linked BF Score: 163
Story Points: 2

 Description   

The code of profile function creates db name with ns string without taking tenant information.

Error message "note: not profiling because db went away for namespace".

This issue is found when we test profiling operation. For example:

  • jstests/core/profile2.js


 Comments   
Comment by Githook User [ 13/Jan/23 ]

Author:

{'name': 'Hugh Tong', 'email': 'hugh.tong@mongodb.com', 'username': 'cortrain'}

Message: SERVER-72173 Fix missing tenantId when calling the profile function
Branch: master
https://github.com/mongodb/mongo/commit/2b93b68d18599437d9052f31617448d76840f3aa

Comment by Githook User [ 11/Jan/23 ]

Author:

{'name': 'Didier Nadeau', 'email': 'didier.nadeau@mongodb.com', 'username': 'nadeaudi'}

Message: Revert "SERVER-72173 Fix missing tenantId when calling the profile function"

This reverts commit 06eec63b5686ef8b590e60171e602bc3e275f62c.
Branch: master
https://github.com/mongodb/mongo/commit/904a41702305c9f97226c0d875fe884812b448c7

Comment by Githook User [ 10/Jan/23 ]

Author:

{'name': 'Hugh Tong', 'email': 'hugh.tong@mongodb.com', 'username': 'cortrain'}

Message: SERVER-72173 Fix missing tenantId when calling the profile function
Branch: master
https://github.com/mongodb/mongo/commit/06eec63b5686ef8b590e60171e602bc3e275f62c

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