Skip to content

postgres setup enhancements#1599

Merged
nimrod-becker merged 1 commit intonoobaa:5.18from
dannyzaken:danny-5.18
May 8, 2025
Merged

postgres setup enhancements#1599
nimrod-becker merged 1 commit intonoobaa:5.18from
dannyzaken:danny-5.18

Conversation

@dannyzaken
Copy link
Member

@dannyzaken dannyzaken commented May 8, 2025

Explain the changes

  • mount a memory based volumen for /dev/shm
  • extend terminationGracePeriodSeconds to 70 seconds
  • configure pg_stat_statements.track = all to track all types of queries when enabled.

Issues: Fixed #xxx / Gap #xxx

  1. https://issues.redhat.com/browse/DFBUGS-2458

Testing Instructions:

  1. after upgrade, check noobaa-db-pg statefulset and verify the following:
  • There is a volume and volume mounts for /dev/shm

  • terminationGracePeriodSeconds is 70

  • check that the configmap noobaa-postgres-config contains the line pg_stat_statements.track = all

  • Doc added/updated

  • Tests added

- mount a memory based volumen for `/dev/shm`
- extend `terminationGracePeriodSeconds` to 70 seconds
- configure `pg_stat_statements.track = all` to track all types of queries when enabled.

Signed-off-by: Danny Zaken <dannyzaken@gmail.com>
@nimrod-becker nimrod-becker reopened this May 8, 2025
@nimrod-becker nimrod-becker merged commit 8124838 into noobaa:5.18 May 8, 2025
19 of 27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants