influxdb/tsdb/engine
davidby-influx 7ad612b0d7
fix: discard excessive errors (#22379) (#22391)
The tsmBatchKeyIterator discards excessive errors to avoid
out-of-memory crashes when compacting very corrupt files.
Any error beyond DefaultMaxSavedErrors (100) will be
discarded instead of appended to the error slice.

closes https://github.com/influxdata/influxdb/issues/22328

(cherry picked from commit e53f75e06d)

closes https://github.com/influxdata/influxdb/issues/22381
2021-09-03 14:57:36 -07:00
..
tsm1 fix: discard excessive errors (#22379) (#22391) 2021-09-03 14:57:36 -07:00
engine.go chore: move v2/v1/tsdb → v2/tsdb 2020-08-26 10:46:47 -07:00