[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: |
|
||||||||||||||||
| 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: |
| Comment by Githook User [ 29/Mar/22 ] |
|
Author: {'name': 'Misha Tyulenev', 'email': 'misha.tyulenev@mongodb.com'}Message: |