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

sign: do not rename across device boundaries #627

Merged
merged 1 commit into from
Aug 22, 2023
Merged

Conversation

kaniini
Copy link
Contributor

@kaniini kaniini commented Aug 22, 2023

Previously, we used os.CreateTemp to create the new index in /tmp, but renaming from tmpfs to on-disk storage cannot work due to being on different filesystems.

Previously, we used os.CreateTemp to create the new index in /tmp, but
renaming from tmpfs to on-disk storage cannot work due to being on
different filesystems.

Signed-off-by: Ariadne Conill <ariadne@dereferenced.org>
@kaniini kaniini requested a review from a team as a code owner August 22, 2023 22:15
@kaniini kaniini requested review from jdolitsky and removed request for a team August 22, 2023 22:15
@kaniini kaniini merged commit 9e22bc1 into main Aug 22, 2023
@kaniini kaniini deleted the fix/cross-device-rename branch August 22, 2023 22:16
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