Skip to content

Commit 2f91345

Browse files
committed
update legacy charm warning
1 parent aedecc3 commit 2f91345

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

docs/explanation/legacy-charm.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,12 @@ The "modern" charm provides temporary support for the legacy interfaces:
3030

3131
* **proper migration**: migrate the application to the new interface "[`mysql_client`](https://github.com/canonical/charm-relation-interfaces)". The application will connect MySQL using "[`data_interfaces`](https://charmhub.io/data-platform-libs/libraries/data_interfaces)" library from "[`data-platform-libs`](https://github.com/canonical/data-platform-libs/)" via endpoint `database`.
3232

33-
**Warning**: NO in-place upgrades possible! Legacy charm cannot be upgraded to Operator-framework-based one. To move DB data, the second/modern DB application must be launched nearby and data should be copied from "legacy" application to the "modern" one. Canonical Data Platform team will prepare the copy&paste guide. Please [contact us](/reference/contacts) if you need migration instructions.
33+
```{caution}
34+
In-place upgrades from the legacy charm to the modern, Ops-based charm are **not supported**.
35+
36+
37+
To migrate database data, the legacy and modern MySQL charms must both be running simultaneously. The data can then be copied from the legacy application to the modern one. Please [contact us](/reference/contacts) if you need help with data migration.
38+
```
3439

3540
## How to deploy old "legacy" mysql charm
3641

0 commit comments

Comments
 (0)