public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Thomas Deutschmann <whissi@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Cc: whissi@gentoo.org, pr@gentoo.org
Subject: [gentoo-dev] [PATCHv2] 2021-11-23-mariadb-database-restore-maybe-required: add item
Date: Thu, 25 Nov 2021 19:26:53 +0100	[thread overview]
Message-ID: <20211125182653.4786-1-whissi@gentoo.org> (raw)
In-Reply-To: <20211125032133.6916-1-whissi@gentoo.org>

Bug: https://bugs.gentoo.org/825234
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
---
 ...adb-database-restore-maybe-required.en.txt | 45 +++++++++++++++++++
 1 file changed, 45 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..5d8afda
--- /dev/null
+++ b/2021-11-23-mariadb-database-restore-maybe-required/2021-11-23-mariadb-database-restore-maybe-required.en.txt
@@ -0,0 +1,45 @@
+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, keywords for dev-db/mariadb:10.6 were removed to
+address a file collision with dev-db/mariadb-connector-c. This
+unintentionally triggered a version downgrade for users who had
+successfully upgraded to dev-db/mariadb:10.6 already. [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 unintentionally downgraded your
+MariaDB instance afterwards during the time window when keywords were
+removed, you maybe experiencing different problems:
+
+At best, your unwanted 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
+
+Link 2: https://mariadb.com/kb/en/downgrading-between-major-versions-of-mariadb/
-- 
2.34.0



  parent reply	other threads:[~2021-11-25 18:27 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 ` Thomas Deutschmann [this message]
2021-11-25 18:38   ` [gentoo-dev] [PATCHv2] " 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211125182653.4786-1-whissi@gentoo.org \
    --to=whissi@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    --cc=pr@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox