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

Use mainline cuid instead of our fork #3189

Merged
merged 1 commit into from Sep 14, 2022

Conversation

pimeys
Copy link
Contributor

@pimeys pimeys commented Sep 14, 2022

We forked it in 2019 to fix two issues in cuid 0.1 we needed for releasing Prisma 2.0. Both of these issues are fixed ages ago in the mainline cuid. 1.2 gives always the correct block sizes for counters, always uses milliseconds for timestamps and does not depend on nightly Rust.

The crate depends on newer hostname crate, that resolves hostnames correctly on modern Windows platforms.

Closes: prisma/prisma#14870

We forked it in 2019 to fix two issues in cuid 0.1 we needed for
releasing Prisma 2.0. Both of these issues are fixed ages ago in the
mainline cuid. 1.2 gives always the correct block sizes for counters,
always uses milliseconds for timestamps and does not depend on nightly
Rust.

The crate depends on newer hostname crate, that resolves hostnames
correctly on modern Windows platforms.
@pimeys pimeys requested a review from a team as a code owner September 14, 2022 15:15
@pimeys pimeys added this to the 4.4.0 milestone Sep 14, 2022
Copy link
Contributor

@garrensmith garrensmith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 once tests all pass. Maybe put a reminder and if we haven't rolled back to our own repo in a one or so to archive it

@pimeys pimeys merged commit 2404d47 into main Sep 14, 2022
@pimeys pimeys deleted the query-engine/update-to-mainline-cuid branch September 14, 2022 16:29
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.

sqlite:cuid():called Result::unwrap() on an Err value: FingerprintError("Could not retrieve hostname")
2 participants