diff --git a/lib/storage/storage.go b/lib/storage/storage.go index b57737d619..f059071695 100644 --- a/lib/storage/storage.go +++ b/lib/storage/storage.go @@ -910,8 +910,8 @@ func (s *Storage) mustLoadHourMetricIDs(hour uint64, name string) *hourMetricIDs logger.Panicf("FATAL: cannot read %s: %s", path, err) } srcOrigLen := len(src) - if len(src) < 24 { - logger.Errorf("discarding %s, since it has broken header; got %d bytes; want %d bytes", path, len(src), 24) + if len(src) < 16 { + logger.Errorf("discarding %s, since it has broken header; got %d bytes; want %d bytes", path, len(src), 16) return hm }