summaryrefslogtreecommitdiff
path: root/src/mongo
diff options
context:
space:
mode:
authorAdityavardhan Agrawal <adi.agrawal@mongodb.com>2021-08-19 18:30:34 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-08-19 19:20:05 +0000
commita774156ecde60e8122660eb2df39170c973c642c (patch)
treea5823c358bf3756e1f9ed5711ccfbc25b6ae1fe5 /src/mongo
parent160bed7da80b40efea2eb14793b28734ec5466b3 (diff)
downloadmongo-a774156ecde60e8122660eb2df39170c973c642c.tar.gz
SERVER-46751 remove useNewUpsert
Diffstat (limited to 'src/mongo')
-rw-r--r--src/mongo/db/explain.idl4
-rw-r--r--src/mongo/db/pipeline/aggregate_command.idl10
2 files changed, 0 insertions, 14 deletions
diff --git a/src/mongo/db/explain.idl b/src/mongo/db/explain.idl
index 9dbbe2ce99d..bf0a2b622ff 100644
--- a/src/mongo/db/explain.idl
+++ b/src/mongo/db/explain.idl
@@ -61,9 +61,5 @@ commands:
type: IDLAnyType
ignore: true
unstable: true
- useNewUpsert:
- type: IDLAnyType
- ignore: true
- unstable: true
# Dummy reply type as we won't use it to parse explain reply.
reply_type: OkReply \ No newline at end of file
diff --git a/src/mongo/db/pipeline/aggregate_command.idl b/src/mongo/db/pipeline/aggregate_command.idl
index 1146df571e3..85be8e0b4b1 100644
--- a/src/mongo/db/pipeline/aggregate_command.idl
+++ b/src/mongo/db/pipeline/aggregate_command.idl
@@ -220,13 +220,3 @@ commands:
type: bool
ignore: true
unstable: true
- useNewUpsert:
- # TODO SERVER-46751: we must retain the ability to ingest the 'useNewUpsert' field for
- # 5.0 upgrade purposes, since a 4.4 mongoS will always send {useNewUpsert:true} to the
- # shards. We do nothing with it because useNewUpsert will be automatically used in 5.0
- # when appropriate. Remove this final vestige of useNewUpsert when 5.0 becomes
- # last-lts.
- description: "A flag to indicate wether or not to use new upsert option."
- type: bool
- ignore: true
- unstable: true