Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-11931

eval is not supported on non-primary nodes

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None

    Description

      ----------------------------

      Original Description

      db.eval() does not run on secondary nodes
      https://github.com/mongodb/mongo/blob/r3.4.16/src/mongo/db/commands/eval.cpp#L155

      The documentation does not mention this and we've had customers ask us how to run it on slaves.

      Please add a line to the documentation to alert the users that the function is only supported on primary nodes.
      ----------------------------

      Description

      Scope of changes (files that need work and how much)

      Impact to other docs outside of this product

      MVP (work and date?)

      Resources (e.g. Scope Docs, Invision)

      Attachments

        Activity

          People

            allison.moore@mongodb.com Allison Reinheimer Moore
            vick.mena Vick Mena (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              5 years, 27 weeks, 5 days ago