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

RUST-1892 Fix timestamp [de]serialization on big-endian machines #465

Merged
merged 4 commits into from
Mar 26, 2024

Conversation

abr-egn
Copy link
Contributor

@abr-egn abr-egn commented Mar 25, 2024

RUST-1892

The actual bugfix is the changes in src/bson.rs; while I was debugging, I also noticed that Document::to_writer/from_reader had Yet Another implementation of [de]serialization logic, so I ripped that out in favor of the existing stuff.

@abr-egn
Copy link
Contributor Author

abr-egn commented Mar 25, 2024

Sidebar in case it's ever needed again: I used the instructions here to spin up a local docker container running on an emulated s390x:

docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
docker run --rm -it s390x/ubuntu bash

@abr-egn abr-egn merged commit 3fc1879 into mongodb:main Mar 26, 2024
11 checks passed
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.

2 participants