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

Limit commands outside of maintenance hours #31101

Open
nickvergessen opened this issue Feb 10, 2022 · 3 comments
Open

Limit commands outside of maintenance hours #31101

nickvergessen opened this issue Feb 10, 2022 · 3 comments
Labels
1. to develop Accepted and waiting to be taken care of enhancement feature: occ

Comments

@nickvergessen
Copy link
Member

How to use GitHub

  • Please use the 👍 reaction to show that you are interested into the same feature.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Is your feature request related to a problem? Please describe.
There are occ commands which are very disruptive and can even create downtimes for minutes and hours.

Describe the solution you'd like
Since #30945 a "maintenance window" can be configured.

When a disruptive command is being executed outside of the maintenance hours we should highlight that and ask for a quick confirmation first.

The following commands come to mind:

  • app:update
  • db:add-missing-columns
  • db:add-missing-indices
  • db:add-missing-primary-keys
  • db:convert-filecache-bigint
  • db:convert-mysql-charset
  • db:convert-type
  • encryption:decrypt-all
  • encryption:encrypt-all
  • maintenance:repair --include-expensive
@nickvergessen nickvergessen added enhancement 1. to develop Accepted and waiting to be taken care of feature: occ labels Feb 10, 2022
@solracsf

This comment was marked as resolved.

@nickvergessen

This comment was marked as resolved.

@colttt
Copy link

colttt commented Feb 10, 2022

#29646 is somehow related

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. to develop Accepted and waiting to be taken care of enhancement feature: occ
Projects
None yet
Development

No branches or pull requests

3 participants