Gentoo Archives: gentoo-dev

From: Sam James <sam@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH] 2021-11-23-mariadb-database-restore-maybe-required: add item
Date: Fri, 26 Nov 2021 00:45:04
Message-Id: 3646DFA1-272D-4C6A-82B9-26889E9A1E79@gentoo.org
In Reply to: [gentoo-dev] Re: [PATCH] 2021-11-23-mariadb-database-restore-maybe-required: add item by Thomas Deutschmann
1 > On 25 Nov 2021, at 13:37, Thomas Deutschmann <whissi@g.o> wrote:
2 > For the records:
3 > I hope that this news item won't get delayed by the recent ComRel bug someone filled against me regarding this news item.
4
5 No need to reference that here. Please keep that to e.g. -core.
6
7 > While we often rush with news items and don't wait the 72h listed in GLEP 42, this one should go out as soon as possible.
8 > Why?
9 > Because every minute we wait will increase the chance that someone affected by this will be unable to recover. This is (for those not familiar with database engines) because bin logs are about to expire (getting overwritten) in typical setups after 3-5 days. And in case someone will learn about this not before next week and has to do a full restore, that user will lose about one week of data...
10
11 While it seems like the news item may be worth pursuing out of caution, I would expect people operating sophisticated database setups to do at least one of:
12 - slot the DB version in their world file;
13 - mask newer versions and unmask when ready;
14 - upgrade all machines to the same version at the same time (for clustering);
15 - read the world upgrade output and not permit the downgrade?
16
17 I also echo the other requests to add a downgrade warning based on ${REPLACING_VERSIONS} given this is a
18 common issue with databases.
19
20 Also, while this does not affect the rationale for this news item, I would note that I would expect
21 anybody using Gentoo in production to be using stable or at the very least to have backups
22 of a server running on ~arch that they're upgrading without reading the upgrades/downgrades
23 carefully for software they rely on.
24
25 thanks,
26 sam

Attachments

File name MIME type
signature.asc application/pgp-signature