-
Type: Sub-task
-
Resolution: Fixed
-
Priority: Critical - P2
-
Affects Version/s: None
-
Component/s: BSON
Use Case
As a... driver engineer
I want... Decimal128 rounding to be correct
So that... users do not corrupt their data
User Impact
- Users storing values on the edges of the representable range of Decimal128 will have correctly rounded numbers when opting into using fromStringRounded
- Users whose applications were silently losing precision will now see an uncaught exception.
Dependencies
Possible shell impacts?
Unknowns
- How does this impact shell?
- Shouldn't have any shell impact since they already gracefully catch bson errors
- Do we want a global static option to control rounding?
- No
- Does this need a DOCSP ticket?
- Yes
Acceptance Criteria
Implementation Requirements
- See
NODE-5546
Testing Requirements
- See
NODE-5546
Documentation Requirements
- Release notes
Follow Up Requirements
- N/A