Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

data inconsistency #69

Open
tessus opened this issue Oct 25, 2018 · 4 comments
Open

data inconsistency #69

tessus opened this issue Oct 25, 2018 · 4 comments

Comments

@tessus
Copy link

tessus commented Oct 25, 2018

I was looking at the architecture and I'm a bit puzzled by the fact that data inconsistency can occur and I'm wondering how I'm supposed to fix those.

Here's an example:

  • client writes to relay
  • relay writes to InfluxDB A and InfluxDB B
  • InfluxDB A write is successful
  • InfluxDB B write is not successful
  • client got success message, because the write to A was first

So now I have 2 databases with different data. Although A has all the correct and complete data.
Now imagine the same process as above again, but B gets the successful write and the client also gets the success message, because the write to B was first (and successful). In this case now both databases have incorrect and incomplete data.

Or am I missing something here?

@kashifmin
Copy link

@tessus You're right. I've noticed the same. Do you know of any alternatives?

@tessus
Copy link
Author

tessus commented May 9, 2019

Nope, but I guess that's the reason why they are selling the influxdb-cluster. They don't even want to solve this in the free relay code....

@rockyluke
Copy link

rockyluke commented May 15, 2019

Please take a look on https://github.com/veepee-moc/influxdb-relay.

We tried to implement some useful features without conflicting with the paid version in InfluxDB (which is really great).

@jhg03a
Copy link

jhg03a commented May 15, 2019

That's a lot of really interesting work @rockyluke, was there ever a PR to upstream it?

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

No branches or pull requests

4 participants