Anthony Romano f1ead43482 wal: zero out wal tail past its first zero record
Whenever the WAL is opened for writes, it should write zeroes to its tail
starting from the first zero record. Otherwise, if there are entries past
the first zero record due to a torn write, any new writes that overlap the
old entries will lead to a garbage record on the tail and cause a CRC
mismatch.
2016-08-25 14:24:46 -07:00
..
2016-05-12 20:50:04 -07:00
2016-05-12 20:50:04 -07:00
2016-06-06 09:43:19 -07:00
2016-05-12 20:50:04 -07:00
2016-05-12 20:50:04 -07:00
2016-05-12 20:50:04 -07:00