-
Notifications
You must be signed in to change notification settings - Fork 478
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
BatchProcessor Stops Execution #118
Comments
Im happy to accept PR to address this issue. |
Thank you for taking a look. I had some ideas on a clean solution so I created a pull request for you to take a look. |
This was referenced Feb 17, 2016
Is there anything to do here, otherwise i will close this issue. |
@majst01 you can close this issue just now, I double check the issue had been fixed by @PaulWeakley . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The BatchProcessor's thread execution fails after some period of time and the data being transferred to the influx database falls back onto the hard limit.
My guess is that the connection to the InfluxDB server becomes unstable or a fault occurs and the write() method throws an exception. If this occurs then the executor service will not recover and the write() method will never be called again. Suggest putting a try/catch around the write method contents.
Situation: Pushing 160 samples to influx every 30 seconds. 10 second flush interval with a 2000 entry limit. Then, randomly when requesting data from InfluxDB observing a 6 min gap in data despite the 10 second flush interval. Eventually the data is available (because the server flushed the data to the database) and the gap window of 6 minutes starts again.
The text was updated successfully, but these errors were encountered: