[SERVER-57351] listDatabases list indexes from Collection cached metadata but looks up ident from DurableCatalog Created: 02/Jun/21  Updated: 29/Oct/23  Resolved: 03/Jun/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.0.0-rc1, 5.1.0-rc0

Type: Bug Priority: Major - P3
Reporter: Henrik Edin Assignee: Henrik Edin
Resolution: Fixed Votes: 0
Labels: post-rc0
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v5.0
Sprint: Execution Team 2021-06-14
Participants:
Linked BF Score: 148

 Description   

There is a risk of inconsistency between cached Collection metadata and DurableCatalog causing an invariant.

listDatabases should only use metadata from the Collection instance.



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 04/Jun/21 ]

Author:

{'name': 'Henrik Edin', 'email': 'henrik.edin@mongodb.com', 'username': 'henrikedin'}

Message: SERVER-57351 listDatabases should use in-memory catalog to find index idents

There can be an inconsistency when mixing lookups from Collection metadata and DurableCollection.

(cherry picked from commit c03426c28f007425e0aa7de65e3ca9509624128a)
Branch: v5.0
https://github.com/mongodb/mongo/commit/1e98d7857a2c4986932a6c35b7b97b540f673489

Comment by Githook User [ 03/Jun/21 ]

Author:

{'name': 'Henrik Edin', 'email': 'henrik.edin@mongodb.com', 'username': 'henrikedin'}

Message: SERVER-57351 listDatabases should use in-memory catalog to find index idents

There can be an inconsistency when mixing lookups from Collection metadata and DurableCollection.
Branch: master
https://github.com/mongodb/mongo/commit/c03426c28f007425e0aa7de65e3ca9509624128a

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