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

Recovery: only clear log on corruption #139

Closed
wants to merge 1 commit into from
Closed

Conversation

Tpt
Copy link
Contributor

@Tpt Tpt commented Oct 5, 2022

Avoids to drop all logs in case of e.g. an I/O error or a bug in the code.

It's already the behavior when opening the reader.

Avoids to drop all logs in case of e.g. an I/O error or a bug in the code.

It's already the behavior when opening the reader.
@Tpt
Copy link
Contributor Author

Tpt commented Oct 5, 2022

Bad idea: if the log file has been partially written we don't want to hard fail.

@Tpt Tpt closed this Oct 5, 2022
@Tpt Tpt deleted the clear-log branch October 5, 2022 15: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.

None yet

1 participant