Skip to content

Conversation

@jchancojr
Copy link
Contributor

What kind of change does this PR introduce?

updates initdb calls with checksum flag

What is the current behavior?

missing calls from ansible playbook with checksum flag

What is the new behavior?

updated initdb flags for checksums

Additional context

none

@jchancojr jchancojr marked this pull request as ready for review November 18, 2025 18:25
@jchancojr jchancojr requested review from a team as code owners November 18, 2025 18:25
@jchancojr jchancojr marked this pull request as draft November 18, 2025 18:40
@jchancojr
Copy link
Contributor Author

✅ Tested pause/restore on local infra with supabase-postgres-15.14.1.052-INDATA-211 AMI.

⏱️ Pending upgrade test

@jchancojr jchancojr marked this pull request as ready for review December 10, 2025 15:06
@hunleyd hunleyd requested a review from Copilot December 10, 2025 15:59
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds the --data-checksums flag to PostgreSQL initdb commands in the Ansible playbook to enable data page checksums for data corruption detection.

Key Changes:

  • Added --data-checksums flag to both initdb command variations (standard and ICU locale-enabled)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Contributor

@hunleyd hunleyd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think you also need to adjust some additional files like ansible/files/admin_api_scripts/pg_upgrade_scripts/initiate.sh, nix/init.sh, nix/docker/init.sh.in, nix/checks.nix. There are potentially others found by using rg initdb at the top of the repo. @samrose can probably confirm if the others need altered once you have a complete list

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