git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 96ad72d) | patch
Make postmaster restart archiver soon after it dies, even during recovery.
2015年6月12日 14:11:51 +0000 (23:11 +0900)
2015年6月12日 14:11:51 +0000 (23:11 +0900)
commit b5fe62038f49f92c4a4f189c7cdacf3739effcdc
Make postmaster restart archiver soon after it dies, even during recovery.

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.
src/backend/postmaster/postmaster.c diff | blob | blame | history
src/include/access/xlog.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /