[SERVER-63241] Emit an error if a lookup in the ReadThroughCache doesn't fulfill any promise Created: 03/Feb/22 Updated: 29/Oct/23 Resolved: 04/Mar/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 6.0.0-rc0 |
| Type: | Task | 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 | ||||||||||||
| Sprint: | Sharding EMEA 2022-03-07 | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
A lookup of the ReadThroughCache should fulfill at least one promise. If that's not the case it means that there were some jumps back and forth in time. A bit more of context: we have hit this problem a few times, the symptom is that a refresh hangs forever. We should think if we can throw an error or if this code should be an invariant. |
| Comments |
| Comment by Githook User [ 04/Mar/22 ] |
|
Author: {'name': 'Sergi Mateo Bellido', 'email': 'sergi.mateo-bellido@mongodb.com', 'username': 'smateo'}Message: |