Disks Lie: Building a WAL that actually survives
blog.canoozie.net
Disks Lie: Building a WAL that actually survives
1–10 of 53 posts
Re: Disks Lie: Building a WAL that actually survives
#2Re: Disks Lie: Building a WAL that actually survives
#3I thought an fsync on the containing directories of each of the logs was needed to ensure the that newly created files were durably present in the directories.
Re: Disks Lie: Building a WAL that actually survives
#4> A production-grade WAL isn't just code, it's a contract.
I hate that I'm now suspicious of this formulation.
Re: Disks Lie: Building a WAL that actually survives
#5> Conclusion > A production-grade WAL isn't just code, it's a contract. I hate that I'm now suspicious of this formulation.
Re: Disks Lie: Building a WAL that actually survives
#6Re: Disks Lie: Building a WAL that actually survives
#7> Conclusion > A production-grade WAL isn't just code, it's a contract. I hate that I'm now suspicious of this formulation.
In what sense? The phrasing is just a generalization, production-grade anything needs consideration of the needs and goals of the project.
Re: Disks Lie: Building a WAL that actually survives
#8This, along with RAID-1, is probably sufficient to catch the majority of errors. But realize that these are just probabilities - if the failure can happen on the first drive, it can also happen on the second. A merkle tree is commonly used to also protect against these scenarios.
Notice that using something like RAID-5 can result in data corruption migrating throughout the stripe when using certain write algorithms
Re: Disks Lie: Building a WAL that actually survives
#9https://en.wikipedia.org/wiki/Data_Integrity_Field This, along with RAID-1, is probably sufficient to catch the majority of errors. But realize that these are just probabilities - if the failure can happen on the first drive, it can also happen on the second. A merkle tree is commonly used to also protect against these scenarios. Notice that using something like RAID-5 can result in data corruption migrating througho…