Re: update F34 - f35 postgresql module issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



V Sat, Oct 23, 2021 at 11:40:25PM +0200, Peter Boy napsal(a):
> I just tested the dnf upgrade procedure on one of our standby backup systems
> which happens to have the F34 postgresql module version 9.6 installed. 
> 
> The module was overwritten with version 13 without warning.

I guess DNF reported "disabling postgresql:9.6 stream" among all packages to
upgrade and you had to approve the DNF transaction explicitly. If it is not
that case, then report a bug against DNF. I think DNF shuld not silently
uninstall a module stream.

However, if PostgreSQL maintainers did not provide postgresql:9.6 stream for
Fedora 35, then DNF has no much options except of aborting the upgrade. Modules
are always built for a specific Fedora release and are not portable to another
release.

> Given the data incompatibility, this is a very unattractive practice. As far
> as I remember, one could rely on the fact that with an upgrade the
> respective module was updated in the installed version. 
> 
I don't understand what you remember. In Fedora, there is currently no
mechanism for transitioning between module streams. E.g. from postgresql:9.6 to
postgresql:13.

The mechanism
<https://fedoraproject.org/wiki/Changes/Module_Obsoletes_and_EOL> was planned
for Fedora 35, but it was postponed to Fedora 36. When the machanism is
implemented, then DNF will advertise that postgresql:9.6 ends its life on
2021-12-01 and the users are advised to migrate to postgresql:10. Maybe DNF
will offer switching from the old stream to the new stream during an upgrade
transaction. However, the mechanism won't provide any software-specific
migration tools, like convertingdatabase files from one format to another one.

Nowdays the end-of-life date can be obtained at
<https://pdc.fedoraproject.org/rest_api/v1/component-branch-slas/?branch_type=module&global_component=postgresql&branch=9.6>
web page.

> Fedora 35 comes obviously without Postgres module 9.6.

Yes, I confirm it. It only delivers PostgresSQL 10 to 14.

> Unfortunately, the release change set doesn’t mention that. We need a clear
> indication and warning of this. 
>
If you believe that removal of a postgresql stream from a new Fedora release
is an important change and suitable for Fedora release notes, that file a bug
against that module stream
<https://bugzilla.redhat.com/buglist.cgi?component=postgresql&lproduct=Fedora%20Modules&query_format=advanced>.
I cannot see any change like that on Fedora 35's list of changes
<https://fedoraproject.org/wiki/Releases/35/ChangeSet>.

Also the maintainers could build postgresql:9.6 for F35 and support it there
until 2021-12-01. Maybe they only forgot to build it there.

-- Petr

Attachment: signature.asc
Description: PGP signature

_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux