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 writing to database version file #2040

Merged
merged 1 commit into from
Dec 19, 2024
Merged

Fix writing to database version file #2040

merged 1 commit into from
Dec 19, 2024

Conversation

JamesHinshelwood
Copy link
Collaborator

Previously, we would append the current version to the end of the existing file, meaining subsequent runs would fail with an incompatible version. Instead, we truncate the file before writing.

Previously, we would append the current version to the end of the
existing file, meaining subsequent runs would fail with an
incompatible version. Instead, we truncate the file before writing.
Copy link
Contributor

🐰 Bencher Report

Branchfix-version
Testbedself-hosted
Click to view all benchmark results
BenchmarkLatencyBenchmark Result
nanoseconds (ns)
(Result Δ%)
Upper Boundary
nanoseconds (ns)
(Limit %)
process-empty/process-empty📈 view plot
🚷 view threshold
9,393,100.00
(+2.92%)
10,501,938.57
(89.44%)
produce-full/produce-full📈 view plot
🚷 view threshold
1,953,900,000.00
(-8.76%)
2,917,637,807.06
(66.97%)
🐰 View full continuous benchmarking report in Bencher

@JamesHinshelwood JamesHinshelwood added this pull request to the merge queue Dec 19, 2024
Merged via the queue into main with commit 0f0dd43 Dec 19, 2024
6 checks passed
@JamesHinshelwood JamesHinshelwood deleted the fix-version branch December 19, 2024 10:14
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.

None yet

2 participants