-
Type: Bug
-
Resolution: Works as Designed
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query
-
ALL
-
I've noticed couple of issues with mongo shell
1. mongo shell is serializing large NumberLong values (which are valid) incorrectly, and send wrong value to the server.
2. We are enforcing a limit on numbers that could fit into BSON NumberLong data type.
Both these issues seem to be because we are converting the number into double first and then interpreting it as 'int64_t'