[SERVER-50523] Support opening single-collection change stream on a system collection Created: 25/Aug/20  Updated: 29/Oct/23  Resolved: 06/May/21

Status: Closed
Project: Core Server
Component/s: Aggregation Framework, Sharding
Affects Version/s: None
Fix Version/s: 5.0.0-rc0

Type: New Feature Priority: Major - P3
Reporter: Max Hirschhorn Assignee: Mindaugas Malinauskas
Resolution: Fixed Votes: 0
Labels: PM-234-M3, PM-234-O-unspecialized, PM-234-T-change-streams, query-work-resharding
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Query Execution 2021-04-19, Query Execution 2021-05-03, Query Execution 2021-05-17
Participants:
Story Points: 2

 Description   

Add allowToRunOnSystemNS parameter to the aggregate command for creating a change streams cursor. DocumentSourceChangeStream::assertIsLegalSpecification() should be changed to not reject the request when allowToRunOnSystemNS:true is specified.

Whole-database and whole-cluster change streams must still not see change events on system collections.



 Comments   
Comment by Githook User [ 06/May/21 ]

Author:

{'name': 'Mindaugas Malinauskas', 'email': 'mindaugas.malinauskas@mongodb.com'}

Message: SERVER-50523 Support opening single-collection change stream on a system collection
Branch: master
https://github.com/mongodb/mongo/commit/a74037768d564795f745be0ab7cc61016d461f1e

Generated at Thu Feb 08 05:22:52 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.