diff --git a/wal/encoder.go b/wal/encoder.go index edbd1785a..4a6603654 100644 --- a/wal/encoder.go +++ b/wal/encoder.go @@ -26,8 +26,8 @@ import ( ) // walPageBytes is the alignment for flushing records to the backing Writer. -// It should be a multiple of the minimum sector size so that WAL repair can -// safely between torn writes and ordinary data corruption. +// It should be a multiple of the minimum sector size so that WAL can safely +// distinguish between torn writes and ordinary data corruption. const walPageBytes = 8 * minSectorSize type encoder struct {