diff options
author | Anton Korshunov <anton.korshunov@mongodb.com> | 2019-11-28 13:46:53 +0000 |
---|---|---|
committer | evergreen <evergreen@mongodb.com> | 2019-11-28 13:46:53 +0000 |
commit | 995798094a170e1bbadb2659cfbe8b750f172b9d (patch) | |
tree | 3b0f753c379a766fe684438374d678fa8afe1ea2 /jstests/multiVersion | |
parent | 7c42573b96ecfa43fbf76aa01cd659ee00fc6103 (diff) | |
download | mongo-995798094a170e1bbadb2659cfbe8b750f172b9d.tar.gz |
SERVER-12335 indexKey $meta projection not populating fields
Diffstat (limited to 'jstests/multiVersion')
-rw-r--r-- | jstests/multiVersion/genericSetFCVUsage/view_definition_feature_compatibility_version.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/jstests/multiVersion/genericSetFCVUsage/view_definition_feature_compatibility_version.js b/jstests/multiVersion/genericSetFCVUsage/view_definition_feature_compatibility_version.js index c86d43d3b0a..adb4888b05e 100644 --- a/jstests/multiVersion/genericSetFCVUsage/view_definition_feature_compatibility_version.js +++ b/jstests/multiVersion/genericSetFCVUsage/view_definition_feature_compatibility_version.js @@ -18,9 +18,8 @@ const dbpath = MongoRunner.dataPath + testName; // latest version, and rejects it when the feature compatibility version is the last-stable // version. const pipelinesWithNewFeatures = [ - // TODO SERVER-43168: enable once indexKey and recordId $meta works correctly with pipelines. - // [{$project: {x: {$meta: "indexKey"}}}], - // [{$project: {x: {$meta: "recordId"}}}], + [{$project: {x: {$meta: "indexKey"}}}], + [{$project: {x: {$meta: "recordId"}}}], [{$sort: {a: 1}}, {$project: {x: {$meta: "sortKey"}}}], [ {$geoNear: {near: {type: "Point", coordinates: [0, 0]}, distanceField: "loc"}}, |