DROP Measure crashing influxDB docker
winklevos opened this issue · 0 comments
winklevos commented
Running in a python docker container it seems to frequently crash influxDB
[httpd] 10.20.0.2 - dbread [04/Apr/2020:12:53:05 +1100] "POST /write?db=cm8200b_stats HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 068ed7fa-7617-11ea-8041-02420a14011d 353
[httpd] 10.20.0.2 - dbread [04/Apr/2020:12:53:05 +1100] "POST /write?db=cm8200b_stats HTTP/1.1" 204 0 "-" "python-requests/2.22.0" 069245f1-7617-11ea-8042-02420a14011d 520
ts=2020-04-04T01:53:05.757435Z lvl=info msg="Executing query" log_id=0Lxj0el0000 service=query query="DROP MEASUREMENT event_log"
panic: runtime error: index out of range
goroutine 789 [running]:
encoding/binary.bigEndian.Uint16(...)
/usr/local/go/src/encoding/binary/binary.go:100
github.com/influxdata/influxdb/tsdb.ReadSeriesKeyMeasurement(...)
/go/src/github.com/influxdata/influxdb/tsdb/series_file.go:344
github.com/influxdata/influxdb/tsdb.parseSeriesKey(0x7efc157ff314, 0x1, 0x3ffcec, 0x0, 0x0, 0x0, 0xc003ea0000, 0x7efc2842a0f0, 0xc00008dc00, 0xc00008dc00, ...)
/go/src/github.com/influxdata/influxdb/tsdb/series_file.go:381 +0x512
github.com/influxdata/influxdb/tsdb.ParseSeriesKey(...)
/go/src/github.com/influxdata/influxdb/tsdb/series_file.go:364
github.com/influxdata/influxdb/tsdb.(*seriesIteratorAdapter).Next(0xc008065940, 0x0, 0x2710, 0xc003ea0000, 0x9ef4a6)
/go/src/github.com/influxdata/influxdb/tsdb/index.go:137 +0xdd
github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Engine).DeleteSeriesRangeWithPredicate(0xc0000ccc80, 0x213baa0, 0xc008065940, 0xc00b847d40, 0x0, 0x0)
/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:1412 +0x151
github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Engine).DeleteSeriesRange(0xc0000ccc80, 0x213baa0, 0xc008065940, 0x8000000000000000, 0x7fffffffffffffff, 0x0, 0x0)
/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:1368 +0x7e
github.com/influxdata/influxdb/tsdb/engine/tsm1.(*Engine).DeleteMeasurement(0xc0000ccc80, 0xc001c2d9f0, 0x9, 0x10, 0x0, 0x0)
/go/src/github.com/influxdata/influxdb/tsdb/engine/tsm1/engine.go:1776 +0x227
github.com/influxdata/influxdb/tsdb.(*Shard).DeleteMeasurement(0xc0000d2d80, 0xc001c2d9f0, 0x9, 0x10, 0x9, 0x10)
/go/src/github.com/influxdata/influxdb/tsdb/shard.go:743 +0x84
github.com/influxdata/influxdb/tsdb.(*Store).DeleteMeasurement.func1(0xc0000d2d80, 0x0, 0x0)
/go/src/github.com/influxdata/influxdb/tsdb/store.go:947 +0x1fe
github.com/influxdata/influxdb/tsdb.(*Store).walkShards.func1(0xc000879bc0, 0xc009ac2b40, 0xc0000d2d80)
/go/src/github.com/influxdata/influxdb/tsdb/store.go:995 +0x48
created by github.com/influxdata/influxdb/tsdb.(*Store).walkShards
/go/src/github.com/influxdata/influxdb/tsdb/store.go:994 +0x80```