Quellcode durchsuchen

Merge pull request #6545 from gyuho/grammar

wal: fix minor wording in comment
Gyu-Ho Lee vor 9 Jahren
Ursprung
Commit
0b8b40ccca
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      wal/encoder.go

+ 2 - 2
wal/encoder.go

@@ -26,8 +26,8 @@ import (
 )
 )
 
 
 // walPageBytes is the alignment for flushing records to the backing Writer.
 // 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
 const walPageBytes = 8 * minSectorSize
 
 
 type encoder struct {
 type encoder struct {