[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: |