Skip to content

option to skip CYCLE sequences in action sequence #134

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

Merged
merged 1 commit into from
Dec 4, 2017

Conversation

moench-tegeder
Copy link
Contributor

This adds a new option "--skipcycled" which forces sequences
with the CYCLE option to be reported at 0% usage, thus not creating
WARNINGs and CRITICALs for these sequences. The default is still
the old behaviour (no special treatment for CYCLE sequences).

This adds a new option "--skipcycled" which forces sequences
with the CYCLE option to be reported at 0% usage, thus not creating
WARNINGs and CRITICALs for these sequences. The default is still
the old behaviour (no special treatment for CYCLE sequences).
@moench-tegeder
Copy link
Contributor Author

Rationale: sequences are by default NO CYCLE, if a sequence is set to CYCLE it was done by the developer's/DBA's explicit statement. Let's assume they knew what they were doing and give them an option to not have false alarms when a sequence approaches it's cycling point. The default NO CYCLE sequences are still warned about. Also, the default behaviour of this check hasn't changed (no surprises).

Added docs to "--man" and amended the tests (passing on 9.6 and 10).
While here, uppercased all NUMERICs in the statements I touched for consistence.

@machack666 machack666 merged commit b17775b into bucardo:master Dec 4, 2017
@machack666
Copy link
Collaborator

I agree with the logic and approach; looks good here; there was a minor comment spelling introduced which I will fixup after.

Thanks!

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
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy