VictoriaMetrics/lib/mergeset
Aliaksandr Valialkin e3b18ca1ab lib/mergeset: skip createing temporary part objects when merging source inmemory parts
This should reduce CPU usage when adding new entries to inverted index.
This should alos prevent from creating stalled cleaner goroutines for the created temporary parts,
since they were never closed.

This should fix the following issue: https://github.com/VictoriaMetrics/VictoriaMetrics/issues/316 .
2020-02-13 14:09:13 +02:00
..
block_header.go lib/mergeset: properly check for sorted block headers 2019-09-13 21:59:38 +03:00
block_stream_reader_test.go all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
block_stream_reader.go lib/storage: mention source parts on merge error 2019-06-24 14:09:46 +03:00
block_stream_writer.go lib/fs: consistency renaming SyncPath -> MustSyncPath, since it doesnt return error 2019-06-11 23:13:45 +03:00
encoding_test.go all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
encoding_timing_test.go all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
encoding.go lib/{storage,mergeset}: verify PrepareBlock callback results 2019-09-23 20:46:33 +03: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
merge_test.go lib/{storage,mergeset}: merge tag->metricID rows into tag->metricIDs rows for common tag values 2019-09-20 22:06:23 +03:00
merge.go lib/{storage,mergeset}: verify PrepareBlock callback results 2019-09-23 20:46:33 +03:00
metaindex_row.go all: open-sourcing single-node version 2019-05-23 00:18:06 +03:00
part_header.go lib/fs: atomically create file with the given contents on WriteFileAtomically 2019-08-12 15:02:04 +03:00
part_search_test.go lib/{mergeset,storage}: do not cache inverted index blocks containing tag->metricIDs items 2019-09-25 13:48:24 +03:00
part_search.go all: rename ReadAt* to MustReadAt* in order to dont clash with io.ReaderAt 2020-01-30 15:16:16 +02:00
part.go lib/{storage,mergeset}: use time.Ticker instead of time.Timer where appropriate 2020-02-13 13:21:48 +02:00
table_search_test.go lib/{mergeset,storage}: do not cache inverted index blocks containing tag->metricIDs items 2019-09-25 13:48:24 +03:00
table_search_timing_test.go lib/{mergeset,storage}: do not cache inverted index blocks containing tag->metricIDs items 2019-09-25 13:48:24 +03:00
table_search.go lib/{mergeset,storage}: do not cache inverted index blocks containing tag->metricIDs items 2019-09-25 13:48:24 +03:00
table_test.go lib/{mergeset,storage}: do not cache inverted index blocks containing tag->metricIDs items 2019-09-25 13:48:24 +03:00
table.go lib/mergeset: skip createing temporary part objects when merging source inmemory parts 2020-02-13 14:09:13 +02:00