diff options
author | Bernard Gorman <bernard.gorman@mongodb.com> | 2019-12-02 21:55:49 +0000 |
---|---|---|
committer | evergreen <evergreen@mongodb.com> | 2019-12-02 21:55:49 +0000 |
commit | 70ef84cd14388602b3d763b12c6f8448ba62a9d8 (patch) | |
tree | 104b86a7dfe90c4fc21ab246b74e61fb17bbacd2 /src/mongo/db/views/resolved_view.cpp | |
parent | cb125fa6284810a767a6e2ec50f940eb1eca7fad (diff) | |
download | mongo-70ef84cd14388602b3d763b12c6f8448ba62a9d8.tar.gz |
SERVER-43860 Upgrade/downgrade mechanism for new $merge upsert behaviour
Diffstat (limited to 'src/mongo/db/views/resolved_view.cpp')
-rw-r--r-- | src/mongo/db/views/resolved_view.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/views/resolved_view.cpp b/src/mongo/db/views/resolved_view.cpp index a6ac9d6b4d9..632be798d6a 100644 --- a/src/mongo/db/views/resolved_view.cpp +++ b/src/mongo/db/views/resolved_view.cpp @@ -111,6 +111,7 @@ AggregationRequest ResolvedView::asExpandedViewAggregation( expandedRequest.setUnwrappedReadPref(request.getUnwrappedReadPref()); expandedRequest.setBypassDocumentValidation(request.shouldBypassDocumentValidation()); expandedRequest.setAllowDiskUse(request.shouldAllowDiskUse()); + expandedRequest.setUseNewUpsert(request.getUseNewUpsert()); // Operations on a view must always use the default collation of the view. We must have already // checked that if the user's request specifies a collation, it matches the collation of the |