[SERVER-78455] List tenant databases that matches the name filter with mongoq Created: 26/Jun/23  Updated: 18/Oct/23

Status: Backlog
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: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Service Arch
Participants:

 Description   

Today, the "listDatabase" command with "$tenant", no tenant prefix db and no "expectPrefix" does not support name filter. For example, the following command cannot return the "foo1", "foo2" of the tenant "xxxx". It returns empty database list.

db.adminCommand({listDatabases: 1, filter: {name: /^foo/}, "$tenant" : xxxx}));


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