-
Type:
Bug
-
Resolution: Duplicate
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Sharding
-
None
-
ALL
-
Query 2020-05-04
-
32
-
None
-
None
-
None
-
None
-
None
-
None
-
None
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.
- duplicates
-
SERVER-47445 Scope can forget to load system.js procedures if interrupted
-
- Closed
-