diff --git a/wal/wal_unix.go b/wal/wal_unix.go index 101ea6acc..01ef74284 100644 --- a/wal/wal_unix.go +++ b/wal/wal_unix.go @@ -33,6 +33,6 @@ func (w *WAL) renameWal(tmpdirpath string) (*WAL, error) { return nil, err } - w.fp = newFilePipeline(w.dir, SegmentSizeBytes) + w.fp = newFilePipeline(w.dir, segmentSizeBytes) return w, nil }