[SERVER-33603] invalidated_cursors.js runs getMores against the wrong collection Created: 01/Mar/18  Updated: 29/Oct/23  Resolved: 02/Mar/18

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: 3.7.3

Type: Bug Priority: Major - P3
Reporter: Ian Boros Assignee: Ian Boros
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Query 2018-03-12
Participants:

 Description   

One stage of invalidated_cursors.js runs a find and then creates a cursor using the result. However, the DBCommandCursor is created with the wrong database (db instead of myDB). The result of this is that all of the getMores run on the wrong collection, and thus, all fail.

This is a one line fix.



 Comments   
Comment by Githook User [ 02/Mar/18 ]

Author:

{'email': 'ian.boros@10gen.com', 'name': 'Ian Boros'}

Message: SERVER-33603 invalidated_cursors.js now runs getMores against the right collection
Branch: master
https://github.com/mongodb/mongo/commit/daf6cd9398541c09c8fe6a74a932f61623d164ff

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