[SERVER-72327] Change inject_dollar_tenant.js to not append $tenant for specific namespaces Created: 21/Dec/22  Updated: 23/Jan/24  Resolved: 23/Jan/24

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

Type: Task Priority: Major - P3
Reporter: Sophia Tan Assignee: Backlog - Service Architecture
Resolution: Won't Fix Votes: 0
Labels: ntdi_nice_to_have
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Service Arch
Participants:
Story Points: 3

 Description   

When testing commands on some specific global collections which do not respect tenant, we should not append $tenant to those commands.

There are a lot of those collections. But, in core jstest, till now, only a small subset of them are tested. For example,   

  • config.system.sessions
  • config.transactions

Today, we exclude the relative js files from the passthrough YAML file directly. In this ticket, we will change the inject_dollar_tenant.js to not append $tenant for those specific namespaces.  



 Comments   
Comment by Didier Nadeau [ 23/Jan/24 ]

Given we remove handling (and usages) of $tenant this is now unnecessary.

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