[SERVER-61588] Incorrect header comment for CatalogCache::onStaleDatabaseVersion Created: 18/Nov/21  Updated: 29/Oct/23  Resolved: 10/Dec/21

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

Type: Task Priority: Major - P3
Reporter: Esha Maharishi (Inactive) Assignee: Antonio Fuschetto
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Sharding EMEA 2021-11-29, Sharding EMEA 2021-12-13
Participants:

 Description   

The header comment says "In the case the passed version is boost::none, nothing will be done.", but in the implementation if the passed version is boost::none, we call _databaseCache.invalidate().



 Comments   
Comment by Githook User [ 10/Dec/21 ]

Author:

{'name': 'Antonio Fuschetto', 'email': 'antonio.fuschetto@mongodb.com', 'username': 'afuschetto'}

Message: SERVER-61588 Incorrect header comment for CatalogCache::onStaleDatabaseVersion
Branch: master
https://github.com/mongodb/mongo/commit/3318680eba6ed5a7de40fb400e0739a664ca9c6e

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