- 
    Type:Bug 
- 
    Resolution: Fixed
- 
    Priority:Major - P3 
- 
    Affects Version/s: 3.6.4, 3.7.3
- 
    Component/s: Sharding
- 
        Query Execution
- 
        Fully Compatible
- 
        ALL
- 
        None
- 
        None
- 
        None
- 
        None
- 
        None
- 
        None
- 
        None
This is because the Cloner used by movePrimary does not mark these oplog entries as 'fromMigrate', the way the moveChunk protocol does.
This is a pre-existing bug since 3.6, and would go away if we tracked unsharded collections and moved them through moveChunk rather than movePrimary.
- is duplicated by
- 
                    SERVER-72099 Writes done as part of movePrimary should not generate change stream events -         
- Closed
 
-         
- related to
- 
                    SERVER-34424 a changeStream on a database will incorrectly notify that unsharded collections in the database have been dropped after movePrimary -         
- Closed
 
-         
- 
                    SERVER-72099 Writes done as part of movePrimary should not generate change stream events -         
- Closed
 
-