-
Notifications
You must be signed in to change notification settings - Fork 11
Make pg_rewind work with encrypted WAL #335
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
❌ Your project status has failed because the head coverage (83.61%) is below the target coverage (90.00%). You can increase the head coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## TDE_REL_17_STABLE #335 +/- ##
=====================================================
- Coverage 84.65% 83.61% -1.05%
=====================================================
Files 21 21
Lines 2588 2765 +177
Branches 401 434 +33
=====================================================
+ Hits 2191 2312 +121
- Misses 316 368 +52
- Partials 81 85 +4
🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For the second commit:
These tests are a copy of upstream's pg_rewind tests with small changes
in setup_cluster to set WAL encryption on.
Can you split this commit into two, one that just copies the files, and another that contains only the required modifications?
These tests are a carbon copy of upstream's pg_rewind tests. Changes for WAL encryption will be added in the following commit. `standby_source` test is not copied as it fails because of changes needed in pg_basebackup.
Now the TDE version of pg_rewind tests runs with the WAL encryption ON
We use TLI to calculate encryption IV, therefore, data in segments has to be re-encrypted when copied to the new timeline. For PG-1412
@dutow I split the tests commit |
The main goal was to pass pg_rewind tests to find and fix WAL-related issues. Along with that, now we have pg_rewind working with encrypted WAL. There are no changes in the user interface.
This PR omits one of the pg_rewind tests. That fails due to pg_basebackup (see PG-1603).
For PG-1037, PG-1412