mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-15 16:30:55 +01:00
47d9e82b52
* lib/storage/partition: add check to ensure parts exist on disk If part exists in parts.json but is missing on disk there will be a misleading error similar to "unexpected number of substrings in the part name". This change forces verification of part existence and throws a correct error in case it is missing on disk. Such issue can be result of https://github.com/VictoriaMetrics/VictoriaMetrics/issues/5005 or disk corruption. Signed-off-by: Zakhar Bessarab <z.bessarab@victoriametrics.com> * lib/storage/partition: use filepath.Join instead of string concatenation Signed-off-by: Zakhar Bessarab <z.bessarab@victoriametrics.com> * lib/storage/partition: add action points for error message Signed-off-by: Zakhar Bessarab <z.bessarab@victoriametrics.com> * all: add a check for missing part in lib/mergeset and lib/logstorage --------- Signed-off-by: Zakhar Bessarab <z.bessarab@victoriametrics.com> Co-authored-by: Aliaksandr Valialkin <valyala@victoriametrics.com> |
||
---|---|---|
.. | ||
block_header.go | ||
block_stream_reader_test.go | ||
block_stream_reader.go | ||
block_stream_writer.go | ||
encoding_test.go | ||
encoding_timing_test.go | ||
encoding.go | ||
filenames.go | ||
inmemory_part.go | ||
merge_test.go | ||
merge.go | ||
metaindex_row.go | ||
part_header.go | ||
part_search_test.go | ||
part_search.go | ||
part.go | ||
table_search_test.go | ||
table_search_timing_test.go | ||
table_search.go | ||
table_test.go | ||
table.go |