lib/mergeset: fix typos in comments

Signed-off-by: hagen1778 <roman@victoriametrics.com>
This commit is contained in:
hagen1778 2024-08-07 15:54:15 +02:00
parent 264e9caf5a
commit 1154f90d2d
No known key found for this signature in database
GPG key ID: 3BF75F3741CA9640

View file

@ -124,7 +124,7 @@ func (ph *partHeader) MustWriteMetadata(partPath string) {
} }
metadataPath := filepath.Join(partPath, metadataFilename) metadataPath := filepath.Join(partPath, metadataFilename)
// There is no need in calling fs.MustWriteAtomic() here, // There is no need in calling fs.MustWriteAtomic() here,
// since the file is created only once during part creatinng // since the file is created only once during part creation
// and the part directory is synced aftewards. // and the part directory is synced afterward.
fs.MustWriteSync(metadataPath, metadata) fs.MustWriteSync(metadataPath, metadata)
} }