Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-17453

warn that db.eval() / eval command is deprecated

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.3, 3.1.1
    • Component/s: JavaScript
    • Labels:
      None
    • Backwards Compatibility:
      Minor Change
    • Backport Completed:
    • Sprint:
      Platform 1 04/03/15

      Description

      Issue Status as of Apr 29, 2015

      ISSUE SUMMARY
      The eval operation that permits clients to execute is deprecated in 3.0 and is currently planned for removal in an upcoming release. This change adds additional warning messages regarding the deprecation to the mongo shell and the eval command.

      USER IMPACT
      This change just adds additional logging, but users depending on eval should start planning for its eventual removal.

      FIX VERSION
      The change is included in the 3.0.3 production release.

      Original description

      Add a warning msg to server and mongo repl log when invoking the eval command, aka $eval or db.eval().

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                2 Vote for this issue
                Watchers:
                26 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: