Re: Block-level CRC checks - Mailing list pgsql-hackers

From Chuck McDevitt
Subject Re: Block-level CRC checks
Date
Msg-id 2106D8DC89010842BABA5CD03FEA4061013686B5E9@EXVMBX018-10.exch018.msoutlookonline.net
Whole thread Raw
In response to Re: Block-level CRC checks  (Bruce Momjian <bruce@momjian.us>)
Responses Re: Block-level CRC checks
Re: Block-level CRC checks
List pgsql-hackers
A curiosity question regarding torn pages:  How does this work on file systems that don't write in-place, but instead
alwaysdo copy-on-write? 

My example would be Sun's ZFS file system (In Solaris & BSD).  Because of its "snapshot & rollback" functionality, it
neverwrites a page in-place, but instead always copies it to another place on disk.  How does this affect the
corruptioncaused by a torn write? 

Can we end up with horrible corruption on this type of filesystem where we wouldn't on normal file systems, where we
arewriting to a previously zeroed area on disk? 

Sorry if this is a stupid question... Hopefully somebody can reassure me that this isn't an issue.


pgsql-hackers by date:

Previous
From: Zdenek Kotala
Date:
Subject: Re: [patch] pg_ctl init extension
Next
From: Jeff Davis
Date:
Subject: Re: New VACUUM FULL