mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
BugFix part_header.go (#2763)
https://github.com/VictoriaMetrics/VictoriaMetrics/issues/2757 Co-authored-by: haotingyi <haotingyi@corp.netease.com>
This commit is contained in:
parent
f88c642464
commit
ac411be904
1 changed files with 0 additions and 1 deletions
|
@ -136,7 +136,6 @@ func (ph *partHeader) ParseFromPath(partPath string) error {
|
|||
if ph.itemsCount != phj.ItemsCount {
|
||||
return fmt.Errorf("invalid ItemsCount in %q; got %d; want %d", metadataPath, phj.ItemsCount, ph.itemsCount)
|
||||
}
|
||||
ph.blocksCount = phj.BlocksCount
|
||||
if ph.blocksCount != phj.BlocksCount {
|
||||
return fmt.Errorf("invalid BlocksCount in %q; got %d; want %d", metadataPath, phj.BlocksCount, ph.blocksCount)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue