mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-23 20:37:12 +01:00
5eb5df96e2
* lib/storage: creates parts.json on start-up if it not exists. It fixes migrations from versions below v1.90.0. Previously parts.json was created only after successful merge. But if merge was interruped for some reason (OOM or shutdown), parts.json wasn't created and partitions left after interruped merge weren't properly deleted. Since VM cannot check if it must be removed or not. https://github.com/VictoriaMetrics/VictoriaMetrics/issues/4336 * Apply suggestions from code review Co-authored-by: Roman Khavronenko <roman@victoriametrics.com> * Update lib/storage/partition.go Co-authored-by: Roman Khavronenko <roman@victoriametrics.com> --------- Co-authored-by: Roman Khavronenko <roman@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 |