VictoriaMetrics/app/vmagent/remotewrite
Aliaksandr Valialkin a730b3f6a1 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:16:59 +03:00
..
client.go all: use %w instead of %s for wrapping errors in fmt.Errorf 2020-06-30 23:05:11 +03:00
pendingseries.go app/vmagent/remotewrite: remove unused import after the commit 93267f143f 2020-05-15 17:42:19 +03:00
relabel.go app/vmagent: fix data race when multiple -remoteWrite.urlRelabelConfig options are set 2020-07-10 15:16:59 +03:00
remotewrite.go app/vmagent: fix data race when multiple -remoteWrite.urlRelabelConfig options are set 2020-07-10 15:16:59 +03:00
statconn.go app/vmagent/remotewrite: properly dial TCP6 addresses set via -remoteWrite.url 2020-05-12 15:22:29 +03:00