mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
lib/mergeset: fix typos in comments
Signed-off-by: hagen1778 <roman@victoriametrics.com>
(cherry picked from commit 1154f90d2d
)
This commit is contained in:
parent
c75dcc91ad
commit
9e186c0319
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue