[SERVER-51614] The catalog cache should always refresh the routine information few times if it is inconsistent Created: 15/Oct/20 Updated: 29/Oct/23 Resolved: 16/Oct/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 4.9.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Sergi Mateo Bellido | Assignee: | Sergi Mateo Bellido |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | sharding-wfbf-day | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Operating System: | ALL | ||||
| Steps To Reproduce: | 1. Add a sleep of two seconds here |
||||
| Sprint: | Sharding 2020-10-19 | ||||
| Participants: | |||||
| Linked BF Score: | 0 | ||||
| Description |
|
We have some tests that rely that a constant number of collection routine info refreshes will take place under some conditions (no chunks on config.chunks) on the catalog cache. However, there is a fast path in the function that computes the collection routine info that may skip those refreshes ( here ) This issue was introduced when working on this other ticket |
| Comments |
| Comment by Githook User [ 16/Oct/20 ] |
|
Author: {'name': 'Sergi Mateo Bellido', 'email': 'sergi.mateo-bellido@mongodb.com', 'username': 'smateo'}Message: |