influxdata/influxdb-relay

Wrong rp in influx write causing ingest issues

monitoringit opened this issue · 2 comments

A client was writing data to backend influxdbs through relay using wrong retention policy (rp). Both backend Influxdbs returned 5xx errors for it. Relay then kept accruing these data points in its buffer eventually filling the buffers and all other valid writes from other clients started failing.

This implies any bad player out there can impact filling up relay buffers...is there a way for relay to forget these errors and not keep them in memory. A human error on client side config can impact the whole relay by eventually choking up its memory.

It may be by design but want to confirm ....

Hello @monitoringit you can find the reason here : https://github.com/vente-privee/influxdb-relay/blob/master/relay/retry.go#L65.

We're working on a fork, feel free to make issue / MR to help us improve the daemon.

Discussion on the fork : veepee-oss#12