[SERVER-35084] change_stream_enforce_max_time_ms_on_mongos.js expects getMore to schedule follow-up getMores Created: 18/May/18  Updated: 29/Oct/23  Resolved: 22/Jun/18

Status: Closed
Project: Core Server
Component/s: Aggregation Framework
Affects Version/s: None
Fix Version/s: 3.6.8, 4.0.1, 4.1.1

Type: Improvement Priority: Major - P3
Reporter: Charlie Swanson Assignee: David Storch
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Related
related to SERVER-34204 Tailable cursor fails on getMore agai... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.0, v3.6
Sprint: Query 2018-07-02
Participants:
Linked BF Score: 26

 Description   

The test issues a getMore with a maxTimeMS of 500, and expects this command to schedule getMores on each of the shards. After SERVER-34204 this is no longer the case, since the subsequent getMores may be delayed until the next getMore comes in.

We should re-write the test to account for this possibility, or we should add a unit test for this behavior and delete the assertions from the javascript test.



 Comments   
Comment by Githook User [ 22/Aug/18 ]

Author:

{'name': 'David Storch', 'email': 'david.storch@10gen.com', 'username': 'dstorch'}

Message: SERVER-35084 Modify change_stream_enforce_max_time_ms_on_mongos.js to ensure test schedules expected getMores.

(cherry picked from commit 545263a62041c72e67927d59e9f7fa04f09c99b9)
Branch: v3.6
https://github.com/mongodb/mongo/commit/d366116ed1982993409443915917080a1cdba9b9

Comment by Githook User [ 29/Jun/18 ]

Author:

{'username': 'dstorch', 'name': 'David Storch', 'email': 'david.storch@10gen.com'}

Message: SERVER-35084 Modify change_stream_enforce_max_time_ms_on_mongos.js to ensure test schedules expected getMores.

(cherry picked from commit 545263a62041c72e67927d59e9f7fa04f09c99b9)
Branch: v4.0
https://github.com/mongodb/mongo/commit/d4731373d44803654b671031a48668e951de3861

Comment by Githook User [ 22/Jun/18 ]

Author:

{'username': 'dstorch', 'name': 'David Storch', 'email': 'david.storch@10gen.com'}

Message: SERVER-35084 Modify change_stream_enforce_max_time_ms_on_mongos.js to ensure test schedules expected getMores.
Branch: master
https://github.com/mongodb/mongo/commit/545263a62041c72e67927d59e9f7fa04f09c99b9

Generated at Thu Feb 08 04:38:47 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.