[SERVER-74550] Make allow_partial_results_with_maxTimeMS.js more deterministic Created: 02/Mar/23 Updated: 29/Oct/23 Resolved: 10/Mar/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.0.0-rc0, 6.3.0-rc2 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Steve Tarzia | Assignee: | Steve Tarzia |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Backport Requested: |
v6.3
|
||||||||
| Sprint: | QE 2023-03-06, QE 2023-03-20 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 25 | ||||||||
| Description |
|
cluster_find.cpp sets aside 10% of maxTimeMS for buffered partial results to be returned in the event of a MaxTimeMSExpired error with allowPartialResults set. If this 10% of time is inadequate then a MaxTimeMSExpired error is returned instead of the partial results that are available. This makes js integration testing difficult because we may never see the partial results that we expect. The solution is likely some kind of failpoint to extent the time budget for returning buffered partial results. |
| Comments |
| Comment by Githook User [ 15/Mar/23 ] |
|
Author: {'name': 'Steve Tarzia', 'email': 'steve.tarzia@mongodb.com', 'username': 'starzia'}Message: |
| Comment by Githook User [ 09/Mar/23 ] |
|
Author: {'name': 'Steve Tarzia', 'email': 'steve.tarzia@mongodb.com', 'username': 'starzia'}Message: |