Skip to content

Release 6.18.2 arenadata30#288

Merged
Stolb27 merged 3 commits intoadb-6.xfrom
6.18.2_arenadata30
Dec 14, 2021
Merged

Release 6.18.2 arenadata30#288
Stolb27 merged 3 commits intoadb-6.xfrom
6.18.2_arenadata30

Conversation

@Stolb27
Copy link
Collaborator

@Stolb27 Stolb27 commented Dec 14, 2021

hlinnaka and others added 3 commits December 14, 2021 15:08
In 'always' mode, the standby independently archives all files it receives
from the primary.

Original patch by Fujii Masao, docs and review by me.
…very.

After the archiver dies, postmaster tries to start a new one immediately.
But previously this could happen only while server was running normally
even though archiving was enabled always (i.e., archive_mode was set to
always). So the archiver running during recovery could not restart soon
after it died. This is an oversight in commit ffd3774.

This commit changes reaper(), postmaster's signal handler to cleanup
after a child process dies, so that it tries to a new archiver even during
recovery if necessary.

Patch by me. Review by Alvaro Herrera.
In the previous coding, skipped pages were mostly zeroes, but they still
had valid WAL page headers.  That makes them very much less compressible
than an unbroken string of zeroes would be --- about 10X worse for bzip2
compression, for instance.  We don't need those headers, so tweak the logic
so that we zero them out.

Chapman Flack, reviewed by Daniel Gustafsson

Discussion: https://postgr.es/m/579297F8.7020107@anastigmatix.net

Backport of 4a33bb5
@Stolb27 Stolb27 requested a review from a team December 14, 2021 05:12
@Stolb27 Stolb27 merged commit efee477 into adb-6.x Dec 14, 2021
@Stolb27 Stolb27 deleted the 6.18.2_arenadata30 branch December 14, 2021 09:03
@maksm90 maksm90 self-requested a review December 14, 2021 14:16
RekGRpth pushed a commit that referenced this pull request Mar 4, 2026
Update if condition from '-v' to '-z'

Task: ADBDEV-9294
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.

5 participants