-
Type:
Task
-
Resolution: Won't Do
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Service Arch
-
None
-
None
-
None
-
None
-
None
-
None
-
None
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}));