[SERVER-76930] robustify awaitdata_getmore_cmd.js Created: 08/May/23 Updated: 29/Oct/23 Resolved: 10/May/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.1.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Mickey Winters | Assignee: | Mickey Winters |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Sprint: | QE 2023-05-15 | ||||||||||||
| Participants: | |||||||||||||
| Linked BF Score: | 28 | ||||||||||||
| Description |
|
https://github.com/mongodb/mongo/blob/master/jstests/core/query/awaitdata_getmore_cmd.js#L165 at this point in the test we have a potentially infinite while loop with no timeout. also if logicalSessionRefreshMillis is set low enough just doing getMores will keep the session alive and keep doing writes to the sessions collection. so we need to filter out the sessions collection in the find command above |
| Comments |
| Comment by Githook User [ 10/May/23 ] |
|
Author: {'name': 'Mickey. J Winters', 'email': 'mickey.winters@mongodb.com', 'username': 'mjrb'}Message: |