Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

data is relayed when database does not exist in InfluxDB #43

Open
dpajin opened this issue Mar 20, 2020 · 0 comments
Open

data is relayed when database does not exist in InfluxDB #43

dpajin opened this issue Mar 20, 2020 · 0 comments

Comments

@dpajin
Copy link

dpajin commented Mar 20, 2020

Hi strike-team,

Thanks for maintaining this project.

I experience one issue/behavior for which I believe it is not correct. I see that the data is not buffered, but relayed, in case that InfluxDB is up, but the database does not exist. I think that influxdb-relay should check if database exists and only then relay data. Otherwise, the data is "black-holed" and the point of buffering feature is lost.

I will give one example use case: I have multiple nodes which receive data from influxdb relay. When one node fails, the relay will start buffering... When I recover node, my InfluxDB instance still does not have any database created. I would like to first recover my databases from the backup and then get the buffered data from influxdb-relay. However, as soon as InfluxDB is up, the influxdb-relay will send the data and clear the buffer, even though the database is still not created in InfluxDB instance.

many thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant