influxdata / influxdata/docs-v2
strict-error-handling : new configuration parameter for Influxdb 1.8.4 and later
- Dominant language
- JavaScript
- Stars
- 82
- Forks
- 326
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 82
Description
A customer wanted an error to be returned when a `SELECT INTO` tried to insert an unsupported value, like +/-Inf or NaN
However, previous behavior was to silently fail and insert any valid points in the query.
To preserve backwards compatibility while meeting the customer request, a new boolean configuration parameter
`strict-error-handling`
was added to the [data] section of the influxdb configuration file. The default value of the parameter if it is not supplied is `false`, preserving the previous behavior. If the parameter is set to `true` any failure to insert a point during a `SELECT INTO` will cause the statement to fail with an error, and no points to be inserted.
##### Relevant URLs
https://github.com/influxdata/EAR/issues/1955
https://github.com/influxdata/influxdb/pull/20429
https://github.com/influxdata/influxdb/issues/20426
https://github.com/influxdata/influxdb/pull/20432
https://github.com/influxdata/influxdb/issues/20428
##### What products and version are you using?
This will be incorporated in the v1.8.4 and subsequent builds. It has not yet been scheduled for addition to the 2.x product but, it is expected to be in a future release there TBD.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.