1 |
Bug: https://bugs.gentoo.org/825234 |
2 |
Signed-off-by: Thomas Deutschmann <whissi@g.o> |
3 |
--- |
4 |
...adb-database-restore-maybe-required.en.txt | 46 +++++++++++++++++++ |
5 |
1 file changed, 46 insertions(+) |
6 |
create mode 100644 2021-11-23-mariadb-database-restore-maybe-required/2021-11-23-mariadb-database-restore-maybe-required.en.txt |
7 |
|
8 |
diff --git a/2021-11-23-mariadb-database-restore-maybe-required/2021-11-23-mariadb-database-restore-maybe-required.en.txt b/2021-11-23-mariadb-database-restore-maybe-required/2021-11-23-mariadb-database-restore-maybe-required.en.txt |
9 |
new file mode 100644 |
10 |
index 0000000..c4a698e |
11 |
--- /dev/null |
12 |
+++ b/2021-11-23-mariadb-database-restore-maybe-required/2021-11-23-mariadb-database-restore-maybe-required.en.txt |
13 |
@@ -0,0 +1,46 @@ |
14 |
+Title: Full MariaDB database restore maybe required |
15 |
+Author: Thomas Deutschmann <whissi@g.o> |
16 |
+Posted: 2021-11-23 |
17 |
+Revision: 1 |
18 |
+News-Item-Format: 2.0 |
19 |
+Display-If-Installed: dev-db/mariadb |
20 |
+Display-If-Installed: sys-cluster/galera |
21 |
+ |
22 |
+On 2021-11-21, a member of the QA project accidentially de-keyworded |
23 |
+MariaDB 10.6 to address a file collision, users, who also had latest |
24 |
+dev-db/mariadb-connector-c installed, experienced (NOTE: The default |
25 |
+MySQL connector in Gentoo Linux is provided by |
26 |
+dev-db/mysql-connector-c) [Link 1]. |
27 |
+ |
28 |
+However, downgrades are not supported in MySQL/MariaDB [Link 2]. |
29 |
+ |
30 |
+In case you already fully upgraded to MariaDB 10.6 (which includes |
31 |
+executing mysql_upgrade command) and forcefully downgraded your |
32 |
+MariaDB instance afterwards during the time window when keywords were |
33 |
+removed, you maybe experiencing different problems: |
34 |
+ |
35 |
+At best, your forcefully downgraded MariaDB instance prevented startup |
36 |
+so all you have to do is upgrade to MariaDB 10.6 again to resume |
37 |
+services. |
38 |
+ |
39 |
+In case previous MariaDB version was able to start, you are encouraged |
40 |
+to do a full backup as soon as possible using mysqldump command and |
41 |
+manually restore each database ("logical downgrade") to prevent any |
42 |
+data corruption. |
43 |
+ |
44 |
+Depending on used feature set and from which version you upgraded, |
45 |
+it is maybe required to do a full restore from a previous backup before |
46 |
+MariaDB 10.6 upgrade to restore services and prevent any data loss or |
47 |
+future runtime errors. |
48 |
+ |
49 |
+In case you are using MariaDB in a cluster and/or Galera setup you |
50 |
+probably have to rebuild the entire cluster in case the upgrade to |
51 |
+MariaDB 10.6 was already replicated (using pt-table-checksum from |
52 |
+dev-db/percona-toolkit can help you to validate your cluster). |
53 |
+ |
54 |
+Keep in mind that due to the forced downgraded, point-in-time recovery |
55 |
+may not be available to the extent that you are used to. |
56 |
+ |
57 |
+Link 1: https://bugs.gentoo.org/825234#c8 |
58 |
+ |
59 |
+Link 2: https://mariadb.com/kb/en/downgrading-between-major-versions-of-mariadb/ |
60 |
-- |
61 |
2.34.0 |