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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 8f4e121) | patch
Don't allow walsender to send WAL data until it's been safely fsync'd on the
2010年6月17日 16:41:25 +0000 (16:41 +0000)
2010年6月17日 16:41:25 +0000 (16:41 +0000)
commit 07e8b6aabcca3ad9a67681694d955f607e29ce7b
Don't allow walsender to send WAL data until it's been safely fsync'd on the
master. Otherwise a subsequent crash could cause the master to lose WAL that
has already been applied on the slave, resulting in the slave being out of
sync and soon corrupt. Per recent discussion and an example from Robert Haas.

Fujii Masao
src/backend/access/transam/xlog.c diff | blob | blame | history
src/backend/replication/walsender.c diff | blob | blame | history
src/include/access/xlog.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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