[SERVER-57779] Encode doubles as scaled integer Created: 17/Jun/21  Updated: 29/Oct/23  Resolved: 16/Jul/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.1.0-rc0

Type: Task Priority: Major - P3
Reporter: Henrik Edin Assignee: Luke Bhan (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
Problem/Incident
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2021-07-12, Execution Team 2021-07-26
Participants:
Linked BF Score: 35

 Description   

Implement a test, encoder and decoder where we scale a double by multiplying with 1, 10, 100 or 10000 and rounding to the closest integer.

The tester should check if that encoding is possible when lossless decoding back to double where the integer is cast back to double and divided with the multiplier.



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 16/Jul/21 ]

Author:

{'name': 'lukebhan', 'email': 'luke.bhan@vanderbilt.edu', 'username': 'lukebhan'}

Message: SERVER-57779: Add double support for simple8b encoding
Branch: master
https://github.com/mongodb/mongo/commit/de1b65c09fef758506646cc27a005231e8a19c24

Comment by Githook User [ 16/Jul/21 ]

Author:

{'name': 'Uladzimir Makouski', 'email': 'uladzimir.makouski@mongodb.com', 'username': 'umakouski'}

Message: Revert "SERVER-57779: Add double support for simple8b encoding"

This reverts commit 8e3077326a9ce4ff6d446cf5a895c1348f702da5.
Branch: master
https://github.com/mongodb/mongo/commit/373d04fee8433ea2a748ecedfbcd78793d552b37

Comment by Githook User [ 15/Jul/21 ]

Author:

{'name': 'lukebhan', 'email': 'luke.bhan@vanderbilt.edu', 'username': 'lukebhan'}

Message: SERVER-57779: Add double support for simple8b encoding
Branch: master
https://github.com/mongodb/mongo/commit/8e3077326a9ce4ff6d446cf5a895c1348f702da5

Comment by Luke Bhan (Inactive) [ 15/Jul/21 ]

Final Patch: https://spruce.mongodb.com/version/60f0467d9ccd4e224676bb77/tasks?sorts=STATUS%3AASC%3BBASE_STATUS%3ADESC

Generated at Thu Feb 08 05:42:46 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.