[SERVER-46757] DBClient listDatabases should not send an empty filter Created: 10/Mar/20  Updated: 06/Dec/22

Status: Backlog
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Matthew Russotto Assignee: Backlog - Replication Team
Resolution: Unresolved Votes: 0
Labels: former-quick-wins
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Replication
Participants:

 Description   

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.


Generated at Thu Feb 08 05:12:21 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.