-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: 4.2.2
-
Component/s: None
-
None
-
Program Management
-
ALL
When I execute this script the server crashes:
use test_db; db.test_col.insert({value: 1}); db.test_col.insert({value: 2}); var mapF = function () { emit(this.value, {count: 1}) }; var reduceF = function(key, values) { var result = {count: 0}; values.forEach(function(value) { result.count += value.count; }); return result; }; db.test_col.mapReduce( mapF, reduceF, { query: { value: {$ne: 1}}, out: "inline" } );
- duplicates
-
SERVER-45177 Not-equal ($ne) in query for mapReduce causes segmentation fault
- Closed