-
Type: Improvement
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Replication, Testing Infrastructure
The UpdateSequenceGenerator class introduced in SERVER-29939 randomly selects between null, true, false, and double values between -INT_MAX and INT_MAX. We should update the RandomizedScalarGenerator to be able to generate all possible BSON types in order to be able to detect idempotency issues related to different BSON types (e.g. type fidelity in $set, see SERVER-16801).
Note: When generating Decimal128 values, we should uniformly generate an exponent and generate a mantissa separately in order to be able to generate both small and large Decimal128 values with non-negligible probabilities, per geert.bosch's recommendation.
- depends on
-
SERVER-30327 Introduce ScalarGenerator interface for creating values of different BSON types in idempotency testing
- Closed