Anthony Romano bfe3a3d08e wal: fix tail corruption
On ReadAll, WAL seeks to the end of the last record in the tail. If the tail did not
end with preallocated space, the decoder would report 0 as the last offset and begin
writing at offset 0 of the tail.

Fixes #4903
2016-04-01 15:05:52 -07:00
..
2016-03-22 17:10:28 -07:00
2016-04-01 15:05:52 -07:00
2015-02-28 11:18:59 -08:00
2015-12-12 09:38:26 -08:00
2016-03-21 11:56:53 -07:00
2016-03-22 17:10:28 -07:00
2016-04-01 15:05:52 -07:00
2015-06-02 14:58:24 -07:00
2016-04-01 15:05:52 -07:00
2016-04-01 15:05:52 -07:00