grafana/conf
Matthew Jacobson 5a80962de9
Alerting: Add clean_upgrade config and deprecate force_migration (#78324)
* Alerting: Add clean_upgrade config and deprecate force_migration

Upgrading to UA and rolling back will no longer delete any data by default. 
Instead, each set of tables will remain unchanged when switching between 
legacy and UA. As such, the force_migration config has been deprecated 
and no extra configuration is required to roll back to legacy anymore.

If clean_upgrade is set to true when upgrading from legacy alerting to Unified
Alerting, grafana will first delete all existing Unified Alerting resources,
thus re-upgrading all organizations from scratch. If false or unset,
organizations that have previously upgraded will not lose their existing Unified
 Alerting data when switching between legacy and Unified Alerting.

 Similar to force_migration, it should be kept false when not needed as it may
 cause unintended data-loss if left enabled.

---------

Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
2023-11-30 11:01:11 -05:00
..
provisioning Alerting: Update provisioning to validate user-defined UID on create (#73793) 2023-09-08 15:09:35 -04:00
defaults.ini Alerting: Add clean_upgrade config and deprecate force_migration (#78324) 2023-11-30 11:01:11 -05:00
ldap_multiple.toml LDAP: small improvements to various LDAP parts (#17662) 2019-06-19 15:46:04 +02:00
ldap.toml LDAP: Allow setting minimum TLS version and accepted ciphers (#63646) 2023-02-28 12:13:46 +01:00
sample.ini Alerting: Add clean_upgrade config and deprecate force_migration (#78324) 2023-11-30 11:01:11 -05:00