[SERVER-63305] Transform insert on a 'system.views' collection into a create event for views Created: 04/Feb/22  Updated: 29/Oct/23  Resolved: 25/Mar/22

Status: Closed
Project: Core Server
Component/s: Change streams
Affects Version/s: None
Fix Version/s: 6.0.0-rc0

Type: Task Priority: Major - P3
Reporter: Kyle Suarez Assignee: Arun Banala
Resolution: Fixed Votes: 0
Labels: pm1950-m2, read-only-views
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-62801 Add change stream event for create op... Closed
depends on SERVER-63944 Produce change stream events for CRUD... Closed
Related
is related to SERVER-61886 Generate collMod and drop $changeStre... Closed
is related to SERVER-61896 Add tests to ensure that we do not re... Closed
is related to SERVER-63306 Generate drop command $changeStream e... Closed
Backwards Compatibility: Fully Compatible
Sprint: QE 2022-04-04, QE 2022-03-07, QE 2022-03-21
Participants:
Linked BF Score: 149

 Description   

create commands for views get translated to inserts into the system.views collection. Oplog entries for these insert operations are created by the catalog. We will recreate the original create commands from these oplog entries to properly report the create events.



 Comments   
Comment by Githook User [ 24/Mar/22 ]

Author:

{'name': 'Arun Banala', 'email': 'arun.banala@mongodb.com', 'username': 'banarun'}

Message: SERVER-63305 Restore change stream migrateLastChunkFromShard handling logic
Branch: master
https://github.com/mongodb/mongo/commit/7671b3cca3c5fb1024b8affcafe92c9dfed37280

Comment by Githook User [ 23/Mar/22 ]

Author:

{'name': 'Arun Banala', 'email': 'arun.banala@mongodb.com', 'username': 'banarun'}

Message: SERVER-63305 Restore change stream collMod handling logic
Branch: master
https://github.com/mongodb/mongo/commit/9e623f1993911635f64e6b4afd8bdd11f7390ade

Comment by Githook User [ 23/Mar/22 ]

Author:

{'name': 'Arun Banala', 'email': 'arun.banala@mongodb.com', 'username': 'banarun'}

Message: SERVER-63305 Transform insert on a 'system.views' collection into a create event for views
Branch: master
https://github.com/mongodb/mongo/commit/2fbc7152cdccd1bcfb8a932d7cb7c8bcfaf59560

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