mongo 2.20.0 → 2.20.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +37 -1
- data/Rakefile +57 -21
- data/lib/mongo/config.rb +2 -2
- data/lib/mongo/retryable/base_worker.rb +28 -3
- data/lib/mongo/retryable/read_worker.rb +9 -8
- data/lib/mongo/retryable/write_worker.rb +4 -4
- data/lib/mongo/server/pending_connection.rb +19 -6
- data/lib/mongo/socket/ssl.rb +22 -1
- data/lib/mongo/version.rb +1 -5
- data/mongo.gemspec +8 -11
- data/spec/integration/client_side_encryption/range_explicit_encryption_prose_spec.rb +3 -0
- data/spec/integration/retryable_reads_errors_spec.rb +35 -23
- data/spec/integration/sdam_error_handling_spec.rb +2 -0
- data/spec/lite_spec_helper.rb +0 -10
- data/spec/mongo/collection_crud_spec.rb +1 -0
- data/spec/mongo/server/connection_spec.rb +22 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-BypassQueryAnalysis.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Compact.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-CreateCollection.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-DecryptExistingData.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Delete.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-EncryptedFields-vs-EncryptedFieldsMap.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-EncryptedFields-vs-jsonSchema.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-EncryptedFieldsMap-defaults.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-FindOneAndUpdate.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-InsertFind-Indexed.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-InsertFind-Unindexed.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-MissingKey.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-NoEncryption.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Date-Aggregate.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Date-Correctness.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Date-Delete.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Date-FindOneAndUpdate.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Date-InsertFind.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Date-Update.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Decimal-Aggregate.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Decimal-Correctness.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Decimal-Delete.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Decimal-FindOneAndUpdate.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Decimal-InsertFind.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Decimal-Update.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-DecimalPrecision-Aggregate.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-DecimalPrecision-Correctness.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-DecimalPrecision-Delete.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-DecimalPrecision-FindOneAndUpdate.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-DecimalPrecision-InsertFind.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-DecimalPrecision-Update.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Double-Aggregate.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Double-Correctness.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Double-Delete.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Double-FindOneAndUpdate.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Double-InsertFind.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Double-Update.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-DoublePrecision-Aggregate.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-DoublePrecision-Correctness.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-DoublePrecision-Delete.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-DoublePrecision-FindOneAndUpdate.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-DoublePrecision-InsertFind.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-DoublePrecision-Update.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Int-Aggregate.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Int-Correctness.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Int-Delete.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Int-FindOneAndUpdate.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Int-InsertFind.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Int-Update.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Long-Aggregate.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Long-Correctness.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Long-Delete.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Long-FindOneAndUpdate.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Long-InsertFind.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-Long-Update.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-WrongType.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-Update.yml +1 -0
- data/spec/spec_tests/data/client_side_encryption/fle2v2-validatorAndPartialFieldExpression.yml +2 -1
- data/spec/spec_tests/data/crud_unified/aggregate-write-readPreference.yml +2 -0
- data/spec/spec_tests/data/crud_unified/db-aggregate-write-readPreference.yml +2 -0
- data/spec/spec_tests/transactions_unified_spec.rb +2 -1
- data/spec/support/certificates/atlas-ocsp-ca.crt +89 -77
- data/spec/support/certificates/atlas-ocsp.crt +117 -122
- data/spec/support/certificates/retrieve-atlas-cert +1 -1
- metadata +12 -84
- checksums.yaml.gz.sig +0 -0
- data/spec/shared/LICENSE +0 -20
- data/spec/shared/bin/get-mongodb-download-url +0 -17
- data/spec/shared/bin/s3-copy +0 -45
- data/spec/shared/bin/s3-upload +0 -69
- data/spec/shared/lib/mrss/child_process_helper.rb +0 -80
- data/spec/shared/lib/mrss/cluster_config.rb +0 -231
- data/spec/shared/lib/mrss/constraints.rb +0 -378
- data/spec/shared/lib/mrss/docker_runner.rb +0 -298
- data/spec/shared/lib/mrss/eg_config_utils.rb +0 -51
- data/spec/shared/lib/mrss/event_subscriber.rb +0 -210
- data/spec/shared/lib/mrss/lite_constraints.rb +0 -238
- data/spec/shared/lib/mrss/server_version_registry.rb +0 -113
- data/spec/shared/lib/mrss/session_registry.rb +0 -69
- data/spec/shared/lib/mrss/session_registry_legacy.rb +0 -60
- data/spec/shared/lib/mrss/spec_organizer.rb +0 -179
- data/spec/shared/lib/mrss/utils.rb +0 -37
- data/spec/shared/share/Dockerfile.erb +0 -281
- data/spec/shared/share/haproxy-1.conf +0 -16
- data/spec/shared/share/haproxy-2.conf +0 -17
- data/spec/shared/shlib/config.sh +0 -27
- data/spec/shared/shlib/distro.sh +0 -74
- data/spec/shared/shlib/server.sh +0 -417
- data/spec/shared/shlib/set_env.sh +0 -146
- data/spec/support/faas/app/aws_lambda/mongodb/Gemfile.lock +0 -19
- data.tar.gz.sig +0 -0
- metadata.gz.sig +0 -3
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# Requires libmongocrypt 1.8.0.
|
|
2
2
|
runOn:
|
|
3
3
|
- minServerVersion: "7.0.0"
|
|
4
|
+
maxServerVersion: "7.99.99"
|
|
4
5
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
|
5
6
|
# FLE 2 Encrypted collections are not supported on standalone.
|
|
6
7
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# Requires libmongocrypt 1.8.0.
|
|
2
2
|
runOn:
|
|
3
3
|
- minServerVersion: "7.0.0"
|
|
4
|
+
maxServerVersion: "7.99.99"
|
|
4
5
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
|
5
6
|
# FLE 2 Encrypted collections are not supported on standalone.
|
|
6
7
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
data/spec/spec_tests/data/client_side_encryption/fle2v2-EncryptedFields-vs-EncryptedFieldsMap.yml
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# Requires libmongocrypt 1.8.0.
|
|
2
2
|
runOn:
|
|
3
3
|
- minServerVersion: "7.0.0"
|
|
4
|
+
maxServerVersion: "7.99.99"
|
|
4
5
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
|
5
6
|
# FLE 2 Encrypted collections are not supported on standalone.
|
|
6
7
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# Requires libmongocrypt 1.8.0.
|
|
2
2
|
runOn:
|
|
3
3
|
- minServerVersion: "7.0.0"
|
|
4
|
+
maxServerVersion: "7.99.99"
|
|
4
5
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
|
5
6
|
# FLE 2 Encrypted collections are not supported on standalone.
|
|
6
7
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# Requires libmongocrypt 1.8.0.
|
|
2
2
|
runOn:
|
|
3
3
|
- minServerVersion: "7.0.0"
|
|
4
|
+
maxServerVersion: "7.99.99"
|
|
4
5
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
|
5
6
|
# FLE 2 Encrypted collections are not supported on standalone.
|
|
6
7
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# Requires libmongocrypt 1.8.0.
|
|
2
2
|
runOn:
|
|
3
3
|
- minServerVersion: "7.0.0"
|
|
4
|
+
maxServerVersion: "7.99.99"
|
|
4
5
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
|
5
6
|
# FLE 2 Encrypted collections are not supported on standalone.
|
|
6
7
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# Requires libmongocrypt 1.8.0.
|
|
2
2
|
runOn:
|
|
3
3
|
- minServerVersion: "7.0.0"
|
|
4
|
+
maxServerVersion: "7.99.99"
|
|
4
5
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
|
5
6
|
# FLE 2 Encrypted collections are not supported on standalone.
|
|
6
7
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# Requires libmongocrypt 1.8.0.
|
|
2
2
|
runOn:
|
|
3
3
|
- minServerVersion: "7.0.0"
|
|
4
|
+
maxServerVersion: "7.99.99"
|
|
4
5
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
|
5
6
|
# FLE 2 Encrypted collections are not supported on standalone.
|
|
6
7
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# Requires libmongocrypt 1.8.0.
|
|
2
2
|
runOn:
|
|
3
3
|
- minServerVersion: "7.0.0"
|
|
4
|
+
maxServerVersion: "7.99.99"
|
|
4
5
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
|
5
6
|
# FLE 2 Encrypted collections are not supported on standalone.
|
|
6
7
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# Requires libmongocrypt 1.8.0.
|
|
2
2
|
runOn:
|
|
3
3
|
- minServerVersion: "7.0.0"
|
|
4
|
+
maxServerVersion: "7.99.99"
|
|
4
5
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
|
5
6
|
# FLE 2 Encrypted collections are not supported on standalone.
|
|
6
7
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# Requires libmongocrypt 1.8.0.
|
|
3
3
|
runOn:
|
|
4
4
|
- minServerVersion: "7.0.0"
|
|
5
|
+
maxServerVersion: "7.99.99"
|
|
5
6
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
|
6
7
|
# FLE 2 Encrypted collections are not supported on standalone.
|
|
7
8
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
# Requires libmongocrypt 1.8.0.
|
|
5
5
|
runOn:
|
|
6
6
|
- minServerVersion: "7.0.0"
|
|
7
|
+
maxServerVersion: "7.99.99"
|
|
7
8
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
|
8
9
|
# FLE 2 Encrypted collections are not supported on standalone.
|
|
9
10
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# Requires libmongocrypt 1.8.0.
|
|
3
3
|
runOn:
|
|
4
4
|
- minServerVersion: "7.0.0"
|
|
5
|
+
maxServerVersion: "7.99.99"
|
|
5
6
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
|
6
7
|
# FLE 2 Encrypted collections are not supported on standalone.
|
|
7
8
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# Requires libmongocrypt 1.8.0.
|
|
3
3
|
runOn:
|
|
4
4
|
- minServerVersion: "7.0.0"
|
|
5
|
+
maxServerVersion: "7.99.99"
|
|
5
6
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
|
6
7
|
# FLE 2 Encrypted collections are not supported on standalone.
|
|
7
8
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# Requires libmongocrypt 1.8.0.
|
|
3
3
|
runOn:
|
|
4
4
|
- minServerVersion: "7.0.0"
|
|
5
|
+
maxServerVersion: "7.99.99"
|
|
5
6
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
|
6
7
|
# FLE 2 Encrypted collections are not supported on standalone.
|
|
7
8
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# Requires libmongocrypt 1.8.0.
|
|
3
3
|
runOn:
|
|
4
4
|
- minServerVersion: "7.0.0"
|
|
5
|
+
maxServerVersion: "7.99.99"
|
|
5
6
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
|
6
7
|
# FLE 2 Encrypted collections are not supported on standalone.
|
|
7
8
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# Requires libmongocrypt 1.8.0.
|
|
3
3
|
runOn:
|
|
4
4
|
- minServerVersion: "7.0.0"
|
|
5
|
+
maxServerVersion: "7.99.99"
|
|
5
6
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
|
6
7
|
# FLE 2 Encrypted collections are not supported on standalone.
|
|
7
8
|
# Tests for Decimal (without precision) must only run against a replica set. Decimal (without precision) queries are expected to take a long time and may exceed the default mongos timeout.
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
# Requires libmongocrypt 1.8.0.
|
|
5
5
|
runOn:
|
|
6
6
|
- minServerVersion: "7.0.0"
|
|
7
|
+
maxServerVersion: "7.99.99"
|
|
7
8
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
|
8
9
|
# FLE 2 Encrypted collections are not supported on standalone.
|
|
9
10
|
# Tests for Decimal (without precision) must only run against a replica set. Decimal (without precision) queries are expected to take a long time and may exceed the default mongos timeout.
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# Requires libmongocrypt 1.8.0.
|
|
3
3
|
runOn:
|
|
4
4
|
- minServerVersion: "7.0.0"
|
|
5
|
+
maxServerVersion: "7.99.99"
|
|
5
6
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
|
6
7
|
# FLE 2 Encrypted collections are not supported on standalone.
|
|
7
8
|
# Tests for Decimal (without precision) must only run against a replica set. Decimal (without precision) queries are expected to take a long time and may exceed the default mongos timeout.
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# Requires libmongocrypt 1.8.0.
|
|
3
3
|
runOn:
|
|
4
4
|
- minServerVersion: "7.0.0"
|
|
5
|
+
maxServerVersion: "7.99.99"
|
|
5
6
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
|
6
7
|
# FLE 2 Encrypted collections are not supported on standalone.
|
|
7
8
|
# Tests for Decimal (without precision) must only run against a replica set. Decimal (without precision) queries are expected to take a long time and may exceed the default mongos timeout.
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# Requires libmongocrypt 1.8.0.
|
|
3
3
|
runOn:
|
|
4
4
|
- minServerVersion: "7.0.0"
|
|
5
|
+
maxServerVersion: "7.99.99"
|
|
5
6
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
|
6
7
|
# FLE 2 Encrypted collections are not supported on standalone.
|
|
7
8
|
# Tests for Decimal (without precision) must only run against a replica set. Decimal (without precision) queries are expected to take a long time and may exceed the default mongos timeout.
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# Requires libmongocrypt 1.8.0.
|
|
3
3
|
runOn:
|
|
4
4
|
- minServerVersion: "7.0.0"
|
|
5
|
+
maxServerVersion: "7.99.99"
|
|
5
6
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
|
6
7
|
# FLE 2 Encrypted collections are not supported on standalone.
|
|
7
8
|
# Tests for Decimal (without precision) must only run against a replica set. Decimal (without precision) queries are expected to take a long time and may exceed the default mongos timeout.
|
data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-DecimalPrecision-Aggregate.yml
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# Requires libmongocrypt 1.8.0.
|
|
3
3
|
runOn:
|
|
4
4
|
- minServerVersion: "7.0.0"
|
|
5
|
+
maxServerVersion: "7.99.99"
|
|
5
6
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
|
6
7
|
# FLE 2 Encrypted collections are not supported on standalone.
|
|
7
8
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-DecimalPrecision-Correctness.yml
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
# Requires libmongocrypt 1.8.0.
|
|
5
5
|
runOn:
|
|
6
6
|
- minServerVersion: "7.0.0"
|
|
7
|
+
maxServerVersion: "7.99.99"
|
|
7
8
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
|
8
9
|
# FLE 2 Encrypted collections are not supported on standalone.
|
|
9
10
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# Requires libmongocrypt 1.8.0.
|
|
3
3
|
runOn:
|
|
4
4
|
- minServerVersion: "7.0.0"
|
|
5
|
+
maxServerVersion: "7.99.99"
|
|
5
6
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
|
6
7
|
# FLE 2 Encrypted collections are not supported on standalone.
|
|
7
8
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-DecimalPrecision-FindOneAndUpdate.yml
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# Requires libmongocrypt 1.8.0.
|
|
3
3
|
runOn:
|
|
4
4
|
- minServerVersion: "7.0.0"
|
|
5
|
+
maxServerVersion: "7.99.99"
|
|
5
6
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
|
6
7
|
# FLE 2 Encrypted collections are not supported on standalone.
|
|
7
8
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-DecimalPrecision-InsertFind.yml
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# Requires libmongocrypt 1.8.0.
|
|
3
3
|
runOn:
|
|
4
4
|
- minServerVersion: "7.0.0"
|
|
5
|
+
maxServerVersion: "7.99.99"
|
|
5
6
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
|
6
7
|
# FLE 2 Encrypted collections are not supported on standalone.
|
|
7
8
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# Requires libmongocrypt 1.8.0.
|
|
3
3
|
runOn:
|
|
4
4
|
- minServerVersion: "7.0.0"
|
|
5
|
+
maxServerVersion: "7.99.99"
|
|
5
6
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
|
6
7
|
# FLE 2 Encrypted collections are not supported on standalone.
|
|
7
8
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# Requires libmongocrypt 1.8.0.
|
|
3
3
|
runOn:
|
|
4
4
|
- minServerVersion: "7.0.0"
|
|
5
|
+
maxServerVersion: "7.99.99"
|
|
5
6
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
|
6
7
|
# FLE 2 Encrypted collections are not supported on standalone.
|
|
7
8
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
# Requires libmongocrypt 1.8.0.
|
|
5
5
|
runOn:
|
|
6
6
|
- minServerVersion: "7.0.0"
|
|
7
|
+
maxServerVersion: "7.99.99"
|
|
7
8
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
|
8
9
|
# FLE 2 Encrypted collections are not supported on standalone.
|
|
9
10
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# Requires libmongocrypt 1.8.0.
|
|
3
3
|
runOn:
|
|
4
4
|
- minServerVersion: "7.0.0"
|
|
5
|
+
maxServerVersion: "7.99.99"
|
|
5
6
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
|
6
7
|
# FLE 2 Encrypted collections are not supported on standalone.
|
|
7
8
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# Requires libmongocrypt 1.8.0.
|
|
3
3
|
runOn:
|
|
4
4
|
- minServerVersion: "7.0.0"
|
|
5
|
+
maxServerVersion: "7.99.99"
|
|
5
6
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
|
6
7
|
# FLE 2 Encrypted collections are not supported on standalone.
|
|
7
8
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# Requires libmongocrypt 1.8.0.
|
|
3
3
|
runOn:
|
|
4
4
|
- minServerVersion: "7.0.0"
|
|
5
|
+
maxServerVersion: "7.99.99"
|
|
5
6
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
|
6
7
|
# FLE 2 Encrypted collections are not supported on standalone.
|
|
7
8
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# Requires libmongocrypt 1.8.0.
|
|
3
3
|
runOn:
|
|
4
4
|
- minServerVersion: "7.0.0"
|
|
5
|
+
maxServerVersion: "7.99.99"
|
|
5
6
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
|
6
7
|
# FLE 2 Encrypted collections are not supported on standalone.
|
|
7
8
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# Requires libmongocrypt 1.8.0.
|
|
3
3
|
runOn:
|
|
4
4
|
- minServerVersion: "7.0.0"
|
|
5
|
+
maxServerVersion: "7.99.99"
|
|
5
6
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
|
6
7
|
# FLE 2 Encrypted collections are not supported on standalone.
|
|
7
8
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-DoublePrecision-Correctness.yml
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
# Requires libmongocrypt 1.8.0.
|
|
5
5
|
runOn:
|
|
6
6
|
- minServerVersion: "7.0.0"
|
|
7
|
+
maxServerVersion: "7.99.99"
|
|
7
8
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
|
8
9
|
# FLE 2 Encrypted collections are not supported on standalone.
|
|
9
10
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# Requires libmongocrypt 1.8.0.
|
|
3
3
|
runOn:
|
|
4
4
|
- minServerVersion: "7.0.0"
|
|
5
|
+
maxServerVersion: "7.99.99"
|
|
5
6
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
|
6
7
|
# FLE 2 Encrypted collections are not supported on standalone.
|
|
7
8
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-DoublePrecision-FindOneAndUpdate.yml
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# Requires libmongocrypt 1.8.0.
|
|
3
3
|
runOn:
|
|
4
4
|
- minServerVersion: "7.0.0"
|
|
5
|
+
maxServerVersion: "7.99.99"
|
|
5
6
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
|
6
7
|
# FLE 2 Encrypted collections are not supported on standalone.
|
|
7
8
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
data/spec/spec_tests/data/client_side_encryption/fle2v2-Range-DoublePrecision-InsertFind.yml
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# Requires libmongocrypt 1.8.0.
|
|
3
3
|
runOn:
|
|
4
4
|
- minServerVersion: "7.0.0"
|
|
5
|
+
maxServerVersion: "7.99.99"
|
|
5
6
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
|
6
7
|
# FLE 2 Encrypted collections are not supported on standalone.
|
|
7
8
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# Requires libmongocrypt 1.8.0.
|
|
3
3
|
runOn:
|
|
4
4
|
- minServerVersion: "7.0.0"
|
|
5
|
+
maxServerVersion: "7.99.99"
|
|
5
6
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
|
6
7
|
# FLE 2 Encrypted collections are not supported on standalone.
|
|
7
8
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# Requires libmongocrypt 1.8.0.
|
|
3
3
|
runOn:
|
|
4
4
|
- minServerVersion: "7.0.0"
|
|
5
|
+
maxServerVersion: "7.99.99"
|
|
5
6
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
|
6
7
|
# FLE 2 Encrypted collections are not supported on standalone.
|
|
7
8
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
# Requires libmongocrypt 1.8.0.
|
|
5
5
|
runOn:
|
|
6
6
|
- minServerVersion: "7.0.0"
|
|
7
|
+
maxServerVersion: "7.99.99"
|
|
7
8
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
|
8
9
|
# FLE 2 Encrypted collections are not supported on standalone.
|
|
9
10
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# Requires libmongocrypt 1.8.0.
|
|
3
3
|
runOn:
|
|
4
4
|
- minServerVersion: "7.0.0"
|
|
5
|
+
maxServerVersion: "7.99.99"
|
|
5
6
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
|
6
7
|
# FLE 2 Encrypted collections are not supported on standalone.
|
|
7
8
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# Requires libmongocrypt 1.8.0.
|
|
3
3
|
runOn:
|
|
4
4
|
- minServerVersion: "7.0.0"
|
|
5
|
+
maxServerVersion: "7.99.99"
|
|
5
6
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
|
6
7
|
# FLE 2 Encrypted collections are not supported on standalone.
|
|
7
8
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# Requires libmongocrypt 1.8.0.
|
|
3
3
|
runOn:
|
|
4
4
|
- minServerVersion: "7.0.0"
|
|
5
|
+
maxServerVersion: "7.99.99"
|
|
5
6
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
|
6
7
|
# FLE 2 Encrypted collections are not supported on standalone.
|
|
7
8
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# Requires libmongocrypt 1.8.0.
|
|
3
3
|
runOn:
|
|
4
4
|
- minServerVersion: "7.0.0"
|
|
5
|
+
maxServerVersion: "7.99.99"
|
|
5
6
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
|
6
7
|
# FLE 2 Encrypted collections are not supported on standalone.
|
|
7
8
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# Requires libmongocrypt 1.8.0.
|
|
3
3
|
runOn:
|
|
4
4
|
- minServerVersion: "7.0.0"
|
|
5
|
+
maxServerVersion: "7.99.99"
|
|
5
6
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
|
6
7
|
# FLE 2 Encrypted collections are not supported on standalone.
|
|
7
8
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
# Requires libmongocrypt 1.8.0.
|
|
5
5
|
runOn:
|
|
6
6
|
- minServerVersion: "7.0.0"
|
|
7
|
+
maxServerVersion: "7.99.99"
|
|
7
8
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
|
8
9
|
# FLE 2 Encrypted collections are not supported on standalone.
|
|
9
10
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# Requires libmongocrypt 1.8.0.
|
|
3
3
|
runOn:
|
|
4
4
|
- minServerVersion: "7.0.0"
|
|
5
|
+
maxServerVersion: "7.99.99"
|
|
5
6
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
|
6
7
|
# FLE 2 Encrypted collections are not supported on standalone.
|
|
7
8
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# Requires libmongocrypt 1.8.0.
|
|
3
3
|
runOn:
|
|
4
4
|
- minServerVersion: "7.0.0"
|
|
5
|
+
maxServerVersion: "7.99.99"
|
|
5
6
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
|
6
7
|
# FLE 2 Encrypted collections are not supported on standalone.
|
|
7
8
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# Requires libmongocrypt 1.8.0.
|
|
3
3
|
runOn:
|
|
4
4
|
- minServerVersion: "7.0.0"
|
|
5
|
+
maxServerVersion: "7.99.99"
|
|
5
6
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
|
6
7
|
# FLE 2 Encrypted collections are not supported on standalone.
|
|
7
8
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# Requires libmongocrypt 1.8.0.
|
|
3
3
|
runOn:
|
|
4
4
|
- minServerVersion: "7.0.0"
|
|
5
|
+
maxServerVersion: "7.99.99"
|
|
5
6
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
|
6
7
|
# FLE 2 Encrypted collections are not supported on standalone.
|
|
7
8
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
# Requires libmongocrypt 1.8.0.
|
|
5
5
|
runOn:
|
|
6
6
|
- minServerVersion: "7.0.0"
|
|
7
|
+
maxServerVersion: "7.99.99"
|
|
7
8
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
|
8
9
|
# FLE 2 Encrypted collections are not supported on standalone.
|
|
9
10
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# Requires libmongocrypt 1.8.0.
|
|
2
2
|
runOn:
|
|
3
3
|
- minServerVersion: "7.0.0"
|
|
4
|
+
maxServerVersion: "7.99.99"
|
|
4
5
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
|
5
6
|
# FLE 2 Encrypted collections are not supported on standalone.
|
|
6
7
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
data/spec/spec_tests/data/client_side_encryption/fle2v2-validatorAndPartialFieldExpression.yml
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
runOn:
|
|
3
3
|
# Require server version 6.0.0 to get behavior added in SERVER-64911.
|
|
4
4
|
- minServerVersion: "7.0.0"
|
|
5
|
+
maxServerVersion: "7.99.99"
|
|
5
6
|
# Skip QEv2 (also referred to as FLE2v2) tests on Serverless. Unskip once Serverless enables the QEv2 protocol.
|
|
6
7
|
# FLE 2 Encrypted collections are not supported on standalone.
|
|
7
8
|
topology: [ "replicaset", "sharded", "load-balanced" ]
|
|
@@ -166,4 +167,4 @@ tests:
|
|
|
166
167
|
partialFilterExpression:
|
|
167
168
|
encryptedIndexed: "foo"
|
|
168
169
|
result:
|
|
169
|
-
errorContains: "Comparison to encrypted fields not supported"
|
|
170
|
+
errorContains: "Comparison to encrypted fields not supported"
|
|
@@ -5,6 +5,8 @@ schemaVersion: '1.4'
|
|
|
5
5
|
runOnRequirements:
|
|
6
6
|
# 3.6+ non-standalone is needed to utilize $readPreference in OP_MSG
|
|
7
7
|
- minServerVersion: "3.6"
|
|
8
|
+
# https://jira.mongodb.org/browse/DRIVERS-291
|
|
9
|
+
maxServerVersion: "7.99"
|
|
8
10
|
topologies: [ replicaset, sharded, load-balanced ]
|
|
9
11
|
|
|
10
12
|
_yamlAnchors:
|
|
@@ -7,6 +7,8 @@ runOnRequirements:
|
|
|
7
7
|
# Serverless does not support $listLocalSessions and $currentOp stages, and
|
|
8
8
|
# mongos does not allow combining them with $out or $merge.
|
|
9
9
|
- minServerVersion: "3.6"
|
|
10
|
+
# https://jira.mongodb.org/browse/DRIVERS-291
|
|
11
|
+
maxServerVersion: "7.99"
|
|
10
12
|
topologies: [ replicaset ]
|
|
11
13
|
serverless: forbid
|
|
12
14
|
|
|
@@ -6,7 +6,8 @@ require 'spec_helper'
|
|
|
6
6
|
require 'runners/unified'
|
|
7
7
|
|
|
8
8
|
base = "#{CURRENT_PATH}/spec_tests/data/transactions_unified"
|
|
9
|
-
|
|
9
|
+
# See https://jira.mongodb.org/browse/RUBY-3502 for more details
|
|
10
|
+
TRANSACTIONS_UNIFIED_TESTS = Dir.glob("#{base}/**/*.yml").sort.reject { |name| name =~ /.*mongos-unpin.yml$/ }
|
|
10
11
|
|
|
11
12
|
describe 'Transactions unified spec tests' do
|
|
12
13
|
define_unified_spec_tests(base, TRANSACTIONS_UNIFIED_TESTS)
|