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

Arakoon collapse check triggers too fast #421

Closed
jtorreke opened this issue Jan 19, 2018 · 3 comments
Closed

Arakoon collapse check triggers too fast #421

jtorreke opened this issue Jan 19, 2018 · 3 comments
Assignees
Milestone

Comments

@jtorreke
Copy link
Member

The manual arakoon collapse script does not collapse when there are less than 10 tlx files. Collapsing is triggered every 24 hours. As soon as the threshold of 10 tlx files is reached, HC will trigger an alert saying there are too many tlogs and collapsing is not running properly as the oldest tlx is +3 days old (the cluster I've seen this on only generates 1 tlx per day, so the oldest tlx was 10 days old).

Can you raise the ceiling for this to 15 tlx files instead of 10 - which is identical to the threshold configured in the manual arakoon collapse script.

@JeffreyDevloo
Copy link
Contributor

We would better allow arguments to be passed within the cli. This way any customer can finetune it

@JeffreyDevloo
Copy link
Contributor

Fixed by #447
Packaged in: openvstorage-health-check_3.7.0-dev.1525250711.8ba3b6b-1_amd64.deb

Usage:

Usage: healthcheck_cli.py arakoon collapse-test [OPTIONS]

  Verifies collapsing has occurred for all Arakoons

Options:
  --max-collapse-age INTEGER  Maximum age in days for TLX
  --min-tlx-amount INTEGER    Minimum amount of TLX files before testing
  --help                      Show this message and exit.
root@jef-node01:~#

@JeffreyDevloo JeffreyDevloo self-assigned this May 2, 2018
@wimpers wimpers added this to the M milestone May 2, 2018
@JeffreyDevloo
Copy link
Contributor

Released in https://github.com/openvstorage/openvstorage-health-check/releases/tag/3.7.0
Packaged in openvstorage-health-check_3.7.0-1_amd64.deb

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

No branches or pull requests

3 participants