mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2026-06-16 15:23:05 +03:00
Previously, vmagent treated differently the following configuration: 1) ./bin/vmagent --remoteWrite.url=url-0 --remoteWrite.url=url-1 --remoteWrite.disableOndiskQueue and 2)./bin/vmagent --remoteWrite.url=url-0 --remoteWrite.url=url-1 --remoteWrite.disableOndiskQueue=true,true In first case, it could produce duplicates and blocks ingestion requests if one of remote write targets were not accessible. In second case, it implicitly added --remoteWrite.dropSamplesOnOverload as true and silently dropped samples for inaccessible target. This commit treat this configuration as the same and silently drop samples on both cases to mitigate possible duplicates. It's expected, that vmagent provides delivery guarantees, only if it has a single remote write target, when flag remoteWrite.disableOndiskQueue=true is set. Fixes https://github.com/VictoriaMetrics/VictoriaMetrics/issues/9565
See vmagent docs here.
vmagent docs can be edited at docs/vmagent.md.