Skip to content

[TEST] feat(storage): adopt /16/main subdirectory layout for new deployments#1603

Draft
marceloneppel wants to merge 1 commit into16/edgefrom
pg-18-storage-layout
Draft

[TEST] feat(storage): adopt /16/main subdirectory layout for new deployments#1603
marceloneppel wants to merge 1 commit into16/edgefrom
pg-18-storage-layout

Conversation

@marceloneppel
Copy link
Copy Markdown
Member

Issue

Solution

Implement DA242 storage layout for fresh PostgreSQL deployments by using per-storage /16/main subdirectories for data, logs, temp, and archive paths. Wire Patroni WAL placement to logs storage, update backup/replication path handling, and align unit/integration expectations. Add a Jubilant integration test for replica pg_control deletion followed by patronictl reinit recovery.

Checklist

  • I have added or updated any relevant documentation.
  • I have cleaned any remaining cloud resources from my accounts.

Implement DA242 storage layout for fresh PostgreSQL deployments by using
per-storage /16/main subdirectories for data, logs, temp, and archive paths.
Wire Patroni WAL placement to logs storage, update backup/replication path
handling, and align unit/integration expectations.
Add a Jubilant integration test for replica pg_control deletion followed by
patronictl reinit recovery.

Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>
@github-actions github-actions bot added the Libraries: OK The charm libs used are OK and in-sync label Apr 8, 2026
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 8, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 70.57%. Comparing base (95a5784) to head (1f11c48).

Additional details and impacted files
@@             Coverage Diff             @@
##           16/edge    #1603      +/-   ##
===========================================
+ Coverage    70.43%   70.57%   +0.13%     
===========================================
  Files           15       15              
  Lines         4282     4292      +10     
  Branches       694      695       +1     
===========================================
+ Hits          3016     3029      +13     
+ Misses        1057     1054       -3     
  Partials       209      209              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@marceloneppel marceloneppel added the bug Something isn't working as expected label Apr 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working as expected Libraries: OK The charm libs used are OK and in-sync

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant