mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00

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