VictoriaMetrics/lib/storage
Aliaksandr Valialkin d78ed50edd lib/storage: recover when metricID->metricName entry is missing in the inverted index after unclean shutdown
Newly added index entries can be missing after unclean shutdown, since they didn't flush to persistent storage yet.
Log about this and delete the corresponding metricID, so it could be re-created next time.
2020-04-28 12:01:32 +03:00
..
block.go all: properly split vm_deduplicated_samples_total among cluster components 2020-02-27 23:47:51 +02:00
block_header.go lib/storage: pre-allocate memory for blockHeader slice in unmarshalBlockHeaders 2019-08-19 12:46:45 +03:00
block_header_test.go all: open-sourcing cluster version 2019-05-23 00:25:38 +03:00
block_stream_merger.go all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
block_stream_reader.go lib/storage: remove interface conversion in hot path during block merging 2019-11-03 12:33:48 +02:00
block_stream_reader_test.go all: add support for GOARCH=386 and fix all the issues related to 32-bit architectures such as GOARCH=arm 2019-10-17 18:27:49 +03:00
block_stream_reader_timing_test.go all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
block_stream_writer.go all: add -dedup.minScrapeInterval command-line flag for data de-duplication 2020-01-31 01:18:54 +02:00
block_stream_writer_timing_test.go all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
dedup.go lib/storage/dedup.go: go fmt 2020-04-26 14:37:36 +03:00
dedup_test.go lib/storage: improve deduplication algorithm 2020-04-26 13:10:18 +03:00
dedup_timing_test.go lib/storage: improve deduplication algorithm 2020-04-26 13:10:18 +03:00
index_db.go lib/storage: recover when metricID->metricName entry is missing in the inverted index after unclean shutdown 2020-04-28 12:01:32 +03:00
index_db_test.go app/vmselect: add /api/v1/status/tsdb page with useful stats for locating root cause for high cardinality issues 2020-04-22 22:03:23 +03:00
index_db_timing_test.go lib/storage: verify the number of returned metricIDs in BenchmarkHeadPostingForMatchers 2019-11-20 15:40:03 +02:00
inmemory_part.go all: add vm_data_size_bytes metrics for easy monitoring of on-disk data size and on-disk inverted index size 2019-07-04 19:43:04 +03:00
inmemory_part_test.go all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
inmemory_part_timing_test.go all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
merge.go lib/storage: create and use lib/uint64set instead of map[uint64]struct{} 2019-09-24 21:18:04 +03:00
merge_test.go all: add support for GOARCH=386 and fix all the issues related to 32-bit architectures such as GOARCH=arm 2019-10-17 18:27:49 +03:00
merge_timing_test.go all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
metaindex_row.go all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
metaindex_row_test.go all: open-sourcing cluster version 2019-05-23 00:25:38 +03:00
metric_name.go lib/{storage,mergeset}: merge tag->metricID rows into tag->metricIDs rows for common tag values 2019-09-20 22:06:23 +03:00
metric_name_test.go lib/storage: pass pointer to MetricName in Fatalf, so it is properly detected as an interface with String() method 2019-11-04 01:06:45 +02:00
part.go lib/{storage,mergeset}: make sure that requests and misses cache counters never go down 2020-04-10 14:44:52 +03:00
part_header.go all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
part_header_test.go all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
part_search.go lib/storage: postpone reading data from blocks during search 2020-04-27 08:44:01 +03:00
part_search_test.go lib/storage: postpone reading data from blocks during search 2020-04-27 08:44:01 +03:00
partition.go lib/{storage,mergeset}: make sure that requests and misses cache counters never go down 2020-04-10 14:44:52 +03:00
partition_search.go lib/storage: postpone reading data from blocks during search 2020-04-27 08:44:01 +03:00
partition_search_test.go lib/storage: postpone reading data from blocks during search 2020-04-27 08:44:01 +03:00
partition_test.go lib/{mergeset,storage}: fix uint64 counters alignment for 32-bit architectures (GOARCH=386, GOARCH=arm) 2020-01-14 22:47:42 +02:00
raw_block.go all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
raw_row.go lib/storage: optimize TSID comparison 2019-09-26 14:20:02 +03:00
search.go lib/storage: postpone reading data from blocks during search 2020-04-27 08:44:01 +03:00
search_test.go lib/storage: postpone reading data from blocks during search 2020-04-27 08:44:01 +03:00
storage.go app/vmselect: add /api/v1/status/tsdb page with useful stats for locating root cause for high cardinality issues 2020-04-22 22:03:23 +03:00
storage_test.go lib/storage: postpone reading data from blocks during search 2020-04-27 08:44:01 +03:00
storage_timing_test.go all: open-sourcing cluster version 2019-05-23 00:25:38 +03:00
table.go lib/{storage,mergeset}: use time.Ticker instead of time.Timer where appropriate 2020-02-13 13:21:48 +02:00
table_search.go lib/storage: postpone reading data from blocks during search 2020-04-27 08:44:01 +03:00
table_search_test.go lib/storage: postpone reading data from blocks during search 2020-04-27 08:44:01 +03:00
table_search_timing_test.go lib/storage: postpone reading data from blocks during search 2020-04-27 08:44:01 +03:00
table_test.go all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
table_timing_test.go all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
tag_filters.go lib/storage: add missing reset for tagFilter.matchesEmptyValue on tagFilter.Init 2020-04-01 17:40:27 +03:00
tag_filters_test.go lib/storage: properly match labels against regexp with (?i) flag 2019-09-26 11:03:26 +03:00
tag_filters_timing_test.go all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
time.go lib/storage: remove unused code from getMetricIDsForTimeRange: it is expected that time range is always non-zero 2019-11-09 19:03:51 +02:00
time_test.go all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
tsid.go lib/storage: optimize TSID comparison 2019-09-26 14:20:02 +03:00
tsid_test.go all: open-sourcing cluster version 2019-05-23 00:25:38 +03:00