List tenant databases that matches the name filter with mongoq

XMLWordPrintableJSON

    • 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}));
      

            Assignee:
            [DO NOT USE] Backlog - Service Architecture
            Reporter:
            Sophia Tan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: