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

Reduce logging intensity during disk disconnection #420

Closed
ikopylov opened this issue Jan 28, 2022 · 0 comments · Fixed by #422
Closed

Reduce logging intensity during disk disconnection #420

ikopylov opened this issue Jan 28, 2022 · 0 comments · Fixed by #422
Assignees

Comments

@ikopylov
Copy link
Member

Currently, for every PUT request for that disk the following log with ERROR level is written:
2022-01-28 19:20:56 bob_backend::core:245 ERROR PUT[D7A6440000000000][disk8] local failed: Error { ctx: Failed("Error {\n ctx: DCIsNotAvailable,\n}") }

This message should be written on DEBUG level.
And at the ERROR level, the message should accumulate the number of errors for each disk and write it every 5 seconds. Something like:
2022-01-28 19:20:56 bob_backend::core:245 ERROR PUT failed 100500 times on disk8. Error { ctx: Failed("Error {\n ctx: DCIsNotAvailable,\n}") }

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

Successfully merging a pull request may close this issue.

2 participants