influxdata / influxdb

Scalable datastore for metrics, events, and real-time analytics
https://influxdata.com
Apache License 2.0
28.91k stars 3.55k forks source link

[0.9.3 nightly] Cant access data of one database - data corrupt? #3535

Closed ghost closed 9 years ago

ghost commented 9 years ago

Hi, my influxdb panics every time when i access data from one database via grafana (the others work fine!)... I can access everything with the influxdb shell instead of the time and value data. For example show tag values etc. works fine but the following does not work:

> select * from log_file_sync
ERR: found FROM, expected identifier, string, number, bool at line 1, char 9

Select value or Select time also doesnt work... How can i find the corrupt data? Maybe you can help me...

I found out that one or two hours it works and then the influxdb always crashes when i access this data via grafana...

Here the logs:

panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x8 pc=0x5be8f4]

goroutine 155 [running]:
github.com/influxdb/influxdb/tsdb.(*FieldCodec).DecodeByName(0x0, 0xc20874f805,                                                                                                                                0x5, 0x7f983c62b3e8, 0x9, 0x7fffffff, 0x0, 0x0, 0x0, 0x0)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/shard.go:670 +                                                                                                                               0x74
github.com/influxdb/influxdb/tsdb.(*tagSetCursor).Next(0xc208cbef50, 0x13c9ab634                                                                                                                               bb90000, 0x13c9b535dde2e000, 0xc208947748, 0x1, 0x1, 0xec0828, 0x0, 0x0, 0x18, .                                                                                                                               ..)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/mapper.go:512                                                                                                                                +0x4fd
github.com/influxdb/influxdb/tsdb.func·006(0xa231e0, 0x0, 0x0)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/mapper.go:341                                                                                                                                +0x18c
github.com/influxdb/influxdb/tsdb.(*aggTagSetCursor).Next(0xc208037678, 0xc2085f                                                                                                                               29c0, 0x0, 0x0)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/mapper.go:428                                                                                                                                +0x3a
github.com/influxdb/influxdb/influxql.MapMean(0x7f9834167530, 0xc208037678, 0x0,                                                                                                                                0x0)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/influxql/functions.                                                                                                                               go:486 +0x71
github.com/influxdb/influxdb/tsdb.(*LocalMapper).nextChunkAgg(0xc2089ef680, 0x0,                                                                                                                                0x0, 0x0, 0x0)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/mapper.go:351                                                                                                                                +0x8b2
github.com/influxdb/influxdb/tsdb.(*LocalMapper).NextChunk(0xc2089ef680, 0x0, 0x                                                                                                                               0, 0x0, 0x0)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/mapper.go:243                                                                                                                                +0x8b
github.com/influxdb/influxdb/tsdb.(*StatefulMapper).NextChunk(0xc2082976c0, 0xc2                                                                                                                               0853ade0, 0x0, 0x0)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/executor.go:42                                                                                                                                +0x5c
github.com/influxdb/influxdb/tsdb.(*Executor).executeAggregate(0xc208bc1c20, 0xc                                                                                                                               208c348a0)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/executor.go:36                                                                                                                               7 +0x2069
created by github.com/influxdb/influxdb/tsdb.(*Executor).Execute
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/executor.go:84                                                                                                                                +0xd2

goroutine 1 [chan receive]:
main.(*Main).Run(0xc20806bb00, 0xc20800a010, 0x4, 0x4, 0x0, 0x0)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/cmd/influxd/main.go                                                                                                                               :86 +0x73b
main.main()
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/cmd/influxd/main.go                                                                                                                               :38 +0xdc

goroutine 6 [syscall]:
os/signal.loop()
        /usr/local/go/src/os/signal/signal_unix.go:21 +0x1f
created by os/signal.init·1
        /usr/local/go/src/os/signal/signal_unix.go:27 +0x35

goroutine 66 [select]:
github.com/influxdb/influxdb/tsdb/engine/b1.(*Engine).autoflusher(0xc208248000,                                                                                                                                0xc20828e4e0)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:465 +0x391
created by github.com/influxdb/influxdb/tsdb/engine/b1.func·002
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:130 +0x4ac

goroutine 17 [syscall, locked to thread]:
runtime.goexit()
        /usr/local/go/src/runtime/asm_amd64.s:2232 +0x1

goroutine 8 [IO wait]:
net.(*pollDesc).Wait(0xc2080103e0, 0x72, 0x0, 0x0)
        /usr/local/go/src/net/fd_poll_runtime.go:84 +0x47
net.(*pollDesc).WaitRead(0xc2080103e0, 0x0, 0x0)
        /usr/local/go/src/net/fd_poll_runtime.go:89 +0x43
net.(*netFD).accept(0xc208010380, 0x0, 0x7f985ff57e30, 0xc20821af90)
        /usr/local/go/src/net/fd_unix.go:419 +0x40b
net.(*TCPListener).AcceptTCP(0xc208037000, 0x8d5e20, 0x0, 0x0)
        /usr/local/go/src/net/tcpsock_posix.go:234 +0x4e
net.(*TCPListener).Accept(0xc208037000, 0x0, 0x0, 0x0, 0x0)
        /usr/local/go/src/net/tcpsock_posix.go:244 +0x4c
github.com/influxdb/influxdb/tcp.(*Mux).Serve(0xc2080c1b30, 0x7f985ff5e328, 0xc2                                                                                                                               08037000, 0x0, 0x0)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tcp/mux.go:45 +0x57
created by github.com/influxdb/influxdb/cmd/influxd/run.func·003
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/cmd/influxd/run/ser                                                                                                                               ver.go:307 +0x93c

goroutine 9 [chan receive]:
github.com/influxdb/influxdb/tcp.(*listener).Accept(0xc208037008, 0x0, 0x0, 0x0,                                                                                                                                0x0)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tcp/mux.go:117 +0x8                                                                                                                               0
github.com/influxdb/influxdb/meta.(*raftLayer).Accept(0xc2080c1c50, 0x0, 0x0, 0x                                                                                                                               0, 0x0)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/meta/store.go:1971                                                                                                                                +0x64
github.com/hashicorp/raft.(*NetworkTransport).listen(0xc2080104d0)
        /tmp/tmp.cgEqWh5HdB/src/github.com/hashicorp/raft/net_transport.go:346 +                                                                                                                               0x50
created by github.com/hashicorp/raft.NewNetworkTransport
        /tmp/tmp.cgEqWh5HdB/src/github.com/hashicorp/raft/net_transport.go:138 +                                                                                                                               0x2c4

goroutine 10 [select]:
github.com/hashicorp/raft.(*Raft).runFollower(0xc2080c21c0)
        /tmp/tmp.cgEqWh5HdB/src/github.com/hashicorp/raft/raft.go:595 +0x8a0
github.com/hashicorp/raft.(*Raft).run(0xc2080c21c0)
        /tmp/tmp.cgEqWh5HdB/src/github.com/hashicorp/raft/raft.go:580 +0x9c
github.com/hashicorp/raft.*Raft.(github.com/hashicorp/raft.run)·fm()
        /tmp/tmp.cgEqWh5HdB/src/github.com/hashicorp/raft/raft.go:241 +0x27
github.com/hashicorp/raft.func·011()
        /tmp/tmp.cgEqWh5HdB/src/github.com/hashicorp/raft/state.go:152 +0x51
created by github.com/hashicorp/raft.(*raftState).goFunc
        /tmp/tmp.cgEqWh5HdB/src/github.com/hashicorp/raft/state.go:153 +0xe3

goroutine 11 [select]:
github.com/hashicorp/raft.(*Raft).runFSM(0xc2080c21c0)
        /tmp/tmp.cgEqWh5HdB/src/github.com/hashicorp/raft/raft.go:498 +0xf74
github.com/hashicorp/raft.*Raft.(github.com/hashicorp/raft.runFSM)·fm()
        /tmp/tmp.cgEqWh5HdB/src/github.com/hashicorp/raft/raft.go:242 +0x27
github.com/hashicorp/raft.func·011()
        /tmp/tmp.cgEqWh5HdB/src/github.com/hashicorp/raft/state.go:152 +0x51
created by github.com/hashicorp/raft.(*raftState).goFunc
        /tmp/tmp.cgEqWh5HdB/src/github.com/hashicorp/raft/state.go:153 +0xe3

goroutine 12 [select]:
github.com/hashicorp/raft.(*Raft).runSnapshots(0xc2080c21c0)
        /tmp/tmp.cgEqWh5HdB/src/github.com/hashicorp/raft/raft.go:1602 +0x466
github.com/hashicorp/raft.*Raft.(github.com/hashicorp/raft.runSnapshots)·fm()
        /tmp/tmp.cgEqWh5HdB/src/github.com/hashicorp/raft/raft.go:243 +0x27
github.com/hashicorp/raft.func·011()
        /tmp/tmp.cgEqWh5HdB/src/github.com/hashicorp/raft/state.go:152 +0x51
created by github.com/hashicorp/raft.(*raftState).goFunc
        /tmp/tmp.cgEqWh5HdB/src/github.com/hashicorp/raft/state.go:153 +0xe3

goroutine 13 [chan receive]:
github.com/influxdb/influxdb/tcp.(*listener).Accept(0xc208037010, 0x0, 0x0, 0x0,                                                                                                                                0x0)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tcp/mux.go:117 +0x8                                                                                                                               0
github.com/influxdb/influxdb/meta.(*Store).serveExecListener(0xc208042140)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/meta/store.go:574 +                                                                                                                               0x8f
created by github.com/influxdb/influxdb/meta.(*Store).Open
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/meta/store.go:230 +                                                                                                                               0x270

goroutine 14 [chan receive]:
github.com/influxdb/influxdb/tcp.(*listener).Accept(0xc208037018, 0x0, 0x0, 0x0,                                                                                                                                0x0)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tcp/mux.go:117 +0x8                                                                                                                               0
github.com/influxdb/influxdb/meta.(*Store).serveRPCListener(0xc208042140)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/meta/store.go:672 +                                                                                                                               0xc9
created by github.com/influxdb/influxdb/meta.(*Store).Open
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/meta/store.go:233 +                                                                                                                               0x2ba

goroutine 15 [select]:
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).monitorErrorChan(0xc2080b                                                                                                                               20e0, 0xc2080705a0)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/cmd/influxd/run/ser                                                                                                                               ver.go:436 +0x14a
created by github.com/influxdb/influxdb/cmd/influxd/run.func·003
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/cmd/influxd/run/ser                                                                                                                               ver.go:313 +0xaad

goroutine 16 [select]:
github.com/influxdb/influxdb/tsdb/engine/b1.(*Engine).autoflusher(0xc20806e000,                                                                                                                                0xc208180960)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:465 +0x391
created by github.com/influxdb/influxdb/tsdb/engine/b1.func·002
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:130 +0x4ac

goroutine 34 [select]:
github.com/influxdb/influxdb/tsdb/engine/b1.(*Engine).autoflusher(0xc2081d6ea0,                                                                                                                                0xc20815fec0)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:465 +0x391
created by github.com/influxdb/influxdb/tsdb/engine/b1.func·002
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:130 +0x4ac

goroutine 35 [select]:
github.com/influxdb/influxdb/tsdb/engine/b1.(*Engine).autoflusher(0xc2081d7170,                                                                                                                                0xc208181320)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:465 +0x391
created by github.com/influxdb/influxdb/tsdb/engine/b1.func·002
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:130 +0x4ac

goroutine 36 [select]:
github.com/influxdb/influxdb/tsdb/engine/b1.(*Engine).autoflusher(0xc20806f710,                                                                                                                                0xc20815e1e0)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:465 +0x391
created by github.com/influxdb/influxdb/tsdb/engine/b1.func·002
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:130 +0x4ac

goroutine 37 [select]:
github.com/influxdb/influxdb/tsdb/engine/b1.(*Engine).autoflusher(0xc2082482d0,                                                                                                                                0xc20815e7e0)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:465 +0x391
created by github.com/influxdb/influxdb/tsdb/engine/b1.func·002
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:130 +0x4ac

goroutine 38 [select]:
github.com/influxdb/influxdb/tsdb/engine/b1.(*Engine).autoflusher(0xc2082487e0,                                                                                                                                0xc20815eae0)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:465 +0x391
created by github.com/influxdb/influxdb/tsdb/engine/b1.func·002
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:130 +0x4ac

goroutine 39 [select]:
github.com/influxdb/influxdb/tsdb/engine/b1.(*Engine).autoflusher(0xc208248cf0,                                                                                                                                0xc20815eea0)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:465 +0x391
created by github.com/influxdb/influxdb/tsdb/engine/b1.func·002
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:130 +0x4ac

goroutine 40 [select]:
github.com/influxdb/influxdb/tsdb/engine/b1.(*Engine).autoflusher(0xc208249200,                                                                                                                                0xc20815f2c0)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:465 +0x391
created by github.com/influxdb/influxdb/tsdb/engine/b1.func·002
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:130 +0x4ac

goroutine 41 [select]:
github.com/influxdb/influxdb/tsdb/engine/b1.(*Engine).autoflusher(0xc208249710,                                                                                                                                0xc20815faa0)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:465 +0x391
created by github.com/influxdb/influxdb/tsdb/engine/b1.func·002
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:130 +0x4ac

goroutine 42 [select]:
github.com/influxdb/influxdb/tsdb/engine/b1.(*Engine).autoflusher(0xc208249c20,                                                                                                                                0xc20815ff80)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:465 +0x391
created by github.com/influxdb/influxdb/tsdb/engine/b1.func·002
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:130 +0x4ac

goroutine 43 [select]:
github.com/influxdb/influxdb/tsdb/engine/b1.(*Engine).autoflusher(0xc20827a1b0,                                                                                                                                0xc20811e9c0)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:465 +0x391
created by github.com/influxdb/influxdb/tsdb/engine/b1.func·002
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:130 +0x4ac

goroutine 44 [select]:
github.com/influxdb/influxdb/tsdb/engine/b1.(*Engine).autoflusher(0xc20827a750,                                                                                                                                0xc20811fa40)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:465 +0x391
created by github.com/influxdb/influxdb/tsdb/engine/b1.func·002
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:130 +0x4ac

goroutine 45 [select]:
github.com/influxdb/influxdb/tsdb/engine/b1.(*Engine).autoflusher(0xc20827ac60,                                                                                                                                0xc208070f60)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:465 +0x391
created by github.com/influxdb/influxdb/tsdb/engine/b1.func·002
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:130 +0x4ac

goroutine 46 [select]:
github.com/influxdb/influxdb/tsdb/engine/b1.(*Engine).autoflusher(0xc20827b170,                                                                                                                                0xc208298240)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:465 +0x391
created by github.com/influxdb/influxdb/tsdb/engine/b1.func·002
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:130 +0x4ac

goroutine 47 [select]:
github.com/influxdb/influxdb/tsdb/engine/b1.(*Engine).autoflusher(0xc20827b680,                                                                                                                                0xc208298600)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:465 +0x391
created by github.com/influxdb/influxdb/tsdb/engine/b1.func·002
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:130 +0x4ac

goroutine 48 [select]:
github.com/influxdb/influxdb/tsdb/engine/b1.(*Engine).autoflusher(0xc20827bb90,                                                                                                                                0xc208298960)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:465 +0x391
created by github.com/influxdb/influxdb/tsdb/engine/b1.func·002
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:130 +0x4ac

goroutine 49 [select]:
github.com/influxdb/influxdb/tsdb/engine/b1.(*Engine).autoflusher(0xc2082ba120,                                                                                                                                0xc208298c60)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:465 +0x391
created by github.com/influxdb/influxdb/tsdb/engine/b1.func·002
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:130 +0x4ac

goroutine 50 [select]:
github.com/influxdb/influxdb/tsdb/engine/b1.(*Engine).autoflusher(0xc2082ba630,                                                                                                                                0xc208180c00)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:465 +0x391
created by github.com/influxdb/influxdb/tsdb/engine/b1.func·002
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:130 +0x4ac

goroutine 51 [select]:
github.com/influxdb/influxdb/tsdb/engine/b1.(*Engine).autoflusher(0xc2082ba480,                                                                                                                                0xc20815e660)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:465 +0x391
created by github.com/influxdb/influxdb/tsdb/engine/b1.func·002
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:130 +0x4ac

goroutine 52 [select]:
github.com/influxdb/influxdb/tsdb/engine/b1.(*Engine).autoflusher(0xc2082baa20,                                                                                                                                0xc20815ed20)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:465 +0x391
created by github.com/influxdb/influxdb/tsdb/engine/b1.func·002
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:130 +0x4ac

goroutine 53 [select]:
github.com/influxdb/influxdb/tsdb/engine/b1.(*Engine).autoflusher(0xc2082baf30,                                                                                                                                0xc20815f4a0)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:465 +0x391
created by github.com/influxdb/influxdb/tsdb/engine/b1.func·002
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:130 +0x4ac

goroutine 54 [select]:
github.com/influxdb/influxdb/tsdb/engine/b1.(*Engine).autoflusher(0xc2082bb440,                                                                                                                                0xc20811eb40)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:465 +0x391
created by github.com/influxdb/influxdb/tsdb/engine/b1.func·002
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:130 +0x4ac

goroutine 55 [select]:
github.com/influxdb/influxdb/tsdb/engine/b1.(*Engine).autoflusher(0xc2082bb950,                                                                                                                                0xc2080701e0)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:465 +0x391
created by github.com/influxdb/influxdb/tsdb/engine/b1.func·002
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:130 +0x4ac

goroutine 56 [select]:
github.com/influxdb/influxdb/tsdb/engine/b1.(*Engine).autoflusher(0xc2082bbef0,                                                                                                                                0xc208298660)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:465 +0x391
created by github.com/influxdb/influxdb/tsdb/engine/b1.func·002
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:130 +0x4ac

goroutine 57 [select]:
github.com/influxdb/influxdb/tsdb/engine/b1.(*Engine).autoflusher(0xc20827a5a0,                                                                                                                                0xc208299080)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:465 +0x391
created by github.com/influxdb/influxdb/tsdb/engine/b1.func·002
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:130 +0x4ac

goroutine 58 [select]:
github.com/influxdb/influxdb/tsdb/engine/b1.(*Engine).autoflusher(0xc20827ab40,                                                                                                                                0xc208299380)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:465 +0x391
created by github.com/influxdb/influxdb/tsdb/engine/b1.func·002
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:130 +0x4ac

goroutine 59 [select]:
github.com/influxdb/influxdb/tsdb/engine/b1.(*Engine).autoflusher(0xc20827b0e0,                                                                                                                                0xc2082996e0)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:465 +0x391
created by github.com/influxdb/influxdb/tsdb/engine/b1.func·002
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:130 +0x4ac

goroutine 60 [select]:
github.com/influxdb/influxdb/tsdb/engine/b1.(*Engine).autoflusher(0xc20827bb00,                                                                                                                                0xc2082669c0)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:465 +0x391
created by github.com/influxdb/influxdb/tsdb/engine/b1.func·002
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:130 +0x4ac

goroutine 67 [select]:
github.com/influxdb/influxdb/tsdb/engine/b1.(*Engine).autoflusher(0xc208249320,                                                                                                                                0xc20833e960)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:465 +0x391
created by github.com/influxdb/influxdb/tsdb/engine/b1.func·002
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:130 +0x4ac

goroutine 61 [select]:
github.com/influxdb/influxdb/tsdb/engine/b1.(*Engine).autoflusher(0xc2082485a0,                                                                                                                                0xc20811ee40)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:465 +0x391
created by github.com/influxdb/influxdb/tsdb/engine/b1.func·002
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:130 +0x4ac

goroutine 62 [select]:
github.com/influxdb/influxdb/tsdb/engine/b1.(*Engine).autoflusher(0xc2082493b0,                                                                                                                                0xc20826e2a0)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:465 +0x391
created by github.com/influxdb/influxdb/tsdb/engine/b1.func·002
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:130 +0x4ac

goroutine 63 [select]:
github.com/influxdb/influxdb/tsdb/engine/b1.(*Engine).autoflusher(0xc208248090,                                                                                                                                0xc20833fce0)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:465 +0x391
created by github.com/influxdb/influxdb/tsdb/engine/b1.func·002
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:130 +0x4ac

goroutine 64 [select]:
github.com/influxdb/influxdb/tsdb/engine/b1.(*Engine).autoflusher(0xc208249290,                                                                                                                                0xc20828e6c0)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:465 +0x391
created by github.com/influxdb/influxdb/tsdb/engine/b1.func·002
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:130 +0x4ac

goroutine 65 [select]:
github.com/influxdb/influxdb/tsdb/engine/b1.(*Engine).autoflusher(0xc208249ef0,                                                                                                                                0xc20828ea20)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:465 +0x391
created by github.com/influxdb/influxdb/tsdb/engine/b1.func·002
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:130 +0x4ac

goroutine 82 [select]:
github.com/influxdb/influxdb/tsdb/engine/b1.(*Engine).autoflusher(0xc2082bab40,                                                                                                                                0xc20832e420)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:465 +0x391
created by github.com/influxdb/influxdb/tsdb/engine/b1.func·002
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:130 +0x4ac

goroutine 83 [select]:
github.com/influxdb/influxdb/tsdb/engine/b1.(*Engine).autoflusher(0xc2085d4750,                                                                                                                                0xc2082995c0)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:465 +0x391
created by github.com/influxdb/influxdb/tsdb/engine/b1.func·002
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/engine/b1/b1.g                                                                                                                               o:130 +0x4ac

goroutine 84 [select]:
github.com/influxdb/influxdb/services/hh.(*Service).retryWrites(0xc2080412c0)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/services/hh/service                                                                                                                               .go:98 +0x2e7
created by github.com/influxdb/influxdb/services/hh.(*Service).Open
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/services/hh/service                                                                                                                               .go:62 +0xef

goroutine 85 [select]:
github.com/influxdb/influxdb/services/hh.(*Service).expireWrites(0xc2080412c0)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/services/hh/service                                                                                                                               .go:116 +0x2a4
created by github.com/influxdb/influxdb/services/hh.(*Service).Open
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/services/hh/service                                                                                                                               .go:63 +0x109

goroutine 86 [chan receive]:
github.com/influxdb/influxdb/tcp.(*listener).Accept(0xc208037020, 0x0, 0x0, 0x0,                                                                                                                                0x0)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tcp/mux.go:117 +0x8                                                                                                                               0
github.com/influxdb/influxdb/cluster.(*Service).serve(0xc2080102a0)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/cluster/service.go:                                                                                                                               81 +0x102
created by github.com/influxdb/influxdb/cluster.(*Service).Open
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/cluster/service.go:                                                                                                                               58 +0x67

goroutine 87 [select]:
github.com/influxdb/influxdb/services/precreator.(*Service).runPrecreation(0xc20                                                                                                                               800b540)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/services/precreator                                                                                                                               /service.go:72 +0x407
created by github.com/influxdb/influxdb/services/precreator.(*Service).Open
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/services/precreator                                                                                                                               /service.go:50 +0xcb

goroutine 88 [chan receive]:
github.com/influxdb/influxdb/tcp.(*listener).Accept(0xc208037028, 0x0, 0x0, 0x0,                                                                                                                                0x0)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tcp/mux.go:117 +0x8                                                                                                                               0
github.com/influxdb/influxdb/services/snapshotter.(*Service).serve(0xc20800b630)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/services/snapshotte                                                                                                                               r/service.go:68 +0xad
created by github.com/influxdb/influxdb/services/snapshotter.(*Service).Open
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/services/snapshotte                                                                                                                               r/service.go:46 +0x62

goroutine 89 [IO wait]:
net.(*pollDesc).Wait(0xc208d4d330, 0x72, 0x0, 0x0)
        /usr/local/go/src/net/fd_poll_runtime.go:84 +0x47
net.(*pollDesc).WaitRead(0xc208d4d330, 0x0, 0x0)
        /usr/local/go/src/net/fd_poll_runtime.go:89 +0x43
net.(*netFD).accept(0xc208d4d2d0, 0x0, 0x7f985ff57e30, 0xc208188ca0)
        /usr/local/go/src/net/fd_unix.go:419 +0x40b
net.(*TCPListener).AcceptTCP(0xc208130a80, 0xc2085cee00, 0x0, 0x0)
        /usr/local/go/src/net/tcpsock_posix.go:234 +0x4e
net.(*TCPListener).Accept(0xc208130a80, 0x0, 0x0, 0x0, 0x0)
        /usr/local/go/src/net/tcpsock_posix.go:244 +0x4c
net/http.(*Server).Serve(0xc208c46060, 0x7f985ff5e328, 0xc208130a80, 0x0, 0x0)
        /usr/local/go/src/net/http/server.go:1728 +0x92
net/http.Serve(0x7f985ff5e328, 0xc208130a80, 0x7f9834163ee0, 0xc208188c60, 0x0,                                                                                                                                0x0)
        /usr/local/go/src/net/http/server.go:1606 +0xa1
github.com/influxdb/influxdb/services/admin.(*Service).serve(0xc20800b6d0)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/services/admin/serv                                                                                                                               ice.go:105 +0x147
created by github.com/influxdb/influxdb/services/admin.(*Service).Open
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/services/admin/serv                                                                                                                               ice.go:68 +0x431

goroutine 90 [IO wait]:
net.(*pollDesc).Wait(0xc208d4d560, 0x72, 0x0, 0x0)
        /usr/local/go/src/net/fd_poll_runtime.go:84 +0x47
net.(*pollDesc).WaitRead(0xc208d4d560, 0x0, 0x0)
        /usr/local/go/src/net/fd_poll_runtime.go:89 +0x43
net.(*netFD).accept(0xc208d4d500, 0x0, 0x7f985ff57e30, 0xc2089f5110)
        /usr/local/go/src/net/fd_unix.go:419 +0x40b
net.(*TCPListener).AcceptTCP(0xc208130a88, 0xc20802ddc8, 0x0, 0x0)
        /usr/local/go/src/net/tcpsock_posix.go:234 +0x4e
net.(*TCPListener).Accept(0xc208130a88, 0x0, 0x0, 0x0, 0x0)
        /usr/local/go/src/net/tcpsock_posix.go:244 +0x4c
net/http.(*Server).Serve(0xc2089120c0, 0x7f985ff5e328, 0xc208130a88, 0x0, 0x0)
        /usr/local/go/src/net/http/server.go:1728 +0x92
net/http.Serve(0x7f985ff5e328, 0xc208130a88, 0x7f9834163e40, 0xc208010310, 0x0,                                                                                                                                0x0)
        /usr/local/go/src/net/http/server.go:1606 +0xa1
github.com/influxdb/influxdb/services/httpd.(*Service).serve(0xc20800b7c0)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/services/httpd/serv                                                                                                                               ice.go:107 +0x79
created by github.com/influxdb/influxdb/services/httpd.(*Service).Open
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/services/httpd/serv                                                                                                                               ice.go:75 +0x590

goroutine 91 [select]:
github.com/influxdb/influxdb/services/retention.(*Service).deleteShardGroups(0xc                                                                                                                               208070a80)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/services/retention/                                                                                                                               service.go:67 +0x433
created by github.com/influxdb/influxdb/services/retention.(*Service).Open
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/services/retention/                                                                                                                               service.go:44 +0x67

goroutine 92 [select]:
github.com/influxdb/influxdb/services/retention.(*Service).deleteShards(0xc20807                                                                                                                               0a80)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/services/retention/                                                                                                                               service.go:101 +0x821
created by github.com/influxdb/influxdb/services/retention.(*Service).Open
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/services/retention/                                                                                                                               service.go:45 +0x81

goroutine 93 [chan receive]:
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).startServerReporting(0xc2                                                                                                                               080b20e0)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/cmd/influxd/run/ser                                                                                                                               ver.go:387 +0x1d7
created by github.com/influxdb/influxdb/cmd/influxd/run.func·003
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/cmd/influxd/run/ser                                                                                                                               ver.go:336 +0xf58

goroutine 94 [select]:
github.com/influxdb/influxdb/cmd/influxd/run.(*Command).monitorServerErrors(0xc2                                                                                                                               08011c00)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/cmd/influxd/run/com                                                                                                                               mand.go:130 +0x2da
created by github.com/influxdb/influxdb/cmd/influxd/run.(*Command).Run
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/cmd/influxd/run/com                                                                                                                               mand.go:112 +0xc51

goroutine 102 [select]:
github.com/influxdb/influxdb/cluster.func·004()
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/cluster/service.go:                                                                                                                               119 +0xff
created by github.com/influxdb/influxdb/cluster.(*Service).handleConn
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/cluster/service.go:                                                                                                                               124 +0x188

goroutine 101 [IO wait]:
net.(*pollDesc).Wait(0xc208964220, 0x72, 0x0, 0x0)
        /usr/local/go/src/net/fd_poll_runtime.go:84 +0x47
net.(*pollDesc).WaitRead(0xc208964220, 0x0, 0x0)
        /usr/local/go/src/net/fd_poll_runtime.go:89 +0x43
net.(*netFD).Read(0xc2089641c0, 0xc208709180, 0x1, 0x1, 0x0, 0x7f985ff57e30, 0xc                                                                                                                               208709188)
        /usr/local/go/src/net/fd_unix.go:242 +0x40f
net.(*conn).Read(0xc20886a018, 0xc208709180, 0x1, 0x1, 0x0, 0x0, 0x0)
        /usr/local/go/src/net/net.go:121 +0xdc
io.ReadAtLeast(0x7f9834164110, 0xc20886a018, 0xc208709180, 0x1, 0x1, 0x1, 0x0, 0                                                                                                                               x0, 0x0)
        /usr/local/go/src/io/io.go:298 +0xf1
io.ReadFull(0x7f9834164110, 0xc20886a018, 0xc208709180, 0x1, 0x1, 0xc208709168,                                                                                                                                0x0, 0x0)
        /usr/local/go/src/io/io.go:316 +0x6d
github.com/influxdb/influxdb/cluster.ReadTLV(0x7f9834164110, 0xc20886a018, 0xc20                                                                                                                               886a018, 0x0, 0x0, 0x0, 0x0, 0x0)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/cluster/service.go:                                                                                                                               291 +0xd8
github.com/influxdb/influxdb/cluster.(*Service).handleConn(0xc2080102a0, 0x7f983                                                                                                                               4164010, 0xc20886a018)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/cluster/service.go:                                                                                                                               132 +0x37f
github.com/influxdb/influxdb/cluster.func·003()
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/cluster/service.go:                                                                                                                               95 +0x74
created by github.com/influxdb/influxdb/cluster.(*Service).serve
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/cluster/service.go:                                                                                                                               96 +0x428

goroutine 100 [IO wait]:
net.(*pollDesc).Wait(0xc2088bbd40, 0x72, 0x0, 0x0)
        /usr/local/go/src/net/fd_poll_runtime.go:84 +0x47
net.(*pollDesc).WaitRead(0xc2088bbd40, 0x0, 0x0)
        /usr/local/go/src/net/fd_poll_runtime.go:89 +0x43
net.(*netFD).Read(0xc2088bbce0, 0xc208c0d000, 0x1000, 0x1000, 0x0, 0x7f985ff57e3                                                                                                                               0, 0xc20874e9c0)
        /usr/local/go/src/net/fd_unix.go:242 +0x40f
net.(*conn).Read(0xc20888c270, 0xc208c0d000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
        /usr/local/go/src/net/net.go:121 +0xdc
bufio.(*Reader).fill(0xc208c462a0)
        /usr/local/go/src/bufio/bufio.go:97 +0x1ce
bufio.(*Reader).ReadByte(0xc208c462a0, 0x300000002, 0x0, 0x0)
        /usr/local/go/src/bufio/bufio.go:196 +0x86
github.com/hashicorp/raft.(*NetworkTransport).handleCommand(0xc2080104d0, 0xc208                                                                                                                               c462a0, 0xc208c46300, 0xc208964150, 0x0, 0x0)
        /tmp/tmp.cgEqWh5HdB/src/github.com/hashicorp/raft/net_transport.go:386 +                                                                                                                               0x4e
github.com/hashicorp/raft.(*NetworkTransport).handleConn(0xc2080104d0, 0x7f98341                                                                                                                               64010, 0xc20888c270)
        /tmp/tmp.cgEqWh5HdB/src/github.com/hashicorp/raft/net_transport.go:370 +                                                                                                                               0x278
created by github.com/hashicorp/raft.(*NetworkTransport).listen
        /tmp/tmp.cgEqWh5HdB/src/github.com/hashicorp/raft/net_transport.go:357 +                                                                                                                               0x34b

goroutine 122 [IO wait]:
net.(*pollDesc).Wait(0xc208d4dd40, 0x72, 0x0, 0x0)
        /usr/local/go/src/net/fd_poll_runtime.go:84 +0x47
net.(*pollDesc).WaitRead(0xc208d4dd40, 0x0, 0x0)
        /usr/local/go/src/net/fd_poll_runtime.go:89 +0x43
net.(*netFD).Read(0xc208d4dce0, 0xc208839000, 0x1000, 0x1000, 0x0, 0x7f985ff57e3                                                                                                                               0, 0xc20874e828)
        /usr/local/go/src/net/fd_unix.go:242 +0x40f
net.(*conn).Read(0xc208130b68, 0xc208839000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
        /usr/local/go/src/net/net.go:121 +0xdc
bufio.(*Reader).fill(0xc2086399e0)
        /usr/local/go/src/bufio/bufio.go:97 +0x1ce
bufio.(*Reader).ReadByte(0xc2086399e0, 0x300000002, 0x0, 0x0)
        /usr/local/go/src/bufio/bufio.go:196 +0x86
github.com/hashicorp/raft.(*NetworkTransport).handleCommand(0xc2080104d0, 0xc208                                                                                                                               6399e0, 0xc208639a40, 0xc208d4ddc0, 0x0, 0x0)
        /tmp/tmp.cgEqWh5HdB/src/github.com/hashicorp/raft/net_transport.go:386 +                                                                                                                               0x4e
github.com/hashicorp/raft.(*NetworkTransport).handleConn(0xc2080104d0, 0x7f98341                                                                                                                               64010, 0xc208130b68)
        /tmp/tmp.cgEqWh5HdB/src/github.com/hashicorp/raft/net_transport.go:370 +                                                                                                                               0x278
created by github.com/hashicorp/raft.(*NetworkTransport).listen
        /tmp/tmp.cgEqWh5HdB/src/github.com/hashicorp/raft/net_transport.go:357 +                                                                                                                               0x34b

goroutine 119 [IO wait]:
net.(*pollDesc).Wait(0xc208d4db80, 0x72, 0x0, 0x0)
        /usr/local/go/src/net/fd_poll_runtime.go:84 +0x47
net.(*pollDesc).WaitRead(0xc208d4db80, 0x0, 0x0)
        /usr/local/go/src/net/fd_poll_runtime.go:89 +0x43
net.(*netFD).Read(0xc208d4db20, 0xc208836000, 0x1000, 0x1000, 0x0, 0x7f985ff57e3                                                                                                                               0, 0xc208496058)
        /usr/local/go/src/net/fd_unix.go:242 +0x40f
net.(*conn).Read(0xc208130b50, 0xc208836000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
        /usr/local/go/src/net/net.go:121 +0xdc
net/http.(*liveSwitchReader).Read(0xc208040548, 0xc208836000, 0x1000, 0x1000, 0x                                                                                                                               0, 0x0, 0x0)
        /usr/local/go/src/net/http/server.go:214 +0xab
io.(*LimitedReader).Read(0xc2087cb520, 0xc208836000, 0x1000, 0x1000, 0xc20880f94                                                                                                                               0, 0x0, 0x0)
        /usr/local/go/src/io/io.go:408 +0xce
bufio.(*Reader).fill(0xc208639920)
        /usr/local/go/src/bufio/bufio.go:97 +0x1ce
bufio.(*Reader).ReadSlice(0xc208639920, 0xa, 0x0, 0x0, 0x0, 0x0, 0x0)
        /usr/local/go/src/bufio/bufio.go:295 +0x257
bufio.(*Reader).ReadLine(0xc208639920, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
        /usr/local/go/src/bufio/bufio.go:324 +0x62
net/textproto.(*Reader).readLineSlice(0xc20877f530, 0x0, 0x0, 0x0, 0x0, 0x0)
        /usr/local/go/src/net/textproto/reader.go:55 +0x9e
net/textproto.(*Reader).ReadLine(0xc20877f530, 0x0, 0x0, 0x0, 0x0)
        /usr/local/go/src/net/textproto/reader.go:36 +0x4f
net/http.ReadRequest(0xc208639920, 0xc2085a0ea0, 0x0, 0x0)
        /usr/local/go/src/net/http/request.go:598 +0xcb
net/http.(*conn).readRequest(0xc208040500, 0x0, 0x0, 0x0)
        /usr/local/go/src/net/http/server.go:586 +0x26f
net/http.(*conn).serve(0xc208040500)
        /usr/local/go/src/net/http/server.go:1162 +0x69e
created by net/http.(*Server).Serve
        /usr/local/go/src/net/http/server.go:1751 +0x35e

goroutine 131 [IO wait]:
net.(*pollDesc).Wait(0xc20872c290, 0x72, 0x0, 0x0)
        /usr/local/go/src/net/fd_poll_runtime.go:84 +0x47
net.(*pollDesc).WaitRead(0xc20872c290, 0x0, 0x0)
        /usr/local/go/src/net/fd_poll_runtime.go:89 +0x43
net.(*netFD).Read(0xc20872c230, 0xc208735000, 0x1000, 0x1000, 0x0, 0x7f985ff57e3                                                                                                                               0, 0xc2087038f8)
        /usr/local/go/src/net/fd_unix.go:242 +0x40f
net.(*conn).Read(0xc20886a870, 0xc208735000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
        /usr/local/go/src/net/net.go:121 +0xdc
net/http.(*liveSwitchReader).Read(0xc20875c048, 0xc208735000, 0x1000, 0x1000, 0x                                                                                                                               2c00000000000002, 0x0, 0x0)
        /usr/local/go/src/net/http/server.go:214 +0xab
io.(*LimitedReader).Read(0xc208755100, 0xc208735000, 0x1000, 0x1000, 0x2, 0x0, 0                                                                                                                               x0)
        /usr/local/go/src/io/io.go:408 +0xce
bufio.(*Reader).fill(0xc20832e360)
        /usr/local/go/src/bufio/bufio.go:97 +0x1ce
bufio.(*Reader).ReadSlice(0xc20832e360, 0xa, 0x0, 0x0, 0x0, 0x0, 0x0)
        /usr/local/go/src/bufio/bufio.go:295 +0x257
bufio.(*Reader).ReadLine(0xc20832e360, 0x0, 0x0, 0x0, 0xc207f95700, 0x0, 0x0)
        /usr/local/go/src/bufio/bufio.go:324 +0x62
net/textproto.(*Reader).readLineSlice(0xc2086a8570, 0x0, 0x0, 0x0, 0x0, 0x0)
        /usr/local/go/src/net/textproto/reader.go:55 +0x9e
net/textproto.(*Reader).ReadLine(0xc2086a8570, 0x0, 0x0, 0x0, 0x0)
        /usr/local/go/src/net/textproto/reader.go:36 +0x4f
net/http.ReadRequest(0xc20832e360, 0xc2085c6a90, 0x0, 0x0)
        /usr/local/go/src/net/http/request.go:598 +0xcb
net/http.(*conn).readRequest(0xc20875c000, 0x0, 0x0, 0x0)
        /usr/local/go/src/net/http/server.go:586 +0x26f
net/http.(*conn).serve(0xc20875c000)
        /usr/local/go/src/net/http/server.go:1162 +0x69e
created by net/http.(*Server).Serve
        /usr/local/go/src/net/http/server.go:1751 +0x35e

goroutine 21 [runnable]:
github.com/influxdb/influxdb/tsdb.(*MapperOutput).key(0xc208536f30, 0xc208536f30                                                                                                                               , 0x0)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/mapper.go:35
github.com/influxdb/influxdb/tsdb.(*Executor).executeAggregate(0xc2089daf30, 0xc                                                                                                                               2087c11a0)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/executor.go:37                                                                                                                               9 +0x21ad
created by github.com/influxdb/influxdb/tsdb.(*Executor).Execute
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/executor.go:84                                                                                                                                +0xd2

goroutine 148 [IO wait]:
net.(*pollDesc).Wait(0xc208dc8060, 0x72, 0x0, 0x0)
        /usr/local/go/src/net/fd_poll_runtime.go:84 +0x47
net.(*pollDesc).WaitRead(0xc208dc8060, 0x0, 0x0)
        /usr/local/go/src/net/fd_poll_runtime.go:89 +0x43
net.(*netFD).Read(0xc208dc8000, 0xc2088bc000, 0x1000, 0x1000, 0x0, 0x7f985ff57e3                                                                                                                               0, 0xc2089f4de0)
        /usr/local/go/src/net/fd_unix.go:242 +0x40f
net.(*conn).Read(0xc2081305d0, 0xc2088bc000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
        /usr/local/go/src/net/net.go:121 +0xdc
net/http.(*liveSwitchReader).Read(0xc20875c0e8, 0xc2088bc000, 0x1000, 0x1000, 0x                                                                                                                               2c00000000000002, 0x0, 0x0)
        /usr/local/go/src/net/http/server.go:214 +0xab
io.(*LimitedReader).Read(0xc2083bace0, 0xc2088bc000, 0x1000, 0x1000, 0x2, 0x0, 0                                                                                                                               x0)
        /usr/local/go/src/io/io.go:408 +0xce
bufio.(*Reader).fill(0xc2086fcea0)
        /usr/local/go/src/bufio/bufio.go:97 +0x1ce
bufio.(*Reader).ReadSlice(0xc2086fcea0, 0xa, 0x0, 0x0, 0x0, 0x0, 0x0)
        /usr/local/go/src/bufio/bufio.go:295 +0x257
bufio.(*Reader).ReadLine(0xc2086fcea0, 0x0, 0x0, 0x0, 0xc207f26100, 0x0, 0x0)
        /usr/local/go/src/bufio/bufio.go:324 +0x62
net/textproto.(*Reader).readLineSlice(0xc208d9e420, 0x0, 0x0, 0x0, 0x0, 0x0)
        /usr/local/go/src/net/textproto/reader.go:55 +0x9e
net/textproto.(*Reader).ReadLine(0xc208d9e420, 0x0, 0x0, 0x0, 0x0)
        /usr/local/go/src/net/textproto/reader.go:36 +0x4f
net/http.ReadRequest(0xc2086fcea0, 0xc2085c6750, 0x0, 0x0)
        /usr/local/go/src/net/http/request.go:598 +0xcb
net/http.(*conn).readRequest(0xc20875c0a0, 0x0, 0x0, 0x0)
        /usr/local/go/src/net/http/server.go:586 +0x26f
net/http.(*conn).serve(0xc20875c0a0)
        /usr/local/go/src/net/http/server.go:1162 +0x69e
created by net/http.(*Server).Serve
        /usr/local/go/src/net/http/server.go:1751 +0x35e

goroutine 19 [chan receive]:
github.com/influxdb/influxdb/services/httpd.(*Handler).serveQuery(0xc208010310,                                                                                                                                0x7f9834164318, 0xc2085d8a60, 0xc2085c6d00, 0x0)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/services/httpd/hand                                                                                                                               ler.go:264 +0xa44
github.com/influxdb/influxdb/services/httpd.*Handler.(github.com/influxdb/influx                                                                                                                               db/services/httpd.serveQuery)·fm(0x7f9834164318, 0xc2085d8a60, 0xc2085c6d00, 0x0                                                                                                                               )
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/services/httpd/hand                                                                                                                               ler.go:95 +0x4f
github.com/influxdb/influxdb/services/httpd.func·001(0x7f9834164318, 0xc2085d8a6                                                                                                                               0, 0xc2085c6d00)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/services/httpd/hand                                                                                                                               ler.go:612 +0x78
net/http.HandlerFunc.ServeHTTP(0xc2080f3080, 0x7f9834164318, 0xc2085d8a60, 0xc20                                                                                                                               85c6d00)
        /usr/local/go/src/net/http/server.go:1265 +0x41
github.com/influxdb/influxdb/services/httpd.func·002(0x7f9834164240, 0xc2085d898                                                                                                                               0, 0xc2085c6d00)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/services/httpd/hand                                                                                                                               ler.go:670 +0x288
net/http.HandlerFunc.ServeHTTP(0xc2080ed0e0, 0x7f9834164240, 0xc2085d8980, 0xc20                                                                                                                               85c6d00)
        /usr/local/go/src/net/http/server.go:1265 +0x41
github.com/influxdb/influxdb/services/httpd.func·003(0x7f9834164240, 0xc2085d898                                                                                                                               0, 0xc2085c6d00)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/services/httpd/hand                                                                                                                               ler.go:679 +0xba
net/http.HandlerFunc.ServeHTTP(0xc2080f30a0, 0x7f9834164240, 0xc2085d8980, 0xc20                                                                                                                               85c6d00)
        /usr/local/go/src/net/http/server.go:1265 +0x41
github.com/influxdb/influxdb/services/httpd.func·004(0x7f9834164240, 0xc2085d898                                                                                                                               0, 0xc2085c6d00)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/services/httpd/hand                                                                                                                               ler.go:712 +0x31a
net/http.HandlerFunc.ServeHTTP(0xc2080ed110, 0x7f9834164240, 0xc2085d8980, 0xc20                                                                                                                               85c6d00)
        /usr/local/go/src/net/http/server.go:1265 +0x41
github.com/influxdb/influxdb/services/httpd.func·005(0x7f9834164240, 0xc2085d898                                                                                                                               0, 0xc2085c6d00)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/services/httpd/hand                                                                                                                               ler.go:722 +0x179
net/http.HandlerFunc.ServeHTTP(0xc2080ed130, 0x7f9834164240, 0xc2085d8980, 0xc20                                                                                                                               85c6d00)
        /usr/local/go/src/net/http/server.go:1265 +0x41
github.com/influxdb/influxdb/services/httpd.func·006(0x7f9834164240, 0xc2085d894                                                                                                                               0, 0xc2085c6d00)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/services/httpd/hand                                                                                                                               ler.go:730 +0x123
net/http.HandlerFunc.ServeHTTP(0xc2080f30c0, 0x7f9834164240, 0xc2085d8940, 0xc20                                                                                                                               85c6d00)
        /usr/local/go/src/net/http/server.go:1265 +0x41
github.com/influxdb/influxdb/services/httpd.func·007(0x7f9834164208, 0xc20804000                                                                                                                               0, 0xc2085c6d00)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/services/httpd/hand                                                                                                                               ler.go:740 +0x12c
net/http.HandlerFunc.ServeHTTP(0xc2080f30e0, 0x7f9834164208, 0xc208040000, 0xc20                                                                                                                               85c6d00)
        /usr/local/go/src/net/http/server.go:1265 +0x41
github.com/bmizerany/pat.(*PatternServeMux).ServeHTTP(0xc208036f08, 0x7f98341642                                                                                                                               08, 0xc208040000, 0xc2085c6d00)
        /tmp/tmp.cgEqWh5HdB/src/github.com/bmizerany/pat/mux.go:109 +0x21c
github.com/influxdb/influxdb/services/httpd.(*Handler).ServeHTTP(0xc208010310, 0                                                                                                                               x7f9834164208, 0xc208040000, 0xc2085c6d00)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/services/httpd/hand                                                                                                                               ler.go:171 +0x256
net/http.serverHandler.ServeHTTP(0xc2089120c0, 0x7f9834164208, 0xc208040000, 0xc                                                                                                                               2085c6d00)
        /usr/local/go/src/net/http/server.go:1703 +0x19a
net/http.(*conn).serve(0xc208041540)
        /usr/local/go/src/net/http/server.go:1204 +0xb57
created by net/http.(*Server).Serve
        /usr/local/go/src/net/http/server.go:1751 +0x35e

goroutine 153 [chan receive]:
github.com/influxdb/influxdb/services/httpd.(*Handler).serveQuery(0xc208010310,                                                                                                                                0x7f9834164318, 0xc2083c5720, 0xc2085d3380, 0x0)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/services/httpd/hand                                                                                                                               ler.go:264 +0xa44
github.com/influxdb/influxdb/services/httpd.*Handler.(github.com/influxdb/influx                                                                                                                               db/services/httpd.serveQuery)·fm(0x7f9834164318, 0xc2083c5720, 0xc2085d3380, 0x0                                                                                                                               )
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/services/httpd/hand                                                                                                                               ler.go:95 +0x4f
github.com/influxdb/influxdb/services/httpd.func·001(0x7f9834164318, 0xc2083c572                                                                                                                               0, 0xc2085d3380)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/services/httpd/hand                                                                                                                               ler.go:612 +0x78
net/http.HandlerFunc.ServeHTTP(0xc2080f3080, 0x7f9834164318, 0xc2083c5720, 0xc20                                                                                                                               85d3380)
        /usr/local/go/src/net/http/server.go:1265 +0x41
github.com/influxdb/influxdb/services/httpd.func·002(0x7f9834164240, 0xc2083c56c                                                                                                                               0, 0xc2085d3380)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/services/httpd/hand                                                                                                                               ler.go:670 +0x288
net/http.HandlerFunc.ServeHTTP(0xc2080ed0e0, 0x7f9834164240, 0xc2083c56c0, 0xc20                                                                                                                               85d3380)
        /usr/local/go/src/net/http/server.go:1265 +0x41
github.com/influxdb/influxdb/services/httpd.func·003(0x7f9834164240, 0xc2083c56c                                                                                                                               0, 0xc2085d3380)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/services/httpd/hand                                                                                                                               ler.go:679 +0xba
net/http.HandlerFunc.ServeHTTP(0xc2080f30a0, 0x7f9834164240, 0xc2083c56c0, 0xc20                                                                                                                               85d3380)
        /usr/local/go/src/net/http/server.go:1265 +0x41
github.com/influxdb/influxdb/services/httpd.func·004(0x7f9834164240, 0xc2083c56c                                                                                                                               0, 0xc2085d3380)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/services/httpd/hand                                                                                                                               ler.go:712 +0x31a
net/http.HandlerFunc.ServeHTTP(0xc2080ed110, 0x7f9834164240, 0xc2083c56c0, 0xc20                                                                                                                               85d3380)
        /usr/local/go/src/net/http/server.go:1265 +0x41
github.com/influxdb/influxdb/services/httpd.func·005(0x7f9834164240, 0xc2083c56c                                                                                                                               0, 0xc2085d3380)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/services/httpd/hand                                                                                                                               ler.go:722 +0x179
net/http.HandlerFunc.ServeHTTP(0xc2080ed130, 0x7f9834164240, 0xc2083c56c0, 0xc20                                                                                                                               85d3380)
        /usr/local/go/src/net/http/server.go:1265 +0x41
github.com/influxdb/influxdb/services/httpd.func·006(0x7f9834164240, 0xc2083c562                                                                                                                               0, 0xc2085d3380)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/services/httpd/hand                                                                                                                               ler.go:730 +0x123
net/http.HandlerFunc.ServeHTTP(0xc2080f30c0, 0x7f9834164240, 0xc2083c5620, 0xc20                                                                                                                               85d3380)
        /usr/local/go/src/net/http/server.go:1265 +0x41
github.com/influxdb/influxdb/services/httpd.func·007(0x7f9834164208, 0xc20875c28                                                                                                                               0, 0xc2085d3380)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/services/httpd/hand                                                                                                                               ler.go:740 +0x12c
net/http.HandlerFunc.ServeHTTP(0xc2080f30e0, 0x7f9834164208, 0xc20875c280, 0xc20                                                                                                                               85d3380)
        /usr/local/go/src/net/http/server.go:1265 +0x41
github.com/bmizerany/pat.(*PatternServeMux).ServeHTTP(0xc208036f08, 0x7f98341642                                                                                                                               08, 0xc20875c280, 0xc2085d3380)
        /tmp/tmp.cgEqWh5HdB/src/github.com/bmizerany/pat/mux.go:109 +0x21c
github.com/influxdb/influxdb/services/httpd.(*Handler).ServeHTTP(0xc208010310, 0                                                                                                                               x7f9834164208, 0xc20875c280, 0xc2085d3380)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/services/httpd/hand                                                                                                                               ler.go:171 +0x256
net/http.serverHandler.ServeHTTP(0xc2089120c0, 0x7f9834164208, 0xc20875c280, 0xc                                                                                                                               2085d3380)
        /usr/local/go/src/net/http/server.go:1703 +0x19a
net/http.(*conn).serve(0xc20875c1e0)
        /usr/local/go/src/net/http/server.go:1204 +0xb57
created by net/http.(*Server).Serve
        /usr/local/go/src/net/http/server.go:1751 +0x35e

goroutine 154 [chan receive]:
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement(0xc208                                                                                                                               06bc40, 0x0, 0xc2080a4600, 0xc20828fbc0, 0x2710, 0x0, 0x0)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/query_executor                                                                                                                               .go:271 +0x136
github.com/influxdb/influxdb/tsdb.func·008()
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/query_executor                                                                                                                               .go:146 +0x6bd
created by github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/query_executor                                                                                                                               .go:196 +0x1f5

goroutine 20 [chan receive]:
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement(0xc208                                                                                                                               06bc40, 0x0, 0xc20882e600, 0xc2087c0480, 0x2710, 0x0, 0x0)
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/query_executor                                                                                                                               .go:271 +0x136
github.com/influxdb/influxdb/tsdb.func·008()
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/query_executor                                                                                                                               .go:146 +0x6bd
created by github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery
        /tmp/tmp.cgEqWh5HdB/src/github.com/influxdb/influxdb/tsdb/query_executor                                                                                                                               .go:196 +0x1f5
beckettsean commented 9 years ago

@diiidiii please provide a sample of your write statements, especially for a point in the log_file_sync measurement. Certainly you are hitting a bug of some sort, but without knowing more about the underlying data we can't be sure what bug it is.

Select value or Select time also doesnt work...

What error do you get for select value from log_file_sync limit 10?

select time is not a valid statement in InfluxQL. Times are part of the return but cannot be queried directly.

beckettsean commented 9 years ago

Also, what version of InfluxDB are you running?

ghost commented 9 years ago

InfluxDB Version is 0.9.3-nightly-401f1b2. I tested yesterday many hours and found out that in my python script the timestamp is "wrong". After i import the data with my script everything is working but after 10 - 15 minutes i cant access the data and when i open the dashboard on grafana the influxdb goes panic. Now i import the data with no timestamp and it works fine. The timestamp i create with the following:

timestamp = str(int(time.mktime(datetime.datetime.strptime(timestamp_ora, "%Y-%m-%d %H:%M:%S").timetuple()))) And then i send the data to influxdb over the api: os.system("curl -i -XPOST 'http://iqtsdb01:8086/write?db=oracle4&precision=s' -d 'log_file_sync,sid=" + sid + ",table=" + table_name + " value=" + value + " " + timestamp + "'")

When i execute your statement i get a empty result

select value from log_file_sync limit 10

beckettsean commented 9 years ago

Timestamps should be submitted as Unix epoch values, not as date-time strings. I can't tell if your code does that or not. Please provide an actual example of the submitted point, if possible. The precise syntax of the write statements will help us understand what might be happening with the data. I suspect this is a configuration issue, not an actual bug in the database.

ghost commented 9 years ago

Ok an example: from our database we get this date: 2011-11-08 04:45:02.446000 Then I convert this to the timestamp with the date-time function in python: 1320723902 I have to cast this timestamp to string because when i use it with os.system() it has to be a string... In the logs i can see the following: [http] 2015/08/06 07:48:36 4.128.2.139 - - [06/Aug/2015:07:48:36 +0200] POST /write?db=oracle&precision=s HTTP/1.1 204 0 - curl/7.29.0 c7e4aabc-3bfe-11e5-880a-000000000000 1.407525ms [httpd] 2015/08/06 07:48:36 write body received by handler: log_file_sync,sid=PP8R value=1.46747052238 1320723902

The curl request is: curl -i -XPOST 'http://iqtsdb01:8086/write?db=oracle8&precision=s' -d 'log_file_sync,sid=PP8C,table=AWR_CPU_WRAT value=5.42839148485 1369803600'

vijayakumark commented 9 years ago

I'm facing a similar problem, running InfluxDB 0.9.2 on Ubuntu , that gets its data via collectd and a custom Python code. I have this problem accessing the data from web console. select * from requests; Server returned error: found FROM, expected identifier, string, number, bool at line 1, char 9

While it's possible that some date-time string was written into the measurement during development, shouldn't that be a validation error / exception thrown at the write time, instead of not being able to query any data?

beckettsean commented 9 years ago

shouldn't that be a validation error / exception thrown at the write time, instead of not being able to query any data?

@vijayakumark, yes, this is a query parser bug, not intended behavior. There should be a fix in 0.9.3, and the data is still there and fine, it's just currently not possible to query.

@diiidiii Your timestamps and writes in general are fine, thanks for sharing the details.

I think https://github.com/influxdb/influxdb/pull/3560 is the PR that fixes these issues. Try with an 0.9.3 nightly and see if things are better.

ghost commented 9 years ago

Thanks for your help, i'll try a nigthly build.

comcomservices commented 9 years ago

I also had a database that seemed to have gone corrupt, tying to query anything from it would timeout and writes to other databases on the server would instantly go from around 1ms to >5s (locking it completely) until the service was restarted.. Just deleted the database and created it again.. hopefully no more problems but sad that I lost all the data... everyone, please backup regularly