diff options
author | Andrew Chen <andrew.chen@10gen.com> | 2020-02-19 15:27:54 -0500 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-02-19 20:51:40 +0000 |
commit | d9498822ada47c6de872ba5452500ec6ac1815b5 (patch) | |
tree | 2e2adea424a859fad853e5097ab49af2a0b6a93a /src/mongo/idl | |
parent | 95335e138106df460056105e2cf0bec08e45708e (diff) | |
download | mongo-d9498822ada47c6de872ba5452500ec6ac1815b5.tar.gz |
SERVER-45978: Added "minRetentionHours" field to replSetResizeOplog cmd
create mode 100644 src/mongo/db/commands/resize_oplog.idl
Diffstat (limited to 'src/mongo/idl')
-rw-r--r-- | src/mongo/idl/unittest.idl | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/mongo/idl/unittest.idl b/src/mongo/idl/unittest.idl index 7ee09db434e..4fb7dc63db1 100644 --- a/src/mongo/idl/unittest.idl +++ b/src/mongo/idl/unittest.idl @@ -747,3 +747,14 @@ commands: fields: field1: int + validated_command: + description: Renamed command with validator + namespace: ignored + cpp_name: doubleBasicRanges + fields: + positive_double: + type: double + validator: { gt: 0.0 } + negative_double: + type: double + validator: { lt: 0.0 } |