-
Notifications
You must be signed in to change notification settings - Fork 25
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
Ignored values not considered on Instance restart #423
Comments
Have you set the "Log the last value again on startup" option check box? |
Yes, but that should also consider the values to ignore? |
There is no additional complexity around handling certain values, also: no. I do not know of any use case where this option (Log the last value again on startup) would make sense. |
I don't know either and to be honest, I can't remember having this set by intention. I will just deactivate it and hopefully my problem will be solved by this. |
I tend to reopen ... But the main question is ... what should the adapter log when "log on startup" is enabled AND the value is out of range ... But yes I see this as a "enhancement" |
For me that is clear, same logic as a normal log. If out of range, nothing. |
Describe the bug
When a DP is set with values to ignore:
The value is basically ignored when the DP is updated by any other adapter BUT
If the DP has a value out of the defined range and you restart influxDB instance, it will write the value to database even if it is not in the range.
SEE all those values has been written to DB by the influxDB adapter on its restart:
To reproduce
Create any DP and define values to ignore like seen in schreenshot above. Apply a value out of the limit manually (adapter will now ignore the value as expected), restart InfluxDB instance, it writes the value to DP even if it is a value which should be ignored.
Expected behavior
No value should be stored to DB on adapter restart.
The text was updated successfully, but these errors were encountered: