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

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

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.0.3, 3.1.1
    • JavaScript
    • None
    • Minor Change
    • 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

              samantha.ritter@mongodb.com Samantha Ritter (Inactive)
              dan@mongodb.com Daniel Pasette (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              25 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: