pgsql: Recursively fsync() the data directory after a crash.
В списке pgsql-committers по дате отправления:
| От | Robert Haas |
|---|---|
| Тема | pgsql: Recursively fsync() the data directory after a crash. |
| Дата | |
| Msg-id | E1YpL1A-0007Tz-Av@gemulon.postgresql.org обсуждение |
| Ответы |
Re: pgsql: Recursively fsync() the data directory after
a crash.
Re: pgsql: Recursively fsync() the data directory after a crash. |
| Список | pgsql-committers |
Recursively fsync() the data directory after a crash. Otherwise, if there's another crash, some writes from after the first crash might make it to disk while writes from before the crash fail to make it to disk. This could lead to data corruption. Back-patch to all supported versions. Abhijit Menon-Sen, reviewed by Andres Freund and slightly revised by me. Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/2ce439f3379aed857517c8ce207485655000fc8e Modified Files -------------- src/backend/access/transam/xlog.c | 42 ++++++++++++++ src/backend/storage/file/fd.c | 115 +++++++++++++++++++++++++++++++++++++ src/include/storage/fd.h | 2 + 3 files changed, 159 insertions(+)
В списке pgsql-committers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера