VictoriaMetrics/app
Roman Khavronenko 1ff35996cd
vmagent: retry failed write request on the closed connection (#4857)
* vmagent: retry failed write request on the closed connection

 Retry failed write request on the closed connection immediately,
 without waiting for backoff. This should improve data delivery speed
 and reduce amount of error logs emitted by vmagent when using idle connections.

 https://github.com/VictoriaMetrics/VictoriaMetrics/issues/4139

Signed-off-by: hagen1778 <roman@victoriametrics.com>

* vmagent: retry failed write request on the closed connection

Re-instantinate request before retry as body could have been already spoiled.

Signed-off-by: hagen1778 <roman@victoriametrics.com>

---------

Signed-off-by: hagen1778 <roman@victoriametrics.com>
Co-authored-by: Nikolay <nik@victoriametrics.com>
2023-08-29 09:47:39 +02:00
..
victoria-logs app/vlselect: handle vmui at /select/vmui path instead of /vmui 2023-07-06 21:36:28 -07:00
vlinsert app/vlinsert/elasticsearch: add a command-line flag to provide ES version (#4778) 2023-08-11 06:57:01 -07:00
vlselect app/{vmselect,vlselect}: run make vmui-update vmui-logs-update after 86f1459ca6 2023-08-11 07:01:15 -07:00
vlstorage app/vlstorage: expose vl_data_size_bytes metric at /metrics page for tracking the on-disk data size (both indexdb and the data itself) 2023-07-31 07:56:16 -07:00
vmagent vmagent: retry failed write request on the closed connection (#4857) 2023-08-29 09:47:39 +02:00
vmalert vmalert: fix vmalert_remotewrite_send_duration_seconds_total metric value (#4801) 2023-08-11 04:58:00 -07:00
vmauth vmauth: add broken backend backoff flag (#4416) 2023-08-11 04:30:23 -07:00
vmbackup vmbackup: correctly check if specified -dst belongs to specified -storageDataPath (#4841) 2023-08-17 13:50:51 +02:00
vmbackupmanager docs: use 1. instead of N. in numbered bullets, so they are automatically adjusted by Github Markdown engine 2023-07-26 14:40:06 -07:00
vmctl lib/promrelabel: properly replace : char with _ in metric names when -usePromCompatibleNaming command-line flag is set 2023-08-17 13:52:53 +02:00
vmgateway docs: follow-up after aec4b5db81 (#4638) 2023-07-19 14:48:17 -07:00
vminsert lib/promrelabel: properly replace : char with _ in metric names when -usePromCompatibleNaming command-line flag is set 2023-08-17 13:52:53 +02:00
vmrestore docs: use 1. instead of N. in numbered bullets, so they are automatically adjusted by Github Markdown engine 2023-07-26 14:40:06 -07:00
vmselect app/vmselect: prevent from panic when lookbehind window inside rollup function is parsed into negative value 2023-08-12 04:49:56 -07:00
vmstorage lib/storage: pre-create timeseries before indexDB rotation (#4652) 2023-07-22 15:23:14 -07:00
vmui all: update Go builder from Go1.20.7 to Go1.21.0 2023-08-11 06:26:27 -07:00