[SERVER-82748] Remove $tenant in a failpoint Created: 02/Nov/23  Updated: 02/Feb/24  Resolved: 02/Feb/24

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

Type: Task Priority: Major - P3
Reporter: Joseph Prince Assignee: Joseph Prince
Resolution: Fixed Votes: 0
Labels: ntdi_code_quality
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-82546 Make fail point commands use unsigned... Closed
Related
related to SERVER-82542 No longer test $tenant in unit tests Closed
Assigned Teams:
Service Arch
Backwards Compatibility: Fully Compatible
Sprint: Service Arch 2024-02-05
Participants:
Story Points: 2

 Description   

Some cpp failpoints perform checks on tenant information, and removing the $tenant field in the BSONObj will prevent the necessary tenant information from being propagated. 

In [this test case, removal of the $tenant field in the failpoint BSONObj will cause the test to hang indefinitely. 

Another example is here.

We need to be able to still propagate tenant information without using the $tenant field.

 



 Comments   
Comment by Githook User [ 02/Feb/24 ]

Author:

{'name': 'Joseph Prince', 'email': '57415450+josephdprince@users.noreply.github.com', 'username': 'josephdprince'}

Message: SERVER-82748 Remove dollar tenant parsing in failpoint (#18473)

GitOrigin-RevId: 2b50f97d961704aa32b31ef2e9ce653a3bb72370
Branch: master
https://github.com/mongodb/mongo/commit/abfb1461c5289d98ec62207113601059d66b3ae6

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