Skip to content

fix(ansible): drop no-op zpool item and filter - #2322

Merged
mmlb merged 1 commit into
developfrom
martonboros/psql-1548-followup-drop-noop-zpool-item
Jul 29, 2026
Merged

fix(ansible): drop no-op zpool item and filter#2322
mmlb merged 1 commit into
developfrom
martonboros/psql-1548-followup-drop-noop-zpool-item

Conversation

@brainrake

@brainrake brainrake commented Jul 28, 2026

Copy link
Copy Markdown
Collaborator

What

Drop the zpool: zsmalloc loop item entirely — no guard needed.

Why

@brainrake raised in #2321 (comment) if the default already matches the value we set, we should remove the param rather than conditionally skip it.

Confirmed: zsmalloc has been zswap's default allocator since kernel 6.3 (patch, Sept 2023). Ubuntu noble has always shipped >= 6.8, so echo zsmalloc > .../parameters/zpool was a no-op.

Related: PSQL-1548

@brainrake
brainrake requested review from a team as code owners July 28, 2026 12:55
@brainrake
brainrake requested a review from mmlb July 28, 2026 12:55
@brainrake
brainrake marked this pull request as draft July 28, 2026 14:48
zsmalloc has been zswap's default allocator since kernel 6.3 (Sept
2023), and Ubuntu noble has always shipped >= 6.8, so explicitly
writing zpool=zsmalloc was a no-op on every kernel this fleet has
run. Kernels >= 6.18 dropped the param entirely.

Drop the item instead of guarding it, since setting it never did
anything. No guard needed for the remaining params either: the
original failure log shows compressor, max_pool_percent, and enabled
all wrote successfully on the newest kernel observed (7.0.0-1009-aws)
-- zpool was the only one that failed.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@brainrake
brainrake force-pushed the martonboros/psql-1548-followup-drop-noop-zpool-item branch from fe3170c to 902e411 Compare July 28, 2026 15:38
@brainrake
brainrake marked this pull request as ready for review July 28, 2026 15:39
@brainrake
brainrake enabled auto-merge July 28, 2026 15:40
@brainrake

Copy link
Copy Markdown
Collaborator Author

@mmlb this is a better fix than #2321

@brainrake brainrake changed the title fix(ansible): drop no-op zpool loop item from zswap task fix(ansible): drop no-op zpool item and filter Jul 28, 2026
@brainrake
brainrake added this pull request to the merge queue Jul 29, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to no response for status checks Jul 29, 2026
@mmlb

mmlb commented Jul 29, 2026

Copy link
Copy Markdown
Collaborator

lgtm

@mmlb
mmlb added this pull request to the merge queue Jul 29, 2026
Merged via the queue into develop with commit 7331e01 Jul 29, 2026
44 checks passed
@mmlb
mmlb deleted the martonboros/psql-1548-followup-drop-noop-zpool-item branch July 29, 2026 14:47
hunleyd added a commit that referenced this pull request Aug 8, 2026
…c-spool-path-defaults-onto-the-10gb-root-volume

* origin/develop: (26 commits)
  Lots of bootstrap script clean ups (#2326)
  ci: Fix nix-build PUSH_TO_CACHE (#2345)
  ci/nix-install-ephemeral: Drop sticky disk config (#2346)
  chore: bump postgres_release to cut fresh AMIs (includes #2334) (#2349)
  fix(multigres): stop base config data_directory from overriding pooler data dir (#2344)
  fix(cron): remove unnecessary TRIGGER grant on cron.job_run_details from postgres (#2334)
  chore: enable extension version restriction (warn) and cut AMIs (#2315)
  feat(nix): add site-env packages for rolling instance updates (#2283)
  ci: resolve package install sha from a flake input override (#2327)
  fix(multigres): remove dangling wal-g include from postgresql.conf (#2338)
  fix: Allow test CI pipelines to use old Int CA access. For staging only (#2330)
  chore(nix): remove maintainers field from package definitions (#2280)
  chore: bump multigres to b713432 (#2323)
  ci: Use arm-native-runner for kvm builds on aarch64-linux (#2319)
  Whole lot of ansible clean up (#2272)
  fix(ansible): drop no-op zpool loop item from zswap task (#2322)
  ci: Fix dockerhub-release-matrix matrix generation (#2320)
  chore: bump pgctld (#2318)
  fix(ansible): skip zswap params the kernel does not expose (#2321)
  feat(docker): add Dockerfile-supabase base image and rewrite Dockerfile-multigres as layered image (#2160)
  ...
hunleyd added a commit that referenced this pull request Aug 8, 2026
…nix-pkg-for-pgbackrest

* origin/develop: (36 commits)
  Lots of bootstrap script clean ups (#2326)
  ci: Fix nix-build PUSH_TO_CACHE (#2345)
  ci/nix-install-ephemeral: Drop sticky disk config (#2346)
  chore: bump postgres_release to cut fresh AMIs (includes #2334) (#2349)
  fix(multigres): stop base config data_directory from overriding pooler data dir (#2344)
  fix(cron): remove unnecessary TRIGGER grant on cron.job_run_details from postgres (#2334)
  chore: enable extension version restriction (warn) and cut AMIs (#2315)
  feat(nix): add site-env packages for rolling instance updates (#2283)
  ci: resolve package install sha from a flake input override (#2327)
  fix(multigres): remove dangling wal-g include from postgresql.conf (#2338)
  fix: Allow test CI pipelines to use old Int CA access. For staging only (#2330)
  chore(nix): remove maintainers field from package definitions (#2280)
  chore: bump multigres to b713432 (#2323)
  ci: Use arm-native-runner for kvm builds on aarch64-linux (#2319)
  Whole lot of ansible clean up (#2272)
  fix(ansible): drop no-op zpool loop item from zswap task (#2322)
  ci: Fix dockerhub-release-matrix matrix generation (#2320)
  chore: bump pgctld (#2318)
  fix(ansible): skip zswap params the kernel does not expose (#2321)
  feat(docker): add Dockerfile-supabase base image and rewrite Dockerfile-multigres as layered image (#2160)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants