VictoriaMetrics/app/vminsert/netstorage
Nikolay 2be76d4bc3
app/vminsert: fixes readonly check (#4892)
* app/vminsert: fixes readonly check
previously vminsert doesn't check readOnly state for vmstorage, since check was never performed for nil buffer
In this case every 30 second storage node loss readonly state and received some data.
It caused re-routing and possible slow down for ingestion
https://github.com/VictoriaMetrics/VictoriaMetrics/issues/4870

* wip

---------

Co-authored-by: Aliaksandr Valialkin <valyala@victoriametrics.com>
2023-08-30 16:26:05 +02:00
..
consistent_hash.go all: remove explicit "xxhash" name when importing github.com/cespare/xxhash/v2 package 2022-06-21 20:27:30 +03:00
consistent_hash_test.go app/vminsert: improve re-routing logic in order to spread rows more evenly among the available storage nodes 2022-02-06 20:20:02 +02:00
consistent_hash_timing_test.go app/vminsert: improve re-routing logic in order to spread rows more evenly among the available storage nodes 2022-02-06 20:20:02 +02:00
insert_ctx.go app/vminsert: allow parsing tenant id from (#4144) 2023-05-16 08:16:37 -07:00
insert_ctx_pool.go all: properly handle CPU limits set on the host system/container 2020-12-08 21:07:03 +02:00
netstorage.go app/vminsert: fixes readonly check (#4892) 2023-08-30 16:26:05 +02:00
netstorage_test.go app/{vminsert,vmselect}: speed up TestInitStopNodes() 2022-12-03 23:53:14 -08:00
sort_labels.go app/{vminsert,vmagent}: add -sortLabels command-line option for sorting time series labels before ingesting them in the storage 2021-03-31 23:27:21 +03:00