Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix UIUD byte ordering #122

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ancapdev
Copy link
Contributor

@ancapdev ancapdev commented Oct 19, 2024

Byte ordering in MongoDB has a messy history. The old binary subtype 0x03 had implementation defined byte ordering. Technically drivers are meant to expose configuration to deal with this. Subtype 0x04 implements byte order in accordance with RFC 4122, from most to least significant byte, e.g., canonical network byte order.

See https://github.com/mongodb/specifications/blob/master/source/bson-binary-uuid/uuid.md for details.

Copy link

codecov bot commented Oct 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.31%. Comparing base (7f6e9ed) to head (09f7840).
Report is 5 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #122      +/-   ##
==========================================
- Coverage   81.10%   80.31%   -0.79%     
==========================================
  Files          11       11              
  Lines        1646     1646              
==========================================
- Hits         1335     1322      -13     
- Misses        311      324      +13     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant