Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-78455

List tenant databases that matches the name filter with mongoq

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Service Arch

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

      Attachments

        Activity

          People

            backlog-server-servicearch Backlog - Service Architecture
            sophia.tan@mongodb.com Sophia Tan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: