VictoriaMetrics/app/vmagent/remotewrite
Aliaksandr Valialkin 4353ff7ef1 app/vmagent: fix data race when multiple -remoteWrite.urlRelabelConfig options are set
Previously multiple goroutines could access remoteWriteCtx.tss concurrently, which could lead to data race
and improper relabeling. Now each goroutine has its own copy of tss during relabeling.

Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/599
2020-07-10 15:17:23 +03:00
..
client.go all: use %w instead of %s for wrapping errors in fmt.Errorf 2020-06-30 23:33:46 +03:00
pendingseries.go app/vmagent/remotewrite: remove unused import after the commit 93267f143f 2020-05-15 17:42:31 +03:00
relabel.go app/vmagent: fix data race when multiple -remoteWrite.urlRelabelConfig options are set 2020-07-10 15:17:23 +03:00
remotewrite.go app/vmagent: fix data race when multiple -remoteWrite.urlRelabelConfig options are set 2020-07-10 15:17:23 +03:00
statconn.go app/vmagent/remotewrite: properly dial TCP6 addresses set via -remoteWrite.url 2020-05-12 15:24:50 +03:00