summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2021-04-11 07:01:25 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-04-11 11:29:09 +0000
commitf5a4ebbb86e1efe99fbb432f50159117354eaed5 (patch)
tree4429c5afaf7c0b93cd4a0bdfd5da2686b6d3e6f1
parent2ff1849ef0c5b8d9ea59853e9e205d3e7b4581e1 (diff)
downloadmongo-f5a4ebbb86e1efe99fbb432f50159117354eaed5.tar.gz
SERVER-54956 move CommitQuorum away from using Bson_serialization_type any
-rw-r--r--src/mongo/db/catalog/commit_quorum.idl8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/mongo/db/catalog/commit_quorum.idl b/src/mongo/db/catalog/commit_quorum.idl
index a7a03c07f7d..2a67a22fdef 100644
--- a/src/mongo/db/catalog/commit_quorum.idl
+++ b/src/mongo/db/catalog/commit_quorum.idl
@@ -33,7 +33,13 @@ global:
types:
CommitQuorum:
- bson_serialization_type: any
+ # Union of string and safeInt.
+ bson_serialization_type:
+ - long
+ - int
+ - decimal
+ - double
+ - string
description: "CommitQuorumOptions defines the required quorum for the index builds to
commit."
cpp_type: "mongo::CommitQuorumOptions"