diff --git a/lib/mergeset/part_header.go b/lib/mergeset/part_header.go index 28f539c95..31749ba55 100644 --- a/lib/mergeset/part_header.go +++ b/lib/mergeset/part_header.go @@ -124,7 +124,7 @@ func (ph *partHeader) MustWriteMetadata(partPath string) { } metadataPath := filepath.Join(partPath, metadataFilename) // There is no need in calling fs.MustWriteAtomic() here, - // since the file is created only once during part creatinng - // and the part directory is synced aftewards. + // since the file is created only once during part creation + // and the part directory is synced afterward. fs.MustWriteSync(metadataPath, metadata) }