Commit Graph

4 Commits (1.11)

Author SHA1 Message Date
davidby-influx 7116861f37
fix: avoid SIGBUS when reading non-std series segment files (#24509) (#24515)
Some series files which are smaller than the standard
sizes cause SIGBUS in influx_inspect and influxd, because
entry iteration walks onto mapped memory not backed by the
the file.  Avoid walking off the end of the file while
iterating series entries in oddly sized files.

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

Co-authored-by: Geoffrey Wossum <gwossum@influxdata.com>
(cherry picked from commit 969abf3da2)

closes https://github.com/influxdata/influxdb/issues/24510
2023-12-11 16:22:32 -08:00
Ben Johnson edcb391022
Improve series segment recovery. 2018-06-26 10:56:44 -06:00
Ben Johnson 3900c948a2
Fix requested changes. 2018-01-03 10:04:12 -07:00
Ben Johnson 56980b0d24
Segment series file 2017-12-29 11:57:45 -07:00