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

DBClient listDatabases should not send an empty filter

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Replication

      The DBClient getDatabaseInfos method includes a filter in the listDatabases command even when called with an empty BSON object as a filter. This has the same effect as no filter, but is slightly more expensive and makes debugging slightly harder. We should send no filter in that case.

            Assignee:
            backlog-server-repl [DO NOT USE] Backlog - Replication Team
            Reporter:
            matthew.russotto@mongodb.com Matthew Russotto
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: