-
Notifications
You must be signed in to change notification settings - Fork 175
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
Feature/add wal utilization check #178
base: master
Are you sure you want to change the base?
Feature/add wal utilization check #178
Conversation
…he --lsfunc option with postgres databases >= 9.6
…ata from previous tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the contribution!
This looks good to me. I just did a code read.
@hasegeli In addition to reading it over, would you try it out too and see what you think?
I ran the tests, and got a failure:
|
Hi, I have also run all the tests in a fork of the travis-CI and all tests that are working without the change are fine. |
Added a check to monitor wal file utilization in a given past period of time.
The check is based on the modification time of the WAL files and is therefore imprecise within the scope of the WAL segment size, but should be sufficient to monitor storage consumption.