[SERVER-46761] getAllDbNames can return incomplete list of dbNames Created: 10/Mar/20  Updated: 29/Oct/23  Resolved: 11/Mar/20

Status: Closed
Project: Core Server
Component/s: Catalog
Affects Version/s: None
Fix Version/s: 4.4.0-rc0, 4.7.0

Type: Bug Priority: Major - P3
Reporter: Maria van Keulen Assignee: Maria van Keulen
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Related
is related to SERVER-46285 Collections should not be visible in ... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.4
Sprint: Execution Team 2020-03-23
Participants:
Linked BF Score: 0

 Description   

Presently, if both an uncommitted collection and a committed collection exist in the same database, it is possible for the iterator in getAllDbNames to skip over the database in question, since the iterator invariably gets incremented to the next database name after checking one collection.



 Comments   
Comment by Githook User [ 11/Mar/20 ]

Author:

{'name': 'Maria van Keulen', 'username': 'mvankeulen94', 'email': 'maria@mongodb.com'}

Message: SERVER-46761 Don't skip dbs with uncommitted collections during lookup

(cherry picked from commit 8393d898d70421a944adfb39835ec82fe3e3b860)
Branch: v4.4
https://github.com/mongodb/mongo/commit/9a574d0f5af60b5152e4916d7a872780fae3feff

Comment by Githook User [ 10/Mar/20 ]

Author:

{'name': 'Maria van Keulen', 'username': 'mvankeulen94', 'email': 'maria@mongodb.com'}

Message: SERVER-46761 Don't skip dbs with uncommitted collections during lookup
Branch: master
https://github.com/mongodb/mongo/commit/8393d898d70421a944adfb39835ec82fe3e3b860

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