!aGqRytqbCECitOFhbt:nixos.org

Release Management

342 Members
25.11 "Xantusia" | https://nixos.github.io/release-wiki/Home.html92 Servers

Load older messages


SenderMessageTime
10 Nov 2023
@bendlas:matrix.orgbendlas
In reply to @raitobezarius:matrix.org
We would break anyone PGSQL 15 deployment
That would be unfortunate for sure. But the way the problem seems to present itself, it's a judgement call between breaking unstable users (with the option of re-upgrading the default or downgrading the folder) or breaking stable out-of-tree users (with no option of downgrading).
20:10:20
@raitobezarius:matrix.orgraitobezariusWell stable out of tree users have a downgrading option20:11:05
@raitobezarius:matrix.orgraitobezariusThey stay on 23.05 and figure out what they want to do20:11:10
@raitobezarius:matrix.orgraitobezariusPlus they have a proper warning20:11:17
@raitobezarius:matrix.orgraitobezariusWhereas unstable users doesn't have any option to downgrade because it will silently break the postgresql.service20:11:41
@bendlas:matrix.orgbendlasdowngrading within the release, but point taken20:11:51
@bendlas:matrix.orgbendlasWhat actually is the behavior of postgres when started on a folder that's "too new"? Maybe this condition could be checked for, if not at build time, ....20:14:09
@hexa:lossy.networkhexaso, what I read is that downgrades are not supported by postgresql20:14:23
@gary.garyguo.net:lpc.events@gary.garyguo.net:lpc.events joined the room.20:14:27
@hexa:lossy.networkhexaso people who are on 15 now and want back to 14 would need to dump and restore20:14:36
@gary.garyguo.net:lpc.events@gary.garyguo.net:lpc.eventsApologize for upgrading postgres version... I migrated from 14 to 15 and everything worked fine, didn't know that it'll break new installations20:16:00
@gary.garyguo.net:lpc.events@gary.garyguo.net:lpc.events
In reply to @raitobezarius:matrix.org
This is orthogonal to the situation
How about remove the default if stateVersion is 23.11, but keep it for older ones?
20:18:42
@hexa:lossy.networkhexaMy problem with that PR is that it didn't account for the changelog of postgresl 15. This goes well 500 times and then 1 time it will bite you.20:19:28
@raitobezarius:matrix.orgraitobezarius
In reply to @gary.garyguo.net:lpc.events
Apologize for upgrading postgres version... I migrated from 14 to 15 and everything worked fine, didn't know that it'll break new installations
Well, it happens but I think now we will make sure that postgres upgrades are blocked on a code owner who is a maintainer like systemd kinda
20:19:59
@hexa:lossy.networkhexareview requests for modules and tests 😕 20:20:39
@raitobezarius:matrix.orgraitobezariusAnd we should definitely enforce some passthru tests for postgresql20:20:52
@raitobezarius:matrix.orgraitobezariusthat are related to our ensure options20:20:57
@raitobezarius:matrix.orgraitobezarius
In reply to @hexa:lossy.network
review requests for modules and tests 😕
Not sure it would have produced anything tbh
20:21:10
@raitobezarius:matrix.orgraitobezarius
      tests = {
        postgresql = nixosTests.postgresql-wal-receiver.${thisAttr};
        pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
      } // lib.optionalAttrs jitSupport {
        postgresql-jit = nixosTests.postgresql-jit.${thisAttr};
      };
    } // lib.optionalAttrs jitSupport {
      inherit (llvmPackages) llvm;

20:21:33
@raitobezarius:matrix.orgraitobezariusthis is not enough20:21:35
@hexa:lossy.networkhexamix in some postgres consumers from the tested set20:22:14
@raitobezarius:matrix.orgraitobezariusyep20:22:17
@raitobezarius:matrix.orgraitobezariusBut this is remediation for the future20:22:22
@raitobezarius:matrix.orgraitobezariusRight now, I would like to focus on short term remediations20:22:29
@hexa:lossy.networkhexaagreed.20:22:32
@raitobezarius:matrix.orgraitobezariusYep but this is our strength20:22:49
@raitobezarius:matrix.orgraitobezariusIf we ship a proper thing, we can always backport more features later on20:22:58
@bendlas:matrix.orgbendlasIt is a strength, being able to avoid collisions without holding up the world is a lot stronger though.20:25:36
@gary.garyguo.net:lpc.events@gary.garyguo.net:lpc.events
In reply to @gary.garyguo.net:lpc.events
How about remove the default if stateVersion is 23.11, but keep it for older ones?
raitobezarius any thoughts on this approach? will only break existing unstable users, but it'll be a very loud breakage instead of a silent one.
20:26:37
@raitobezarius:matrix.orgraitobezarius
In reply to @gary.garyguo.net:lpc.events
raitobezarius any thoughts on this approach? will only break existing unstable users, but it'll be a very loud breakage instead of a silent one.
how does that change the problem of downgrading postgres?
20:26:56

Show newer messages


Back to Room ListRoom Version: 6