[SERVER-38325] Avoid crash when $backupCursor is specified in view pipeline Created: 29/Nov/18  Updated: 29/Oct/23  Resolved: 03/Dec/18

Status: Closed
Project: Core Server
Component/s: Aggregation Framework, Querying
Affects Version/s: None
Fix Version/s: 4.1.6

Type: Task Priority: Major - P3
Reporter: Xiangyu Yao (Inactive) Assignee: Xiangyu Yao (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Sprint: Storage NYC 2018-12-03
Participants:
Linked BF Score: 45

 Description   

$backupCursor and $backupCursorExtend should never be specified in the pipeline for views . But currently if they are specified, a crash will be triggered because parsing (which causes the crash) happens before the check.



 Comments   
Comment by Githook User [ 03/Dec/18 ]

Author:

{'name': 'Xiangyu Yao', 'email': 'xiangyu.yao@mongodb.com', 'username': 'xy24'}

Message: SERVER-38325 Avoid crash when $backupCursor is specified in view pipeline
Branch: master
https://github.com/mongodb/mongo/commit/f0967f511c39cccd5164b058ef1e021574d54697

Comment by Githook User [ 03/Dec/18 ]

Author:

{'name': 'Xiangyu Yao', 'email': 'xiangyu.yao@mongodb.com', 'username': 'xy24'}

Message: SERVER-38325 Avoid crash when $backupCursor is specified in view pipeline
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/9ed668288b9c28be3a7dbc8c4a4233e9c38681cd

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