VictoriaMetrics/lib/mergeset
Aliaksandr Valialkin 7836ad8907 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:32 +02:00
..
block_header.go lib/mergeset: properly check for sorted block headers 2019-09-13 21:59:29 +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:08:43 +03:00
block_stream_writer.go lib/fs: consistency renaming SyncPath -> MustSyncPath, since it doesnt return error 2019-06-11 23:13:49 +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:43:13 +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:42:30 +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:41 +03:00
merge.go lib/{storage,mergeset}: verify PrepareBlock callback results 2019-09-23 20:43:13 +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:55 +03:00
part_search_test.go lib/{mergeset,storage}: do not cache inverted index blocks containing tag->metricIDs items 2019-09-25 14:02:15 +03:00
part_search.go all: rename ReadAt* to MustReadAt* in order to dont clash with io.ReaderAt 2020-01-30 15:08:58 +02:00
part.go lib/{storage,mergeset}: use time.Ticker instead of time.Timer where appropriate 2020-02-13 13:10:07 +02:00
table_search_test.go lib/{mergeset,storage}: do not cache inverted index blocks containing tag->metricIDs items 2019-09-25 14:02:15 +03:00
table_search_timing_test.go lib/{mergeset,storage}: do not cache inverted index blocks containing tag->metricIDs items 2019-09-25 14:02:15 +03:00
table_search.go lib/{mergeset,storage}: do not cache inverted index blocks containing tag->metricIDs items 2019-09-25 14:02:15 +03:00
table_test.go lib/{mergeset,storage}: do not cache inverted index blocks containing tag->metricIDs items 2019-09-25 14:02:15 +03:00
table.go lib/mergeset: skip createing temporary part objects when merging source inmemory parts 2020-02-13 14:09:32 +02:00