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

logrotate: don't exit at non-running instance #1006

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

elhimov
Copy link
Contributor

@elhimov elhimov commented Nov 14, 2024

Just warn that the instance is not running and continue (like tt stop or tt kill do).

Closes #774

@elhimov elhimov force-pushed the elhimov/gh-774-logrotate-exits-at-first-non-running-instance branch from 55bb68e to 2aeec82 Compare November 14, 2024 18:48
@oleg-jukovec oleg-jukovec added the full-ci Enables full ci tests label Nov 15, 2024
@elhimov elhimov force-pushed the elhimov/gh-774-logrotate-exits-at-first-non-running-instance branch 2 times, most recently from 7758f96 to f99a646 Compare November 25, 2024 12:14
- Added tests for the mentioned commands that check them against
  multi-instance and cluster (tarantool v3) apps
- Implemented checking of various targets against various initial states
- Careful checking of the command output and instances statuses (all
  instances are verified, not only related to involved targets)
For multi-instance applications no need to have instance scripts.
For tarantool3-based applications no need to have cluster config.

Closes #880
Just warn that the instance is not running and continue (like `tt stop`
or `tt kill` do)

Closes #774
@elhimov elhimov force-pushed the elhimov/gh-774-logrotate-exits-at-first-non-running-instance branch from f99a646 to 573600a Compare November 27, 2024 00:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
full-ci Enables full ci tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

tt logrotate does not work for started instances if others are stopped
2 participants