[SERVER-44622] Implement BSON formatter Created: 14/Nov/19  Updated: 29/Oct/23  Resolved: 03/Dec/19

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.3.3

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

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Sprint: Dev Tools 2019-12-16
Participants:
Linked BF Score: 0

 Description   

The BSON formatter should do the following for integer types, unconditionally of the values:

C++ type BSON encoding Comment
int signed int32  
unsigned int signed int64 resulting type always the same, avoiding negative numbers
long signed int64 long on Windows is 32bit, always store as 64bit
unsigned long signed int64  
long long signed int64  
unsigned long long signed int64 large numbers will be stored as negative


 Comments   
Comment by Githook User [ 03/Dec/19 ]

Author:

{'email': 'henrik.edin@mongodb.com', 'name': 'Henrik Edin', 'username': 'henrikedin'}

Message: SERVER-44622 Add BSON formatter to logv2
Branch: master
https://github.com/mongodb/mongo/commit/543ffe5bbb3d37338ae2657abeb0956e454941f1

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