- 
    Type:Improvement 
- 
    Resolution: Done
- 
    Priority:Major - P3 
- 
    Affects Version/s: None
- 
    Component/s: Shell
- 
        Server Security
- 
        Major Change
- 
        Security 2018-09-10
- 
        None
- 
        None
- 
        None
- 
        None
- 
        None
- 
        None
- 
        None
To remove the dependency of the copyTo() shell helper on the eval command, we will be switching to using aggregation+$out to simulate the existing behavior.
- is depended on by
- 
                    SERVER-33662 Remove deprecated db.eval command -         
- Closed
 
-         
- is duplicated by
- 
                    SERVER-7489 db.foo.copyTo() uses db.eval() which isn't lock-friendly -         
- Closed
 
-         
- is related to
- 
                    SERVER-12742 remove collection.copyTo test shell helper -         
- Closed
 
-         
- related to
- 
                    SERVER-15571 Make a command to copy a collection locally, then have db.collection.copyTo use it. -         
- Backlog
 
-