[SERVER-63838] Expose create and createIndexes from chunk migration only when showSystemEvents is true Created: 18/Feb/22  Updated: 29/Oct/23  Resolved: 29/Mar/22

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

Type: Improvement Priority: Major - P3
Reporter: Bernard Gorman Assignee: Misha Tyulenev
Resolution: Fixed Votes: 0
Labels: pm1950-m3
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-61893 Add capability for showing system eve... Closed
depends on SERVER-62591 Add change streams event for migrate ... Closed
depends on SERVER-63394 Add change stream event for createInd... Closed
Backwards Compatibility: Fully Compatible
Sprint: QE 2022-04-04, QE 2022-03-21
Participants:

 Description   

Currently, the create event which occurs on a new shard when a chunk migrates to it is NOT marked as fromMigrate:true. To prevent an intermittent stream of create events as the collection migrates around the cluster, we want to mark this as fromMigrate:true.

However, when showSystemEvents is true, both the create event and any createIndexes events that are generated during chunk migration should be exposed in the stream. Note that the createIndexes events are already marked as fromMigrate:true.



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

Author:

{'name': 'Misha Tyulenev', 'email': 'misha.tyulenev@mongodb.com'}

Message: SERVER-63838 expose createIndexes and create events from chunkMigration only when showEventsSystem is true
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/2b452d9bc512d776529c604b88369fc6f5471ff5

Comment by Githook User [ 29/Mar/22 ]

Author:

{'name': 'Misha Tyulenev', 'email': 'misha.tyulenev@mongodb.com'}

Message: SERVER-63838 expose createIndexes and create events from chunkMigration only when showEventsSystem is true
Branch: master
https://github.com/mongodb/mongo/commit/d1306d8b8118cf6c420f6c34daab28ab7c7c33b2

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