Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.9.0-RC7: InfluxDB Administration: Accepts negative retention policy durations #1852

Closed
markuslang79 opened this issue Mar 5, 2015 · 3 comments
Assignees
Milestone

Comments

@markuslang79
Copy link

While trying to configure an infinite retention policy I accidentally entered a negative '-1d' which was accepted as shown in the screenshot.
influxdb

This seems to mess up the storage backend in a bad way. Trying to assign permissions to an user for this database lead to:

/opt/influxdb/influxd run -config /etc/opt/influxdb/influxdb.conf -pidfile /var/opt/influxdb/run/influxd.pid

8888888 .d888 888 8888888b. 888888b.
888 d88P" 888 888 "Y88b 888 "88b
888 888 888 888 888 888 .88P
888 88888b. 888888 888 888 888 888 888 888 888 8888888K.
888 888 "88b 888 888 888 888 Y8bd8P' 888 888 888 "Y88b
888 888 888 888 888 888 888 X88K 888 888 888 888
888 888 888 888 888 Y88b 888 .d8""8b. 888 .d88P 888 d88P
8888888 888 888 888 888 "Y88888 888 888 8888888P" 8888888P"

[http] 127.0.0.1 - - [05/Mar/2015:09:37:19 +0000] GET /ping HTTP/1.1 204 0 - InfluxDBShell/0.9.0-rc7 37c5d7f5-c31b-11e4-9145-001ec9ad65d3
panic: assert failed: metastore index replay: meta=10082938, index=585420

goroutine 25 [running]:
github.com/influxdb/influxdb.assert(0xc20814dc00, 0x952630, 0x29, 0xc20814dc60, 0x2, 0x2)
/home/philip/build/src/github.com/influxdb/influxdb/influxdb.go:283 +0xcf
github.com/influxdb/influxdb.func·007(0xc20802f080, 0x0, 0x0)
/home/philip/build/src/github.com/influxdb/influxdb/metastore.go:80 +0x1ce
github.com/influxdb/influxdb.func·005(0xc20cea61a0, 0x0, 0x0)
/home/philip/build/src/github.com/influxdb/influxdb/metastore.go:59 +0x7f
github.com/boltdb/bolt.(_DB).Update(0xc20809a180, 0xc20814dd40, 0x0, 0x0)
/home/philip/build/src/github.com/boltdb/bolt/db.go:476 +0xde
github.com/influxdb/influxdb.(_metastore).update(0xc20802e0a8, 0xc20814ddb8, 0x0, 0x0)
/home/philip/build/src/github.com/influxdb/influxdb/metastore.go:59 +0x5d
github.com/influxdb/influxdb.(_metastore).mustUpdate(0xc20802e0a8, 0x8eecc, 0xc20814de38, 0x0, 0x0)
/home/philip/build/src/github.com/influxdb/influxdb/metastore.go:92 +0x99
github.com/influxdb/influxdb.(_Server).applyCreateRetentionPolicy(0xc2080355f0, 0xc20cea3ad0, 0x0, 0x0)
/home/philip/build/src/github.com/influxdb/influxdb/server.go:1201 +0x2a2
github.com/influxdb/influxdb.func·036()
/home/philip/build/src/github.com/influxdb/influxdb/server.go:2696 +0x277
github.com/influxdb/influxdb.(_Server).processor(0xc2080355f0, 0x7faa8d38f548, 0xc20807fe00, 0xc2080ee300)
/home/philip/build/src/github.com/influxdb/influxdb/server.go:2724 +0x294
created by github.com/influxdb/influxdb.(_Server).setClient
/home/philip/build/src/github.com/influxdb/influxdb/server.go:350 +0x132

goroutine 1 [chan receive (nil chan)]:
main.execRun(0xc20800a020, 0x4, 0x4)
/home/philip/build/src/github.com/influxdb/influxdb/cmd/influxd/main.go:121 +0x780
main.main()
/home/philip/build/src/github.com/influxdb/influxdb/cmd/influxd/main.go:68 +0x5a3

goroutine 5 [syscall]:
os/signal.loop()
/home/philip/.gvm/gos/go1.4/src/os/signal/signal_unix.go:21 +0x1f
created by os/signal.init·1
/home/philip/.gvm/gos/go1.4/src/os/signal/signal_unix.go:27 +0x35

goroutine 6 [chan receive]:
main.func·002()
/home/philip/build/src/github.com/influxdb/influxdb/cmd/influxd/main.go:199 +0xed
created by main.startProfiling
/home/philip/build/src/github.com/influxdb/influxdb/cmd/influxd/main.go:202 +0x2dc

goroutine 17 [syscall, locked to thread]:
runtime.goexit()
/home/philip/.gvm/gos/go1.4/src/runtime/asm_amd64.s:2232 +0x1

goroutine 7 [select]:
github.com/influxdb/influxdb/raft.(_Log).applier(0xc208080280, 0xc20800a420)
/home/philip/build/src/github.com/influxdb/influxdb/raft/log.go:1124 +0x2f0
created by github.com/influxdb/influxdb/raft.(_Log).Open
/home/philip/build/src/github.com/influxdb/influxdb/raft/log.go:276 +0x55e

goroutine 8 [select]:
github.com/influxdb/influxdb/raft.(_Log).leaderLoop(0xc208080280, 0xc20800a420, 0x0)
/home/philip/build/src/github.com/influxdb/influxdb/raft/log.go:879 +0x53d
github.com/influxdb/influxdb/raft.(_Log).stateLoop(0xc208080280, 0xc20800a420, 0x3)
/home/philip/build/src/github.com/influxdb/influxdb/raft/log.go:664 +0x28f
created by github.com/influxdb/influxdb/raft.(*Log).startStateLoop
/home/philip/build/src/github.com/influxdb/influxdb/raft/log.go:630 +0x6c

goroutine 49 [IO wait]:
net.(_pollDesc).Wait(0xc208099250, 0x72, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/fd_poll_runtime.go:84 +0x47
net.(_pollDesc).WaitRead(0xc208099250, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/fd_poll_runtime.go:89 +0x43
net.(_netFD).Read(0xc2080991f0, 0xc208153000, 0x1000, 0x1000, 0x0, 0x7faa8d38cc30, 0xc20cd38960)
/home/philip/.gvm/gos/go1.4/src/net/fd_unix.go:242 +0x40f
net.(_conn).Read(0xc20802e018, 0xc208153000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/net.go:121 +0xdc
net/http.noteEOFReader.Read(0x7faa8d38ea90, 0xc20802e018, 0xc208104108, 0xc208153000, 0x1000, 0x1000, 0xc20812b780, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/http/transport.go:1270 +0x6e
net/http.(_noteEOFReader).Read(0xc2081d2080, 0xc208153000, 0x1000, 0x1000, 0xc208012000, 0x0, 0x0)
:125 +0xd4
bufio.(_Reader).fill(0xc2080f6180)
/home/philip/.gvm/gos/go1.4/src/bufio/bufio.go:97 +0x1ce
bufio.(_Reader).Peek(0xc2080f6180, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/bufio/bufio.go:132 +0xf0
net/http.(_persistConn).readLoop(0xc2081040b0)
/home/philip/.gvm/gos/go1.4/src/net/http/transport.go:842 +0xa4
created by net/http.(*Transport).dialConn
/home/philip/.gvm/gos/go1.4/src/net/http/transport.go:660 +0xc9f

goroutine 11 [IO wait]:
net.(_pollDesc).Wait(0xc208010990, 0x72, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/fd_poll_runtime.go:84 +0x47
net.(_pollDesc).WaitRead(0xc208010990, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/fd_poll_runtime.go:89 +0x43
net.(_netFD).accept(0xc208010930, 0x0, 0x7faa8d38cc30, 0xc20cd387d0)
/home/philip/.gvm/gos/go1.4/src/net/fd_unix.go:419 +0x40b
net.(_TCPListener).AcceptTCP(0xc20802e070, 0xc20805ae08, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/tcpsock_posix.go:234 +0x4e
net.(_TCPListener).Accept(0xc20802e070, 0x0, 0x0, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/tcpsock_posix.go:244 +0x4c
net/http.(_Server).Serve(0xc20800a660, 0x7faa8d38d850, 0xc20802e070, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/http/server.go:1728 +0x92
net/http.Serve(0x7faa8d38d850, 0xc20802e070, 0x7faa8d38e8e8, 0xc20801e000, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/http/server.go:1606 +0xa1
main.func·003()
/home/philip/build/src/github.com/influxdb/influxdb/cmd/influxd/run.go:55 +0x77
created by main.Run
/home/philip/build/src/github.com/influxdb/influxdb/cmd/influxd/run.go:55 +0x6cd

goroutine 12 [select]:
github.com/influxdb/influxdb.(_Broker).continuousQueryLoop(0xc20803dbf0, 0xc20800a600)
/home/philip/build/src/github.com/influxdb/influxdb/broker.go:75 +0x10a
created by github.com/influxdb/influxdb.(_Broker).RunContinuousQueryLoop
/home/philip/build/src/github.com/influxdb/influxdb/broker.go:55 +0x78

goroutine 691 [select]:
net/http.(_persistConn).readLoop(0xc208104580)
/home/philip/.gvm/gos/go1.4/src/net/http/transport.go:928 +0x9ce
created by net/http.(_Transport).dialConn
/home/philip/.gvm/gos/go1.4/src/net/http/transport.go:660 +0xc9f

goroutine 27 [IO wait]:
net.(_pollDesc).Wait(0xc208099410, 0x72, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/fd_poll_runtime.go:84 +0x47
net.(_pollDesc).WaitRead(0xc208099410, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/fd_poll_runtime.go:89 +0x43
net.(_netFD).accept(0xc2080993b0, 0x0, 0x7faa8d38cc30, 0xc208123848)
/home/philip/.gvm/gos/go1.4/src/net/fd_unix.go:419 +0x40b
net.(_TCPListener).AcceptTCP(0xc20802eae0, 0xc208021500, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/tcpsock_posix.go:234 +0x4e
net.(_TCPListener).Accept(0xc20802eae0, 0x0, 0x0, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/tcpsock_posix.go:244 +0x4c
net/http.(_Server).Serve(0xc2080ee780, 0x7faa8d38d850, 0xc20802eae0, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/http/server.go:1728 +0x92
net/http.Serve(0x7faa8d38d850, 0xc20802eae0, 0x7faa8d38f7d0, 0xc2081238a0, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/http/server.go:1606 +0xa1
github.com/influxdb/influxdb/admin.(*Server).ListenAndServe(0xc208124000)
/home/philip/build/src/github.com/influxdb/influxdb/admin/admin.go:38 +0x1d8
created by main.Run
/home/philip/build/src/github.com/influxdb/influxdb/cmd/influxd/run.go:99 +0x1116

goroutine 24 [select]:
github.com/influxdb/influxdb/messaging.(_Client).streamFromURL(0xc20807fe00, 0xc2090bda40, 0xc2080ee2a0, 0x0, 0x0)
/home/philip/build/src/github.com/influxdb/influxdb/messaging/client.go:437 +0x829
github.com/influxdb/influxdb/messaging.(_Client).streamer(0xc20807fe00, 0xc2080ee2a0)
/home/philip/build/src/github.com/influxdb/influxdb/messaging/client.go:389 +0x150
created by github.com/influxdb/influxdb/messaging.(*Client).Open
/home/philip/build/src/github.com/influxdb/influxdb/messaging/client.go:143 +0x27e

goroutine 26 [select]:
github.com/influxdb/influxdb.func·010()
/home/philip/build/src/github.com/influxdb/influxdb/server.go:285 +0x109
created by github.com/influxdb/influxdb.(*Server).StartRetentionPolicyEnforcement
/home/philip/build/src/github.com/influxdb/influxdb/server.go:292 +0x1dd

goroutine 28 [IO wait]:
net.(_pollDesc).Wait(0xc208099100, 0x72, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/fd_poll_runtime.go:84 +0x47
net.(_pollDesc).WaitRead(0xc208099100, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/fd_poll_runtime.go:89 +0x43
net.(_netFD).readFrom(0xc2080990a0, 0xc20813c000, 0x5ac, 0x5ac, 0x0, 0x0, 0x0, 0x7faa8d38cc30, 0xc2081238d8)
/home/philip/.gvm/gos/go1.4/src/net/fd_unix.go:269 +0x4a1
net.(_UDPConn).ReadFromUDP(0xc20802eaa0, 0xc20813c000, 0x5ac, 0x5ac, 0x5ac, 0x0, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/udpsock_posix.go:67 +0x124
github.com/influxdb/influxdb/collectd.(*Server).serve(0xc2080ee420, 0xc20802eaa0)
/home/philip/build/src/github.com/influxdb/influxdb/collectd/collectd.go:88 +0xcd
created by github.com/influxdb/influxdb/collectd.ListenAndServe
/home/philip/build/src/github.com/influxdb/influxdb/collectd/collectd.go:69 +0x6b8

goroutine 29 [chan receive]:
github.com/influxdb/influxdb.(*Server).StartReportingLoop(0xc2080355f0, 0x99f790, 0x9, 0x6c83710f8ab0a474, 0x0)
/home/philip/build/src/github.com/influxdb/influxdb/server.go:3241 +0x97
created by main.Run
/home/philip/build/src/github.com/influxdb/influxdb/cmd/influxd/run.go:148 +0x16a1

goroutine 693 [runnable]:
net.(_pollDesc).Wait(0xc2090bd8e0, 0x77, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/fd_poll_runtime.go:84 +0x47
net.(_pollDesc).WaitWrite(0xc2090bd8e0, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/fd_poll_runtime.go:93 +0x43
net.(_netFD).Write(0xc2090bd880, 0xc20cda5000, 0x1f, 0x1000, 0x1d, 0x7faa8d38cc30, 0xc20ce72260)
/home/philip/.gvm/gos/go1.4/src/net/fd_unix.go:335 +0x5ee
net.(_conn).Write(0xc20802efb8, 0xc20cda5000, 0x1f, 0x1000, 0x0, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/net.go:129 +0xdc
net/http.checkConnErrorWriter.Write(0xc208066d20, 0xc20cda5000, 0x1f, 0x1000, 0x5cca40, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/http/server.go:2091 +0x78
bufio.(_Writer).flush(0xc20812be80, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/bufio/bufio.go:530 +0xe0
bufio.(_Writer).Flush(0xc20812be80, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/bufio/bufio.go:519 +0x3a
net/http.(_chunkWriter).flush(0xc208066e80)
/home/philip/.gvm/gos/go1.4/src/net/http/server.go:283 +0x69
net/http.(_response).Flush(0xc208066e60)
/home/philip/.gvm/gos/go1.4/src/net/http/server.go:1048 +0x66
github.com/influxdb/influxdb/messaging.(_Replica).Write(0xc20802c700, 0xc20ce74080, 0x19, 0x19, 0x16, 0x0, 0x0)
/home/philip/build/src/github.com/influxdb/influxdb/messaging/broker.go:973 +0x195
github.com/influxdb/influxdb/messaging.(_Message).WriteTo(0xc20ce6f5f0, 0x7faa8d38f888, 0xc20802c700, 0x0, 0x0, 0x0)
/home/philip/build/src/github.com/influxdb/influxdb/messaging/broker.go:1078 +0xf2
github.com/influxdb/influxdb/messaging.(_topic).writeTo(0xc20809c2d0, 0xc20802c700, 0x0, 0x0, 0x0, 0x0)
/home/philip/build/src/github.com/influxdb/influxdb/messaging/broker.go:857 +0x495
github.com/influxdb/influxdb/messaging.(_Replica).WriteTo(0xc20802c700, 0x7faa8d38ecc0, 0xc208066e60, 0x7faa8d38ecc0, 0x0, 0x0)
/home/philip/build/src/github.com/influxdb/influxdb/messaging/broker.go:1007 +0x4fc
github.com/influxdb/influxdb/messaging.(_Handler).stream(0xc2080a62f0, 0x7faa8d38ec88, 0xc208066e60, 0xc20a4860d0)
/home/philip/build/src/github.com/influxdb/influxdb/messaging/handler.go:101 +0x1c5
github.com/influxdb/influxdb/messaging.(_Handler).ServeHTTP(0xc2080a62f0, 0x7faa8d38ec88, 0xc208066e60, 0xc20a4860d0)
/home/philip/build/src/github.com/influxdb/influxdb/messaging/handler.go:54 +0x1c8
main.(_Handler).ServeHTTP(0xc20801e000, 0x7faa8d38ec88, 0xc208066e60, 0xc20a4860d0)
/home/philip/build/src/github.com/influxdb/influxdb/cmd/influxd/handler.go:32 +0x248
net/http.serverHandler.ServeHTTP(0xc20800a660, 0x7faa8d38ec88, 0xc208066e60, 0xc20a4860d0)
/home/philip/.gvm/gos/go1.4/src/net/http/server.go:1703 +0x19a
net/http.(_conn).serve(0xc208066d20)
/home/philip/.gvm/gos/go1.4/src/net/http/server.go:1204 +0xb57
created by net/http.(*Server).Serve
/home/philip/.gvm/gos/go1.4/src/net/http/server.go:1751 +0x35e

goroutine 698 [chan send]:
github.com/influxdb/influxdb/messaging.func·011()
/home/philip/build/src/github.com/influxdb/influxdb/messaging/client.go:432 +0x1a4
created by github.com/influxdb/influxdb/messaging.(*Client).streamFromURL
/home/philip/build/src/github.com/influxdb/influxdb/messaging/client.go:434 +0x64a

goroutine 33 [IO wait]:
net.(_pollDesc).Wait(0xc208099640, 0x77, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/fd_poll_runtime.go:84 +0x47
net.(_pollDesc).WaitWrite(0xc208099640, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/fd_poll_runtime.go:93 +0x43
net.(_netFD).connect(0xc2080995e0, 0x0, 0x0, 0x7faa8d38ea40, 0xc20813a3a0, 0xecc8a1aea, 0x651b800, 0xd76480, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/fd_unix.go:114 +0x24b
net.(_netFD).dial(0xc2080995e0, 0x7faa8d38d888, 0x0, 0x7faa8d38d888, 0xc208125530, 0xecc8a1aea, 0x651b800, 0xd76480, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/sock_posix.go:139 +0x37a
net.socket(0x8c4290, 0x3, 0x2, 0x1, 0x0, 0xc208125500, 0x7faa8d38d888, 0x0, 0x7faa8d38d888, 0xc208125530, ...)
/home/philip/.gvm/gos/go1.4/src/net/sock_posix.go:91 +0x422
net.internetSocket(0x8c4290, 0x3, 0x7faa8d38d888, 0x0, 0x7faa8d38d888, 0xc208125530, 0xecc8a1aea, 0xc20651b800, 0xd76480, 0x1, ...)
/home/philip/.gvm/gos/go1.4/src/net/ipsock_posix.go:137 +0x148
net.dialTCP(0x8c4290, 0x3, 0x0, 0xc208125530, 0xecc8a1aea, 0x651b800, 0xd76480, 0xc208146770, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/tcpsock_posix.go:156 +0x125
net.dialSingle(0x8c4290, 0x3, 0x96ba37, 0x13, 0x0, 0x0, 0x7faa8d38d820, 0xc208125530, 0xecc8a1aea, 0x651b800, ...)
/home/philip/.gvm/gos/go1.4/src/net/dial.go:235 +0x3f5
net.func·016(0xecc8a1aea, 0xe0651b800, 0xd76480, 0x0, 0x0, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/dial.go:163 +0x12c
net.dial(0x8c4290, 0x3, 0x7faa8d38d820, 0xc208125530, 0xc20814fb08, 0xecc8a1aea, 0xe0651b800, 0xd76480, 0x0, 0x0, ...)
/home/philip/.gvm/gos/go1.4/src/net/fd_unix.go:40 +0x6f
net.(_Dialer).Dial(0xc20802c140, 0x8c4290, 0x3, 0x96ba37, 0x13, 0x0, 0x0, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/dial.go:170 +0x4be
net._Dialer.Dial·fm(0x8c4290, 0x3, 0x96ba37, 0x13, 0x0, 0x0, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/http/transport.go:38 +0x79
net/http.(_Transport).dial(0xc20806e000, 0x8c4290, 0x3, 0x96ba37, 0x13, 0x0, 0x0, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/http/transport.go:479 +0x84
net/http.(_Transport).dialConn(0xc20806e000, 0x0, 0x96ba30, 0x4, 0x96ba37, 0x13, 0xc208125410, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/http/transport.go:564 +0x1678
net/http.func·019()
/home/philip/.gvm/gos/go1.4/src/net/http/transport.go:520 +0x42
created by net/http.(*Transport).getConn
/home/philip/.gvm/gos/go1.4/src/net/http/transport.go:522 +0x335

goroutine 700 [sleep]:
github.com/influxdb/influxdb/raft.(_Log).heartbeater(0xc208080280, 0x1, 0xc2090bde30, 0xc2080a3fe0, 0xc20800a5a0)
/home/philip/build/src/github.com/influxdb/influxdb/raft/log.go:925 +0xe25
created by github.com/influxdb/influxdb/raft.(_Log).leaderLoop
/home/philip/build/src/github.com/influxdb/influxdb/raft/log.go:876 +0x20a

goroutine 51 [IO wait]:
net.(_pollDesc).Wait(0xc208098df0, 0x72, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/fd_poll_runtime.go:84 +0x47
net.(_pollDesc).WaitRead(0xc208098df0, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/fd_poll_runtime.go:89 +0x43
net.(_netFD).Read(0xc208098d90, 0xc2080b6000, 0x1000, 0x1000, 0x0, 0x7faa8d38cc30, 0xc20cd38548)
/home/philip/.gvm/gos/go1.4/src/net/fd_unix.go:242 +0x40f
net.(_conn).Read(0xc20802e040, 0xc2080b6000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/net.go:121 +0xdc
net/http.(_liveSwitchReader).Read(0xc2080660e8, 0xc2080b6000, 0x1000, 0x1000, 0x2, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/http/server.go:214 +0xab
io.(_LimitedReader).Read(0xc2081d20c0, 0xc2080b6000, 0x1000, 0x1000, 0x2, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/io/io.go:408 +0xce
bufio.(_Reader).fill(0xc2080f6540)
/home/philip/.gvm/gos/go1.4/src/bufio/bufio.go:97 +0x1ce
bufio.(_Reader).ReadSlice(0xc2080f6540, 0xc20814bb0a, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/bufio/bufio.go:295 +0x257
bufio.(_Reader).ReadLine(0xc2080f6540, 0x0, 0x0, 0x0, 0xc208136f00, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/bufio/bufio.go:324 +0x62
net/textproto.(_Reader).readLineSlice(0xc20a2e3b30, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/textproto/reader.go:55 +0x9e
net/textproto.(_Reader).ReadLine(0xc20a2e3b30, 0x0, 0x0, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/textproto/reader.go:36 +0x4f
net/http.ReadRequest(0xc2080f6540, 0xc20878be10, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/http/request.go:598 +0xcb
net/http.(_conn).readRequest(0xc2080660a0, 0x0, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/http/server.go:586 +0x26f
net/http.(_conn).serve(0xc2080660a0)
/home/philip/.gvm/gos/go1.4/src/net/http/server.go:1162 +0x69e
created by net/http.(_Server).Serve
/home/philip/.gvm/gos/go1.4/src/net/http/server.go:1751 +0x35e

goroutine 692 [select]:
net/http.(_persistConn).writeLoop(0xc208104580)
/home/philip/.gvm/gos/go1.4/src/net/http/transport.go:945 +0x41d
created by net/http.(_Transport).dialConn
/home/philip/.gvm/gos/go1.4/src/net/http/transport.go:661 +0xcbc

goroutine 50 [select]:
net/http.(_persistConn).writeLoop(0xc2081040b0)
/home/philip/.gvm/gos/go1.4/src/net/http/transport.go:945 +0x41d
created by net/http.(_Transport).dialConn
/home/philip/.gvm/gos/go1.4/src/net/http/transport.go:661 +0xcbc

goroutine 340 [sleep]:
github.com/influxdb/influxdb.(_Server).Sync(0xc2080355f0, 0x99da7b, 0x0, 0x0)
/home/philip/build/src/github.com/influxdb/influxdb/server.go:400 +0x12d
github.com/influxdb/influxdb.(_Server).broadcast(0xc2080355f0, 0xc20cd30090, 0x74e420, 0xc20cd3d140, 0xc20810f560, 0x0, 0x0)
/home/philip/build/src/github.com/influxdb/influxdb/server.go:378 +0x1be
github.com/influxdb/influxdb.(_Server).SetPrivilege(0xc2080355f0, 0x2, 0xc20cd38367, 0x7, 0xc20cd38350, 0x7, 0x0, 0x0)
/home/philip/build/src/github.com/influxdb/influxdb/server.go:1081 +0xe7
github.com/influxdb/influxdb.(_Server).executeGrantStatement(0xc2080355f0, 0xc20cd3d0b0, 0x0, 0xc20cd3d0b0)
/home/philip/build/src/github.com/influxdb/influxdb/server.go:2356 +0x55
github.com/influxdb/influxdb.(_Server).ExecuteQuery(0xc2080355f0, 0xc20cd3e0c0, 0xc20812b68b, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/philip/build/src/github.com/influxdb/influxdb/server.go:1789 +0xeea
github.com/influxdb/influxdb/httpd.(_Handler).serveQuery(0xc20810bf80, 0x7faa8d3b69a0, 0xc20cd3e080, 0xc20937f1e0, 0x0)
/home/philip/build/src/github.com/influxdb/influxdb/httpd/handler.go:162 +0x36e
github.com/influxdb/influxdb/httpd._Handler.(github.com/influxdb/influxdb/httpd.serveQuery)·fm(0x7faa8d3b69a0, 0xc20cd3e080, 0xc20937f1e0, 0x0)
/home/philip/build/src/github.com/influxdb/influxdb/httpd/handler.go:61 +0x4f
github.com/influxdb/influxdb/httpd.func·003(0x7faa8d3b69a0, 0xc20cd3e080, 0xc20937f1e0)
/home/philip/build/src/github.com/influxdb/influxdb/httpd/handler.go:496 +0x77
net/http.HandlerFunc.ServeHTTP(0xc20807b4c0, 0x7faa8d3b69a0, 0xc20cd3e080, 0xc20937f1e0)
/home/philip/.gvm/gos/go1.4/src/net/http/server.go:1265 +0x41
github.com/influxdb/influxdb/httpd.func·004(0x7faa8d393de0, 0xc20cd3bf80, 0xc20937f1e0)
/home/philip/build/src/github.com/influxdb/influxdb/httpd/handler.go:543 +0x288
net/http.HandlerFunc.ServeHTTP(0xc208122110, 0x7faa8d393de0, 0xc20cd3bf80, 0xc20937f1e0)
/home/philip/.gvm/gos/go1.4/src/net/http/server.go:1265 +0x41
github.com/influxdb/influxdb/httpd.func·005(0x7faa8d393de0, 0xc20cd3bf80, 0xc20937f1e0)
/home/philip/build/src/github.com/influxdb/influxdb/httpd/handler.go:552 +0xb0
net/http.HandlerFunc.ServeHTTP(0xc20807b4e0, 0x7faa8d393de0, 0xc20cd3bf80, 0xc20937f1e0)
/home/philip/.gvm/gos/go1.4/src/net/http/server.go:1265 +0x41
github.com/influxdb/influxdb/httpd.func·006(0x7faa8d393de0, 0xc20cd3bf80, 0xc20937f1e0)
/home/philip/build/src/github.com/influxdb/influxdb/httpd/handler.go:585 +0x31a
net/http.HandlerFunc.ServeHTTP(0xc208122150, 0x7faa8d393de0, 0xc20cd3bf80, 0xc20937f1e0)
/home/philip/.gvm/gos/go1.4/src/net/http/server.go:1265 +0x41
github.com/influxdb/influxdb/httpd.func·007(0x7faa8d393de0, 0xc20cd3bf80, 0xc20937f1e0)
/home/philip/build/src/github.com/influxdb/influxdb/httpd/handler.go:595 +0x164
net/http.HandlerFunc.ServeHTTP(0xc208122170, 0x7faa8d393de0, 0xc20cd3bf80, 0xc20937f1e0)
/home/philip/.gvm/gos/go1.4/src/net/http/server.go:1265 +0x41
github.com/influxdb/influxdb/httpd.func·008(0x7faa8d393de0, 0xc20cd3bf60, 0xc20937f1e0)
/home/philip/build/src/github.com/influxdb/influxdb/httpd/handler.go:603 +0x123
net/http.HandlerFunc.ServeHTTP(0xc20807b500, 0x7faa8d393de0, 0xc20cd3bf60, 0xc20937f1e0)
/home/philip/.gvm/gos/go1.4/src/net/http/server.go:1265 +0x41
github.com/influxdb/influxdb/httpd.func·009(0x7faa8d38ec88, 0xc208066960, 0xc20937f1e0)
/home/philip/build/src/github.com/influxdb/influxdb/httpd/handler.go:613 +0x12c
net/http.HandlerFunc.ServeHTTP(0xc20807b560, 0x7faa8d38ec88, 0xc208066960, 0xc20937f1e0)
/home/philip/.gvm/gos/go1.4/src/net/http/server.go:1265 +0x41
github.com/bmizerany/pat.(_PatternServeMux).ServeHTTP(0xc20802e440, 0x7faa8d38ec88, 0xc208066960, 0xc20937f1e0)
/home/philip/build/src/github.com/bmizerany/pat/mux.go:109 +0x21c
github.com/influxdb/influxdb/httpd.(_Handler).ServeHTTP(0xc20810bf80, 0x7faa8d38ec88, 0xc208066960, 0xc20937f1e0)
/home/philip/build/src/github.com/influxdb/influxdb/httpd/handler.go:144 +0x4a
main.(_Handler).ServeHTTP(0xc20801e000, 0x7faa8d38ec88, 0xc208066960, 0xc20937f1e0)
/home/philip/build/src/github.com/influxdb/influxdb/cmd/influxd/handler.go:41 +0x1f5
net/http.serverHandler.ServeHTTP(0xc20800a660, 0x7faa8d38ec88, 0xc208066960, 0xc20937f1e0)
/home/philip/.gvm/gos/go1.4/src/net/http/server.go:1703 +0x19a
net/http.(_conn).serve(0xc2080668c0)
/home/philip/.gvm/gos/go1.4/src/net/http/server.go:1204 +0xb57
created by net/http.(_Server).Serve
/home/philip/.gvm/gos/go1.4/src/net/http/server.go:1751 +0x35e

goroutine 482 [chan receive]:
net/http.func·016()
/home/philip/.gvm/gos/go1.4/src/net/http/transport.go:507 +0x65
created by net/http.func·017
/home/philip/.gvm/gos/go1.4/src/net/http/transport.go:513 +0xba

goroutine 699 [sleep]:
github.com/influxdb/influxdb/raft.func·001()
/home/philip/build/src/github.com/influxdb/influxdb/raft/clock.go:66 +0x33
created by github.com/influxdb/influxdb/raft.newClockChan
/home/philip/build/src/github.com/influxdb/influxdb/raft/clock.go:66 +0xfb

Trying to delete the database with the 'InfluxDB Administration' leads to:

/opt/influxdb/influxd run -config /etc/opt/influxdb/influxdb.conf -pidfile /var/opt/influxdb/run/influxd.pid

8888888 .d888 888 8888888b. 888888b.
888 d88P" 888 888 "Y88b 888 "88b
888 888 888 888 888 888 .88P
888 88888b. 888888 888 888 888 888 888 888 888 8888888K.
888 888 "88b 888 888 888 888 Y8bd8P' 888 888 888 "Y88b
888 888 888 888 888 888 888 X88K 888 888 888 888
888 888 888 888 888 Y88b 888 .d8""8b. 888 .d88P 888 d88P
8888888 888 888 888 888 "Y88888 888 888 8888888P" 8888888P"

[http] 192.168.40.25 - - [05/Mar/2015:09:40:57 +0000] GET /query?u=admin&p=fk%40zdnz42a6k%5Eyv6qw8p&q=SHOW%20DATABASES HTTP/1.1 200 98 http://xxxxxxxxxxxxx:8083/ Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0 b9dfdb71-c31b-11e4-9450-001ec9ad65d3
panic: assert failed: metastore index replay: meta=10082939, index=10076776

goroutine 25 [running]:
github.com/influxdb/influxdb.assert(0xc20814bc00, 0x952630, 0x29, 0xc20814bc70, 0x2, 0x2)
/home/philip/build/src/github.com/influxdb/influxdb/influxdb.go:283 +0xcf
github.com/influxdb/influxdb.func·007(0xc20802fb18, 0x0, 0x0)
/home/philip/build/src/github.com/influxdb/influxdb/metastore.go:80 +0x1ce
github.com/influxdb/influxdb.func·005(0xc20d28a9c0, 0x0, 0x0)
/home/philip/build/src/github.com/influxdb/influxdb/metastore.go:59 +0x7f
github.com/boltdb/bolt.(_DB).Update(0xc20809a180, 0xc20814bd50, 0x0, 0x0)
/home/philip/build/src/github.com/boltdb/bolt/db.go:476 +0xde
github.com/influxdb/influxdb.(_metastore).update(0xc20802e0a8, 0xc20814bdc8, 0x0, 0x0)
/home/philip/build/src/github.com/influxdb/influxdb/metastore.go:59 +0x5d
github.com/influxdb/influxdb.(_metastore).mustUpdate(0xc20802e0a8, 0x99c268, 0xc20814be38, 0x0, 0x0)
/home/philip/build/src/github.com/influxdb/influxdb/metastore.go:92 +0x99
github.com/influxdb/influxdb.(_Server).applyDropDatabase(0xc208035790, 0xc20d283200, 0x0, 0x0)
/home/philip/build/src/github.com/influxdb/influxdb/server.go:695 +0x141
github.com/influxdb/influxdb.func·036()
/home/philip/build/src/github.com/influxdb/influxdb/server.go:2688 +0x239
github.com/influxdb/influxdb.(_Server).processor(0xc208035790, 0x7f228fae7250, 0xc20809f360, 0xc2080eeae0)
/home/philip/build/src/github.com/influxdb/influxdb/server.go:2724 +0x294
created by github.com/influxdb/influxdb.(_Server).setClient
/home/philip/build/src/github.com/influxdb/influxdb/server.go:350 +0x132

goroutine 1 [chan receive (nil chan)]:
main.execRun(0xc20800a020, 0x4, 0x4)
/home/philip/build/src/github.com/influxdb/influxdb/cmd/influxd/main.go:121 +0x780
main.main()
/home/philip/build/src/github.com/influxdb/influxdb/cmd/influxd/main.go:68 +0x5a3

goroutine 5 [syscall]:
os/signal.loop()
/home/philip/.gvm/gos/go1.4/src/os/signal/signal_unix.go:21 +0x1f
created by os/signal.init·1
/home/philip/.gvm/gos/go1.4/src/os/signal/signal_unix.go:27 +0x35

goroutine 6 [chan receive]:
main.func·002()
/home/philip/build/src/github.com/influxdb/influxdb/cmd/influxd/main.go:199 +0xed
created by main.startProfiling
/home/philip/build/src/github.com/influxdb/influxdb/cmd/influxd/main.go:202 +0x2dc

goroutine 17 [syscall, locked to thread]:
runtime.goexit()
/home/philip/.gvm/gos/go1.4/src/runtime/asm_amd64.s:2232 +0x1

goroutine 7 [select]:
github.com/influxdb/influxdb/raft.(_Log).applier(0xc208080280, 0xc20800a420)
/home/philip/build/src/github.com/influxdb/influxdb/raft/log.go:1124 +0x2f0
created by github.com/influxdb/influxdb/raft.(_Log).Open
/home/philip/build/src/github.com/influxdb/influxdb/raft/log.go:276 +0x55e

goroutine 8 [select]:
github.com/influxdb/influxdb/raft.(_Log).leaderLoop(0xc208080280, 0xc20800a420, 0x0)
/home/philip/build/src/github.com/influxdb/influxdb/raft/log.go:879 +0x53d
github.com/influxdb/influxdb/raft.(_Log).stateLoop(0xc208080280, 0xc20800a420, 0x3)
/home/philip/build/src/github.com/influxdb/influxdb/raft/log.go:664 +0x28f
created by github.com/influxdb/influxdb/raft.(*Log).startStateLoop
/home/philip/build/src/github.com/influxdb/influxdb/raft/log.go:630 +0x6c

goroutine 49 [IO wait]:
net.(_pollDesc).Wait(0xc208079250, 0x72, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/fd_poll_runtime.go:84 +0x47
net.(_pollDesc).WaitRead(0xc208079250, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/fd_poll_runtime.go:89 +0x43
net.(_netFD).Read(0xc2080791f0, 0xc208151000, 0x1000, 0x1000, 0x0, 0x7f228fae4c30, 0xc20a34e748)
/home/philip/.gvm/gos/go1.4/src/net/fd_unix.go:242 +0x40f
net.(_conn).Read(0xc20802e018, 0xc208151000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/net.go:121 +0xdc
net/http.noteEOFReader.Read(0x7f228fae6a68, 0xc20802e018, 0xc208104108, 0xc208151000, 0x1000, 0x1000, 0xc209398800, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/http/transport.go:1270 +0x6e
net/http.(_noteEOFReader).Read(0xc20817c040, 0xc208151000, 0x1000, 0x1000, 0xc208012000, 0x0, 0x0)
:125 +0xd4
bufio.(_Reader).fill(0xc2080fa120)
/home/philip/.gvm/gos/go1.4/src/bufio/bufio.go:97 +0x1ce
bufio.(_Reader).Peek(0xc2080fa120, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/bufio/bufio.go:132 +0xf0
net/http.(_persistConn).readLoop(0xc2081040b0)
/home/philip/.gvm/gos/go1.4/src/net/http/transport.go:842 +0xa4
created by net/http.(*Transport).dialConn
/home/philip/.gvm/gos/go1.4/src/net/http/transport.go:660 +0xc9f

goroutine 11 [IO wait]:
net.(_pollDesc).Wait(0xc208010990, 0x72, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/fd_poll_runtime.go:84 +0x47
net.(_pollDesc).WaitRead(0xc208010990, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/fd_poll_runtime.go:89 +0x43
net.(_netFD).accept(0xc208010930, 0x0, 0x7f228fae4c30, 0xc20a34e630)
/home/philip/.gvm/gos/go1.4/src/net/fd_unix.go:419 +0x40b
net.(_TCPListener).AcceptTCP(0xc20802e070, 0xc20805be08, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/tcpsock_posix.go:234 +0x4e
net.(_TCPListener).Accept(0xc20802e070, 0x0, 0x0, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/tcpsock_posix.go:244 +0x4c
net/http.(_Server).Serve(0xc20800a660, 0x7f228fae5850, 0xc20802e070, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/http/server.go:1728 +0x92
net/http.Serve(0x7f228fae5850, 0xc20802e070, 0x7f228fae68e8, 0xc20801e400, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/http/server.go:1606 +0xa1
main.func·003()
/home/philip/build/src/github.com/influxdb/influxdb/cmd/influxd/run.go:55 +0x77
created by main.Run
/home/philip/build/src/github.com/influxdb/influxdb/cmd/influxd/run.go:55 +0x6cd

goroutine 12 [select]:
github.com/influxdb/influxdb.(_Broker).continuousQueryLoop(0xc20803dbf0, 0xc20800a600)
/home/philip/build/src/github.com/influxdb/influxdb/broker.go:75 +0x10a
created by github.com/influxdb/influxdb.(_Broker).RunContinuousQueryLoop
/home/philip/build/src/github.com/influxdb/influxdb/broker.go:55 +0x78

goroutine 504 [chan receive]:
net/http.func·016()
/home/philip/.gvm/gos/go1.4/src/net/http/transport.go:507 +0x65
created by net/http.func·017
/home/philip/.gvm/gos/go1.4/src/net/http/transport.go:513 +0xba

goroutine 24 [select]:
github.com/influxdb/influxdb/messaging.(_Client).streamFromURL(0xc20809f360, 0xc209318930, 0xc2080eea20, 0x0, 0x0)
/home/philip/build/src/github.com/influxdb/influxdb/messaging/client.go:437 +0x829
github.com/influxdb/influxdb/messaging.(_Client).streamer(0xc20809f360, 0xc2080eea20)
/home/philip/build/src/github.com/influxdb/influxdb/messaging/client.go:389 +0x150
created by github.com/influxdb/influxdb/messaging.(*Client).Open
/home/philip/build/src/github.com/influxdb/influxdb/messaging/client.go:143 +0x27e

goroutine 26 [select]:
github.com/influxdb/influxdb.func·010()
/home/philip/build/src/github.com/influxdb/influxdb/server.go:285 +0x109
created by github.com/influxdb/influxdb.(*Server).StartRetentionPolicyEnforcement
/home/philip/build/src/github.com/influxdb/influxdb/server.go:292 +0x1dd

goroutine 27 [IO wait]:
net.(_pollDesc).Wait(0xc208079410, 0x72, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/fd_poll_runtime.go:84 +0x47
net.(_pollDesc).WaitRead(0xc208079410, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/fd_poll_runtime.go:89 +0x43
net.(_netFD).accept(0xc2080793b0, 0x0, 0x7f228fae4c30, 0xc208a66c18)
/home/philip/.gvm/gos/go1.4/src/net/fd_unix.go:419 +0x40b
net.(_TCPListener).AcceptTCP(0xc20802ead0, 0xc208056de0, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/tcpsock_posix.go:234 +0x4e
net.(_TCPListener).Accept(0xc20802ead0, 0x0, 0x0, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/tcpsock_posix.go:244 +0x4c
net/http.(_Server).Serve(0xc2080eef00, 0x7f228fae5850, 0xc20802ead0, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/http/server.go:1728 +0x92
net/http.Serve(0x7f228fae5850, 0xc20802ead0, 0x7f228fae74d8, 0xc2081237c0, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/http/server.go:1606 +0xa1
github.com/influxdb/influxdb/admin.(*Server).ListenAndServe(0xc20803dcb0)
/home/philip/build/src/github.com/influxdb/influxdb/admin/admin.go:38 +0x1d8
created by main.Run
/home/philip/build/src/github.com/influxdb/influxdb/cmd/influxd/run.go:99 +0x1116

goroutine 28 [IO wait]:
net.(_pollDesc).Wait(0xc208079100, 0x72, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/fd_poll_runtime.go:84 +0x47
net.(_pollDesc).WaitRead(0xc208079100, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/fd_poll_runtime.go:89 +0x43
net.(_netFD).readFrom(0xc2080790a0, 0xc20813a000, 0x5ac, 0x5ac, 0x0, 0x0, 0x0, 0x7f228fae4c30, 0xc2081237f8)
/home/philip/.gvm/gos/go1.4/src/net/fd_unix.go:269 +0x4a1
net.(_UDPConn).ReadFromUDP(0xc20802ea90, 0xc20813a000, 0x5ac, 0x5ac, 0x5ac, 0x0, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/udpsock_posix.go:67 +0x124
github.com/influxdb/influxdb/collectd.(*Server).serve(0xc2080eeba0, 0xc20802ea90)
/home/philip/build/src/github.com/influxdb/influxdb/collectd/collectd.go:88 +0xcd
created by github.com/influxdb/influxdb/collectd.ListenAndServe
/home/philip/build/src/github.com/influxdb/influxdb/collectd/collectd.go:69 +0x6b8

goroutine 29 [chan receive]:
github.com/influxdb/influxdb.(*Server).StartReportingLoop(0xc208035790, 0x99f790, 0x9, 0x6c83710f8ab0a474, 0x0)
/home/philip/build/src/github.com/influxdb/influxdb/server.go:3241 +0x97
created by main.Run
/home/philip/build/src/github.com/influxdb/influxdb/cmd/influxd/run.go:148 +0x16a1

goroutine 2397 [select]:
net/http.(_persistConn).readLoop(0xc208104580)
/home/philip/.gvm/gos/go1.4/src/net/http/transport.go:928 +0x9ce
created by net/http.(_Transport).dialConn
/home/philip/.gvm/gos/go1.4/src/net/http/transport.go:660 +0xc9f

goroutine 2412 [sleep]:
github.com/influxdb/influxdb/raft.(_Log).heartbeater(0xc208080280, 0x1, 0xc209318e00, 0xc20801e000, 0xc20800a5a0)
/home/philip/build/src/github.com/influxdb/influxdb/raft/log.go:925 +0xe25
created by github.com/influxdb/influxdb/raft.(_Log).leaderLoop
/home/philip/build/src/github.com/influxdb/influxdb/raft/log.go:876 +0x20a

goroutine 33 [IO wait]:
net.(_pollDesc).Wait(0xc208079640, 0x77, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/fd_poll_runtime.go:84 +0x47
net.(_pollDesc).WaitWrite(0xc208079640, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/fd_poll_runtime.go:93 +0x43
net.(_netFD).connect(0xc2080795e0, 0x0, 0x0, 0x7f228fae6a40, 0xc2081440c0, 0xecc8a1bb5, 0x98ba81b, 0xd76480, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/fd_unix.go:114 +0x24b
net.(_netFD).dial(0xc2080795e0, 0x7f228fae5888, 0x0, 0x7f228fae5888, 0xc2081254d0, 0xecc8a1bb5, 0x98ba81b, 0xd76480, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/sock_posix.go:139 +0x37a
net.socket(0x8c4290, 0x3, 0x2, 0x1, 0x0, 0xc208125400, 0x7f228fae5888, 0x0, 0x7f228fae5888, 0xc2081254d0, ...)
/home/philip/.gvm/gos/go1.4/src/net/sock_posix.go:91 +0x422
net.internetSocket(0x8c4290, 0x3, 0x7f228fae5888, 0x0, 0x7f228fae5888, 0xc2081254d0, 0xecc8a1bb5, 0xc2098ba81b, 0xd76480, 0x1, ...)
/home/philip/.gvm/gos/go1.4/src/net/ipsock_posix.go:137 +0x148
net.dialTCP(0x8c4290, 0x3, 0x0, 0xc2081254d0, 0xecc8a1bb5, 0x98ba81b, 0xd76480, 0xc208142770, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/tcpsock_posix.go:156 +0x125
net.dialSingle(0x8c4290, 0x3, 0x96ba37, 0x13, 0x0, 0x0, 0x7f228fae5820, 0xc2081254d0, 0xecc8a1bb5, 0x98ba81b, ...)
/home/philip/.gvm/gos/go1.4/src/net/dial.go:235 +0x3f5
net.func·016(0xecc8a1bb5, 0xe098ba81b, 0xd76480, 0x0, 0x0, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/dial.go:163 +0x12c
net.dial(0x8c4290, 0x3, 0x7f228fae5820, 0xc2081254d0, 0xc20814db08, 0xecc8a1bb5, 0xe098ba81b, 0xd76480, 0x0, 0x0, ...)
/home/philip/.gvm/gos/go1.4/src/net/fd_unix.go:40 +0x6f
net.(_Dialer).Dial(0xc20802c140, 0x8c4290, 0x3, 0x96ba37, 0x13, 0x0, 0x0, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/dial.go:170 +0x4be
net._Dialer.Dial·fm(0x8c4290, 0x3, 0x96ba37, 0x13, 0x0, 0x0, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/http/transport.go:38 +0x79
net/http.(_Transport).dial(0xc20806e000, 0x8c4290, 0x3, 0x96ba37, 0x13, 0x0, 0x0, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/http/transport.go:479 +0x84
net/http.(_Transport).dialConn(0xc20806e000, 0x0, 0x96ba30, 0x4, 0x96ba37, 0x13, 0xc2081253b0, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/http/transport.go:564 +0x1678
net/http.func·019()
/home/philip/.gvm/gos/go1.4/src/net/http/transport.go:520 +0x42
created by net/http.(*Transport).getConn
/home/philip/.gvm/gos/go1.4/src/net/http/transport.go:522 +0x335

goroutine 2406 [runnable]:
github.com/influxdb/influxdb/messaging.func·011()
/home/philip/build/src/github.com/influxdb/influxdb/messaging/client.go:432 +0x1a4
created by github.com/influxdb/influxdb/messaging.(*Client).streamFromURL
/home/philip/build/src/github.com/influxdb/influxdb/messaging/client.go:434 +0x64a

goroutine 51 [IO wait]:
net.(_pollDesc).Wait(0xc208078df0, 0x72, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/fd_poll_runtime.go:84 +0x47
net.(_pollDesc).WaitRead(0xc208078df0, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/fd_poll_runtime.go:89 +0x43
net.(_netFD).Read(0xc208078d90, 0xc2080b6000, 0x1000, 0x1000, 0x0, 0x7f228fae4c30, 0xc20a34e3a8)
/home/philip/.gvm/gos/go1.4/src/net/fd_unix.go:242 +0x40f
net.(_conn).Read(0xc20802e040, 0xc2080b6000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/net.go:121 +0xdc
net/http.(_liveSwitchReader).Read(0xc2080660e8, 0xc2080b6000, 0x1000, 0x1000, 0x2, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/http/server.go:214 +0xab
io.(_LimitedReader).Read(0xc20817c080, 0xc2080b6000, 0x1000, 0x1000, 0x2, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/io/io.go:408 +0xce
bufio.(_Reader).fill(0xc2080fa5a0)
/home/philip/.gvm/gos/go1.4/src/bufio/bufio.go:97 +0x1ce
bufio.(_Reader).ReadSlice(0xc2080fa5a0, 0xc208149b0a, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/bufio/bufio.go:295 +0x257
bufio.(_Reader).ReadLine(0xc2080fa5a0, 0x0, 0x0, 0x0, 0xc20a354100, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/bufio/bufio.go:324 +0x62
net/textproto.(_Reader).readLineSlice(0xc20a3de3c0, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/textproto/reader.go:55 +0x9e
net/textproto.(_Reader).ReadLine(0xc20a3de3c0, 0x0, 0x0, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/textproto/reader.go:36 +0x4f
net/http.ReadRequest(0xc2080fa5a0, 0xc2086f88f0, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/http/request.go:598 +0xcb
net/http.(_conn).readRequest(0xc2080660a0, 0x0, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/http/server.go:586 +0x26f
net/http.(_conn).serve(0xc2080660a0)
/home/philip/.gvm/gos/go1.4/src/net/http/server.go:1162 +0x69e
created by net/http.(_Server).Serve
/home/philip/.gvm/gos/go1.4/src/net/http/server.go:1751 +0x35e

goroutine 2399 [IO wait]:
net.(_pollDesc).Wait(0xc209318760, 0x77, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/fd_poll_runtime.go:84 +0x47
net.(_pollDesc).WaitWrite(0xc209318760, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/fd_poll_runtime.go:93 +0x43
net.(_netFD).Write(0xc209318700, 0xc211e95000, 0x1f, 0x1000, 0x1e, 0x7f228fae4c30, 0xc20d25dcd8)
/home/philip/.gvm/gos/go1.4/src/net/fd_unix.go:335 +0x5ee
net.(_conn).Write(0xc20802f9f8, 0xc211e95000, 0x1f, 0x1000, 0x0, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/net.go:129 +0xdc
net/http.checkConnErrorWriter.Write(0xc208067400, 0xc211e95000, 0x1f, 0x1000, 0x5cca40, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/http/server.go:2091 +0x78
bufio.(_Writer).flush(0xc209398b80, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/bufio/bufio.go:530 +0xe0
bufio.(_Writer).Flush(0xc209398b80, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/bufio/bufio.go:519 +0x3a
net/http.(_chunkWriter).flush(0xc208067560)
/home/philip/.gvm/gos/go1.4/src/net/http/server.go:283 +0x69
net/http.(_response).Flush(0xc208067540)
/home/philip/.gvm/gos/go1.4/src/net/http/server.go:1048 +0x66
github.com/influxdb/influxdb/messaging.(_Replica).Write(0xc20802c700, 0xc20d26b140, 0x19, 0x19, 0x16, 0x0, 0x0)
/home/philip/build/src/github.com/influxdb/influxdb/messaging/broker.go:973 +0x195
github.com/influxdb/influxdb/messaging.(_Message).WriteTo(0xc20d26c240, 0x7f228fae7650, 0xc20802c700, 0x0, 0x0, 0x0)
/home/philip/build/src/github.com/influxdb/influxdb/messaging/broker.go:1078 +0xf2
github.com/influxdb/influxdb/messaging.(_topic).writeTo(0xc20809c2d0, 0xc20802c700, 0x0, 0x0, 0x0, 0x0)
/home/philip/build/src/github.com/influxdb/influxdb/messaging/broker.go:857 +0x495
github.com/influxdb/influxdb/messaging.(_Replica).WriteTo(0xc20802c700, 0x7f228fae6d78, 0xc208067540, 0x7f228fae6d78, 0x0, 0x0)
/home/philip/build/src/github.com/influxdb/influxdb/messaging/broker.go:1007 +0x4fc
github.com/influxdb/influxdb/messaging.(_Handler).stream(0xc2080a6300, 0x7f228fae6d40, 0xc208067540, 0xc2086f8b60)
/home/philip/build/src/github.com/influxdb/influxdb/messaging/handler.go:101 +0x1c5
github.com/influxdb/influxdb/messaging.(_Handler).ServeHTTP(0xc2080a6300, 0x7f228fae6d40, 0xc208067540, 0xc2086f8b60)
/home/philip/build/src/github.com/influxdb/influxdb/messaging/handler.go:54 +0x1c8
main.(_Handler).ServeHTTP(0xc20801e400, 0x7f228fae6d40, 0xc208067540, 0xc2086f8b60)
/home/philip/build/src/github.com/influxdb/influxdb/cmd/influxd/handler.go:32 +0x248
net/http.serverHandler.ServeHTTP(0xc20800a660, 0x7f228fae6d40, 0xc208067540, 0xc2086f8b60)
/home/philip/.gvm/gos/go1.4/src/net/http/server.go:1703 +0x19a
net/http.(_conn).serve(0xc208067400)
/home/philip/.gvm/gos/go1.4/src/net/http/server.go:1204 +0xb57
created by net/http.(*Server).Serve
/home/philip/.gvm/gos/go1.4/src/net/http/server.go:1751 +0x35e

goroutine 50 [select]:
net/http.(_persistConn).writeLoop(0xc2081040b0)
/home/philip/.gvm/gos/go1.4/src/net/http/transport.go:945 +0x41d
created by net/http.(_Transport).dialConn
/home/philip/.gvm/gos/go1.4/src/net/http/transport.go:661 +0xcbc

goroutine 132 [IO wait]:
net.(_pollDesc).Wait(0xc2080798e0, 0x72, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/fd_poll_runtime.go:84 +0x47
net.(_pollDesc).WaitRead(0xc2080798e0, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/fd_poll_runtime.go:89 +0x43
net.(_netFD).Read(0xc208079880, 0xc20810a000, 0x1000, 0x1000, 0x0, 0x7f228fae4c30, 0xc208a66030)
/home/philip/.gvm/gos/go1.4/src/net/fd_unix.go:242 +0x40f
net.(_conn).Read(0xc20802e188, 0xc20810a000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/net.go:121 +0xdc
net/http.(_liveSwitchReader).Read(0xc2080665e8, 0xc20810a000, 0x1000, 0x1000, 0xc00000000000002, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/http/server.go:214 +0xab
io.(_LimitedReader).Read(0xc20833b260, 0xc20810a000, 0x1000, 0x1000, 0x2, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/io/io.go:408 +0xce
bufio.(_Reader).fill(0xc2080fb200)
/home/philip/.gvm/gos/go1.4/src/bufio/bufio.go:97 +0x1ce
bufio.(_Reader).ReadSlice(0xc2080fb200, 0xa, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/bufio/bufio.go:295 +0x257
bufio.(_Reader).ReadLine(0xc2080fb200, 0x0, 0x0, 0x0, 0xc207f50b00, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/bufio/bufio.go:324 +0x62
net/textproto.(_Reader).readLineSlice(0xc208af4090, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/textproto/reader.go:55 +0x9e
net/textproto.(_Reader).ReadLine(0xc208af4090, 0x0, 0x0, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/textproto/reader.go:36 +0x4f
net/http.ReadRequest(0xc2080fb200, 0xc20828e000, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/http/request.go:598 +0xcb
net/http.(_conn).readRequest(0xc2080665a0, 0x0, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/http/server.go:586 +0x26f
net/http.(_conn).serve(0xc2080665a0)
/home/philip/.gvm/gos/go1.4/src/net/http/server.go:1162 +0x69e
created by net/http.(_Server).Serve
/home/philip/.gvm/gos/go1.4/src/net/http/server.go:1751 +0x35e

goroutine 137 [IO wait]:
net.(_pollDesc).Wait(0xc208079b80, 0x72, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/fd_poll_runtime.go:84 +0x47
net.(_pollDesc).WaitRead(0xc208079b80, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/fd_poll_runtime.go:89 +0x43
net.(_netFD).Read(0xc208079b20, 0xc208347000, 0x1000, 0x1000, 0x0, 0x7f228fae4c30, 0xc208627580)
/home/philip/.gvm/gos/go1.4/src/net/fd_unix.go:242 +0x40f
net.(_conn).Read(0xc20802e1c0, 0xc208347000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/net.go:121 +0xdc
net/http.(_liveSwitchReader).Read(0xc208066728, 0xc208347000, 0x1000, 0x1000, 0x2, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/http/server.go:214 +0xab
io.(_LimitedReader).Read(0xc208a6f560, 0xc208347000, 0x1000, 0x1000, 0x2, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/io/io.go:408 +0xce
bufio.(_Reader).fill(0xc2080fb5c0)
/home/philip/.gvm/gos/go1.4/src/bufio/bufio.go:97 +0x1ce
bufio.(_Reader).ReadSlice(0xc2080fb5c0, 0xc208054b0a, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/bufio/bufio.go:295 +0x257
bufio.(_Reader).ReadLine(0xc2080fb5c0, 0x0, 0x0, 0x0, 0x700, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/bufio/bufio.go:324 +0x62
net/textproto.(_Reader).readLineSlice(0xc208a6dd70, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/textproto/reader.go:55 +0x9e
net/textproto.(_Reader).ReadLine(0xc208a6dd70, 0x0, 0x0, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/textproto/reader.go:36 +0x4f
net/http.ReadRequest(0xc2080fb5c0, 0xc20828e0d0, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/http/request.go:598 +0xcb
net/http.(_conn).readRequest(0xc2080666e0, 0x0, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/http/server.go:586 +0x26f
net/http.(_conn).serve(0xc2080666e0)
/home/philip/.gvm/gos/go1.4/src/net/http/server.go:1162 +0x69e
created by net/http.(_Server).Serve
/home/philip/.gvm/gos/go1.4/src/net/http/server.go:1751 +0x35e

goroutine 138 [IO wait]:
net.(_pollDesc).Wait(0xc208079bf0, 0x72, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/fd_poll_runtime.go:84 +0x47
net.(_pollDesc).WaitRead(0xc208079bf0, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/fd_poll_runtime.go:89 +0x43
net.(_netFD).Read(0xc208079b90, 0xc208a71000, 0x1000, 0x1000, 0x0, 0x7f228fae4c30, 0xc208a66d70)
/home/philip/.gvm/gos/go1.4/src/net/fd_unix.go:242 +0x40f
net.(_conn).Read(0xc20802e1c8, 0xc208a71000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/net.go:121 +0xdc
net/http.(_liveSwitchReader).Read(0xc208066908, 0xc208a71000, 0x1000, 0x1000, 0x2, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/http/server.go:214 +0xab
io.(_LimitedReader).Read(0xc208a6f5a0, 0xc208a71000, 0x1000, 0x1000, 0x2, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/io/io.go:408 +0xce
bufio.(_Reader).fill(0xc2080fb620)
/home/philip/.gvm/gos/go1.4/src/bufio/bufio.go:97 +0x1ce
bufio.(_Reader).ReadSlice(0xc2080fb620, 0xc20805ab0a, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/bufio/bufio.go:295 +0x257
bufio.(_Reader).ReadLine(0xc2080fb620, 0x0, 0x0, 0x0, 0x700, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/bufio/bufio.go:324 +0x62
net/textproto.(_Reader).readLineSlice(0xc208a6df20, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/textproto/reader.go:55 +0x9e
net/textproto.(_Reader).ReadLine(0xc208a6df20, 0x0, 0x0, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/textproto/reader.go:36 +0x4f
net/http.ReadRequest(0xc2080fb620, 0xc20828f110, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/http/request.go:598 +0xcb
net/http.(_conn).readRequest(0xc2080668c0, 0x0, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/http/server.go:586 +0x26f
net/http.(_conn).serve(0xc2080668c0)
/home/philip/.gvm/gos/go1.4/src/net/http/server.go:1162 +0x69e
created by net/http.(_Server).Serve
/home/philip/.gvm/gos/go1.4/src/net/http/server.go:1751 +0x35e

goroutine 139 [IO wait]:
net.(_pollDesc).Wait(0xc208079c60, 0x72, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/fd_poll_runtime.go:84 +0x47
net.(_pollDesc).WaitRead(0xc208079c60, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/fd_poll_runtime.go:89 +0x43
net.(_netFD).Read(0xc208079c00, 0xc208a73000, 0x1000, 0x1000, 0x0, 0x7f228fae4c30, 0xc208a66e00)
/home/philip/.gvm/gos/go1.4/src/net/fd_unix.go:242 +0x40f
net.(_conn).Read(0xc20802e1d0, 0xc208a73000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/net.go:121 +0xdc
net/http.(_liveSwitchReader).Read(0xc2080669a8, 0xc208a73000, 0x1000, 0x1000, 0x2, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/http/server.go:214 +0xab
io.(_LimitedReader).Read(0xc208a6f5e0, 0xc208a73000, 0x1000, 0x1000, 0x2, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/io/io.go:408 +0xce
bufio.(_Reader).fill(0xc2080fb680)
/home/philip/.gvm/gos/go1.4/src/bufio/bufio.go:97 +0x1ce
bufio.(_Reader).ReadSlice(0xc2080fb680, 0xc20813cb0a, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/bufio/bufio.go:295 +0x257
bufio.(_Reader).ReadLine(0xc2080fb680, 0x0, 0x0, 0x0, 0x700, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/bufio/bufio.go:324 +0x62
net/textproto.(_Reader).readLineSlice(0xc208af40f0, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/textproto/reader.go:55 +0x9e
net/textproto.(_Reader).ReadLine(0xc208af40f0, 0x0, 0x0, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/textproto/reader.go:36 +0x4f
net/http.ReadRequest(0xc2080fb680, 0xc20828f2b0, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/http/request.go:598 +0xcb
net/http.(_conn).readRequest(0xc208066960, 0x0, 0x0, 0x0)
/home/philip/.gvm/gos/go1.4/src/net/http/server.go:586 +0x26f
net/http.(_conn).serve(0xc208066960)
/home/philip/.gvm/gos/go1.4/src/net/http/server.go:1162 +0x69e
created by net/http.(_Server).Serve
/home/philip/.gvm/gos/go1.4/src/net/http/server.go:1751 +0x35e

goroutine 382 [sleep]:
github.com/influxdb/influxdb.(_Server).Sync(0xc208035790, 0x99da7c, 0x0, 0x0)
/home/philip/build/src/github.com/influxdb/influxdb/server.go:400 +0x12d
github.com/influxdb/influxdb.(_Server).broadcast(0xc208035790, 0xc2092d0011, 0x74e180, 0xc2092dfd70, 0xc208147028, 0x0, 0x0)
/home/philip/build/src/github.com/influxdb/influxdb/server.go:378 +0x1be
github.com/influxdb/influxdb.(_Server).DropDatabase(0xc208035790, 0xc2092dfd20, 0x7, 0x0, 0x0)
/home/philip/build/src/github.com/influxdb/influxdb/server.go:682 +0x9f
github.com/influxdb/influxdb.(_Server).executeDropDatabaseStatement(0xc208035790, 0xc2092dfd10, 0x0, 0xc2092dfd10)
/home/philip/build/src/github.com/influxdb/influxdb/server.go:1906 +0x46
github.com/influxdb/influxdb.(_Server).ExecuteQuery(0xc208035790, 0xc209316660, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
/home/philip/build/src/github.com/influxdb/influxdb/server.go:1765 +0xfdb
github.com/influxdb/influxdb/httpd.(_Handler).serveQuery(0xc20803d0e0, 0x7f228cde8050, 0xc2093165a0, 0xc20cea2340, 0x0)
/home/philip/build/src/github.com/influxdb/influxdb/httpd/handler.go:162 +0x36e
github.com/influxdb/influxdb/httpd._Handler.(github.com/influxdb/influxdb/httpd.serveQuery)·fm(0x7f228cde8050, 0xc2093165a0, 0xc20cea2340, 0x0)
/home/philip/build/src/github.com/influxdb/influxdb/httpd/handler.go:61 +0x4f
github.com/influxdb/influxdb/httpd.func·003(0x7f228cde8050, 0xc2093165a0, 0xc20cea2340)
/home/philip/build/src/github.com/influxdb/influxdb/httpd/handler.go:496 +0x77
net/http.HandlerFunc.ServeHTTP(0xc2080db3e0, 0x7f228cde8050, 0xc2093165a0, 0xc20cea2340)
/home/philip/.gvm/gos/go1.4/src/net/http/server.go:1265 +0x41
github.com/influxdb/influxdb/httpd.func·004(0x7f228faebb28, 0xc209316460, 0xc20cea2340)
/home/philip/build/src/github.com/influxdb/influxdb/httpd/handler.go:543 +0x288
net/http.HandlerFunc.ServeHTTP(0xc208122030, 0x7f228faebb28, 0xc209316460, 0xc20cea2340)
/home/philip/.gvm/gos/go1.4/src/net/http/server.go:1265 +0x41
github.com/influxdb/influxdb/httpd.func·005(0x7f228faebb28, 0xc209316460, 0xc20cea2340)
/home/philip/build/src/github.com/influxdb/influxdb/httpd/handler.go:552 +0xb0
net/http.HandlerFunc.ServeHTTP(0xc2080db400, 0x7f228faebb28, 0xc209316460, 0xc20cea2340)
/home/philip/.gvm/gos/go1.4/src/net/http/server.go:1265 +0x41
github.com/influxdb/influxdb/httpd.func·006(0x7f228faebb28, 0xc209316460, 0xc20cea2340)
/home/philip/build/src/github.com/influxdb/influxdb/httpd/handler.go:585 +0x31a
net/http.HandlerFunc.ServeHTTP(0xc208122070, 0x7f228faebb28, 0xc209316460, 0xc20cea2340)
/home/philip/.gvm/gos/go1.4/src/net/http/server.go:1265 +0x41
github.com/influxdb/influxdb/httpd.func·007(0x7f228faebb28, 0xc209316460, 0xc20cea2340)
/home/philip/build/src/github.com/influxdb/influxdb/httpd/handler.go:595 +0x164
net/http.HandlerFunc.ServeHTTP(0xc208122090, 0x7f228faebb28, 0xc209316460, 0xc20cea2340)
/home/philip/.gvm/gos/go1.4/src/net/http/server.go:1265 +0x41
github.com/influxdb/influxdb/httpd.func·008(0x7f228faebb28, 0xc209316440, 0xc20cea2340)
/home/philip/build/src/github.com/influxdb/influxdb/httpd/handler.go:603 +0x123
net/http.HandlerFunc.ServeHTTP(0xc2080db420, 0x7f228faebb28, 0xc209316440, 0xc20cea2340)
/home/philip/.gvm/gos/go1.4/src/net/http/server.go:1265 +0x41
github.com/influxdb/influxdb/httpd.func·009(0x7f228fae6d40, 0xc208066fa0, 0xc20cea2340)
/home/philip/build/src/github.com/influxdb/influxdb/httpd/handler.go:613 +0x12c
net/http.HandlerFunc.ServeHTTP(0xc2080db440, 0x7f228fae6d40, 0xc208066fa0, 0xc20cea2340)
/home/philip/.gvm/gos/go1.4/src/net/http/server.go:1265 +0x41
github.com/bmizerany/pat.(_PatternServeMux).ServeHTTP(0xc20802e430, 0x7f228fae6d40, 0xc208066fa0, 0xc20cea2340)
/home/philip/build/src/github.com/bmizerany/pat/mux.go:109 +0x21c
github.com/influxdb/influxdb/httpd.(_Handler).ServeHTTP(0xc20803d0e0, 0x7f228fae6d40, 0xc208066fa0, 0xc20cea2340)
/home/philip/build/src/github.com/influxdb/influxdb/httpd/handler.go:144 +0x4a
main.(_Handler).ServeHTTP(0xc20801e400, 0x7f228fae6d40, 0xc208066fa0, 0xc20cea2340)
/home/philip/build/src/github.com/influxdb/influxdb/cmd/influxd/handler.go:41 +0x1f5
net/http.serverHandler.ServeHTTP(0xc20800a660, 0x7f228fae6d40, 0xc208066fa0, 0xc20cea2340)
/home/philip/.gvm/gos/go1.4/src/net/http/server.go:1703 +0x19a
net/http.(_conn).serve(0xc208066b40)
/home/philip/.gvm/gos/go1.4/src/net/http/server.go:1204 +0xb57
created by net/http.(_Server).Serve
/home/philip/.gvm/gos/go1.4/src/net/http/server.go:1751 +0x35e

goroutine 2398 [select]:
net/http.(_persistConn).writeLoop(0xc208104580)
/home/philip/.gvm/gos/go1.4/src/net/http/transport.go:945 +0x41d
created by net/http.(_Transport).dialConn
/home/philip/.gvm/gos/go1.4/src/net/http/transport.go:661 +0xcbc

goroutine 2411 [sleep]:
github.com/influxdb/influxdb/raft.func·001()
/home/philip/build/src/github.com/influxdb/influxdb/raft/clock.go:66 +0x33
created by github.com/influxdb/influxdb/raft.newClockChan
/home/philip/build/src/github.com/influxdb/influxdb/raft/clock.go:66 +0xfb

@otoolep otoolep self-assigned this Mar 5, 2015
@otoolep
Copy link
Contributor

otoolep commented Mar 6, 2015

Setting a negative retention period per-se, while not meaning much, doesn't crash the server.

$ curl -G http://localhost:8086/query --data-urlencode "q=CREATE RETENTION POLICY bar3 ON foo DURATION -24h REPLICATION 1 DEFAULT"
{"results":[{}]}

Something more complex is going in.

@otoolep otoolep assigned toddboom and unassigned otoolep Mar 9, 2015
@otoolep
Copy link
Contributor

otoolep commented Mar 9, 2015

This looks something the UI might be doing to the system, perhaps @toddboom can take a look? It's not as simple as just sending in a negative retention duration.

@beckettsean beckettsean added this to the 0.9.0 milestone Apr 20, 2015
@toddboom toddboom modified the milestones: 0.9.0, 0.9.1 May 8, 2015
@toddboom
Copy link
Contributor

The new admin interface in #2746 exposes the queries to the user directly, so there's no longer any error checking that needs to be done by the admin interface itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants