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

[check-log] make handling a state file more safe #285

Merged
merged 9 commits into from
Apr 26, 2019
Merged

[check-log] make handling a state file more safe #285

merged 9 commits into from
Apr 26, 2019

Conversation

lufia
Copy link
Member

@lufia lufia commented Apr 24, 2019

I modified check-log-plugin to handle state file safely.

A file could be existed even if os.Stat() returns an error. Such as ENOMEM, EIO, or EINTR.

@lufia lufia marked this pull request as ready for review April 24, 2019 10:23
@lufia lufia merged commit e28b8fa into mackerelio:master Apr 26, 2019
@lufia lufia deleted the check-log-atomic branch April 26, 2019 07:15
@astj astj changed the title make handling a state file more safe [check-log] make handling a state file more safe May 8, 2019
@astj astj mentioned this pull request May 8, 2019
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.

2 participants