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

Catalog and History file data corruption #321

polyvertex opened this Issue Sep 25, 2018 · 1 comment


None yet
1 participant

polyvertex commented Sep 25, 2018

When Keypirinha writes the .catalog or .history file, it should use the "swap method" by first creating a file with a different name, generating its content and fully writing it. Only then, the original file is overwritten with the new content (i.e. move operation).

This limits the risk of having corrupted data in case writing is interrupted.

Ref: initial chat


This comment has been minimized.

Show comment
Hide comment

polyvertex Oct 9, 2018


Implemented in v2.20


polyvertex commented Oct 9, 2018

Implemented in v2.20

@polyvertex polyvertex closed this Oct 9, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment