public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [PATCH] 2021-11-23-mariadb-database-restore-maybe-required: add item
@ 2021-11-25  3:21 Thomas Deutschmann
  2021-11-25  3:49 ` Mike Gilbert
                   ` (4 more replies)
  0 siblings, 5 replies; 26+ messages in thread
From: Thomas Deutschmann @ 2021-11-25  3:21 UTC (permalink / raw
  To: gentoo-dev; +Cc: whissi, pr

Bug: https://bugs.gentoo.org/825234
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
---
 ...adb-database-restore-maybe-required.en.txt | 46 +++++++++++++++++++
 1 file changed, 46 insertions(+)
 create mode 100644 2021-11-23-mariadb-database-restore-maybe-required/2021-11-23-mariadb-database-restore-maybe-required.en.txt

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
new file mode 100644
index 0000000..c4a698e
--- /dev/null
+++ b/2021-11-23-mariadb-database-restore-maybe-required/2021-11-23-mariadb-database-restore-maybe-required.en.txt
@@ -0,0 +1,46 @@
+Title: Full MariaDB database restore maybe required
+Author: Thomas Deutschmann <whissi@gentoo.org>
+Posted: 2021-11-23
+Revision: 1
+News-Item-Format: 2.0
+Display-If-Installed: dev-db/mariadb
+Display-If-Installed: sys-cluster/galera
+
+On 2021-11-21, a member of the QA project accidentially de-keyworded
+MariaDB 10.6 to address a file collision, users, who also had latest
+dev-db/mariadb-connector-c installed, experienced (NOTE: The default
+MySQL connector in Gentoo Linux is provided by
+dev-db/mysql-connector-c) [Link 1].
+
+However, downgrades are not supported in MySQL/MariaDB [Link 2].
+
+In case you already fully upgraded to MariaDB 10.6 (which includes
+executing mysql_upgrade command) and forcefully downgraded your
+MariaDB instance afterwards during the time window when keywords were
+removed, you maybe experiencing different problems:
+
+At best, your forcefully downgraded MariaDB instance prevented startup
+so all you have to do is upgrade to MariaDB 10.6 again to resume
+services.
+
+In case previous MariaDB version was able to start, you are encouraged
+to do a full backup as soon as possible using mysqldump command and
+manually restore each database ("logical downgrade") to prevent any
+data corruption.
+
+Depending on used feature set and from which version you upgraded,
+it is maybe required to do a full restore from a previous backup before
+MariaDB 10.6 upgrade to restore services and prevent any data loss or
+future runtime errors.
+
+In case you are using MariaDB in a cluster and/or Galera setup you
+probably have to rebuild the entire cluster in case the upgrade to
+MariaDB 10.6 was already replicated (using pt-table-checksum from
+dev-db/percona-toolkit can help you to validate your cluster).
+
+Keep in mind that due to the forced downgraded, point-in-time recovery
+may not be available to the extent that you are used to.
+
+Link 1: https://bugs.gentoo.org/825234#c8
+
+Link 2: https://mariadb.com/kb/en/downgrading-between-major-versions-of-mariadb/
-- 
2.34.0



^ permalink raw reply related	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2021-11-26 15:35 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-25  3:21 [gentoo-dev] [PATCH] 2021-11-23-mariadb-database-restore-maybe-required: add item Thomas Deutschmann
2021-11-25  3:49 ` Mike Gilbert
2021-11-25  8:55   ` Marek Szuba
2021-11-25  9:39   ` Ulrich Mueller
2021-11-25 13:59   ` Thomas Deutschmann
2021-11-25 14:20     ` Mike Gilbert
2021-11-25 15:50       ` Pacho Ramos
2021-11-25 16:21         ` Piotr Karbowski
2021-11-25 16:47           ` David Seifert
2021-11-25 17:01             ` Piotr Karbowski
2021-11-25 17:07               ` Thomas Deutschmann
2021-11-26  0:55                 ` Sam James
2021-11-26 15:34                   ` Ionen Wolkens
2021-11-25 17:14               ` Mike Gilbert
2021-11-25 22:03               ` James Le Cuirot
2021-11-26  0:47     ` Sam James
2021-11-25 10:11 ` Georgy Yakovlev
2021-11-25 13:37 ` [gentoo-dev] " Thomas Deutschmann
2021-11-25 13:46   ` Joonas Niilola
2021-11-26  0:44   ` [gentoo-dev] " Sam James
2021-11-25 18:26 ` [gentoo-dev] [PATCHv2] " Thomas Deutschmann
2021-11-25 18:38   ` Mike Gilbert
2021-11-25 20:54   ` [gentoo-dev] [PATCHv3] " Thomas Deutschmann
2021-11-26 14:00     ` Joonas Niilola
2021-11-26 14:03       ` Ulrich Mueller
2021-11-26  0:49 ` [gentoo-dev] [PATCH] " Sam James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox