[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:
Depends
Related
related to SERVER-76821 enable awaitdata_gemore_cmd.js in the... Closed
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: SERVER-76930 robustify awaitdata_getmore_cmd.js
Branch: master
https://github.com/mongodb/mongo/commit/137aafec49ca45b6bf04f1cd17b78b45353b5bd8

Generated at Thu Feb 08 06:34:01 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.