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

ensure replication of the system.js collection in system_js_access test

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Duplicate
    • None
    • None
    • Sharding
    • None
    • ALL
    • Query 2020-05-04
    • 32

    Description

      The error occurs in a hedge read that goes to secondary before the collection that contains js function definition is replicated:

      assert: command did not fail with any of the following codes [ 4649200 ] {
      "ok" : 0,
      "errmsg" : "Encountered non-retryable error during query :: caused by :: ReferenceError: isAdult is not defined :\n@:1:15\n",
      "code" : 139,
      "codeName" : "JSInterpreterFailure",
      "operationTime" : Timestamp(1585298452, 13),
      "$clusterTime" : {
      "clusterTime" : Timestamp(1585298452, 13),
      "signature" : {
      "hash" : BinData(0,"AAAAAAAAAAAAAAAAAAAAAAAAAAA="),
      "keyId" : NumberLong(0)
      }
      }
      }
      

      A possible quick fix is to ensure the insert of js function is replicated.

      Attachments

        Issue Links

          Activity

            People

              david.percy@mongodb.com David Percy
              misha.tyulenev@mongodb.com Misha Tyulenev
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: