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

eval is not supported on non-primary nodes

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • # Replies:
      4
    • Last comment by Customer:
      true
    • Sprint:
      KANBAN BUCKET

      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

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since reply:
                1 year, 17 weeks, 6 days ago
                Date of 1st Reply: