[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:
Related
is related to SERVER-64930 Disable tasserts introduced in SERVER... Closed
is related to SERVER-64931 Reenable ReadThroughCache correctness... Closed
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: SERVER-63241 Lookup round should fulfill atleast a promise
Branch: master
https://github.com/mongodb/mongo/commit/1e72f6d25e104142707169aef1fe71ac6ef0ab3c

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