Skip to content

Instantly share code, notes, and snippets.

@cannium
Created November 18, 2015 10:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cannium/66a752ace83ddb80d2a7 to your computer and use it in GitHub Desktop.
Save cannium/66a752ace83ddb80d2a7 to your computer and use it in GitHub Desktop.
funny/sync race conditons
==================
WARNING: DATA RACE
Read by goroutine 18:
github.com/funny/sync.(*monitor).diagnose()
/root/go/src/github.com/funny/sync/deadlock.go:95 +0x5e
github.com/funny/sync.(*monitor).wait()
/root/go/src/github.com/funny/sync/deadlock.go:89 +0x3a5
github.com/funny/sync.(*RWMutex).RLock()
/root/go/src/github.com/funny/sync/deadlock.go:45 +0x3e
github.com/influxdb/influxdb/meta.(*Store).Leader()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:590 +0x49
github.com/influxdb/influxdb/meta.(*Store).WaitForLeader()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:564 +0x421
github.com/influxdb/influxdb/meta.(*Store).syncNodeInfo.func1()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:270 +0x5b
github.com/influxdb/influxdb/meta.(*Store).syncNodeInfo()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:293 +0x7e
Previous write by main goroutine:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:122 +0x331
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/influxdb/influxdb/meta.(*Store).Leader()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:595 +0x115
github.com/influxdb/influxdb/meta.(*Store).WaitForLeader()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:564 +0x421
github.com/influxdb/influxdb/meta.(*Store).Open()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:260 +0x6b3
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open.func1()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:349 +0xf5f
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:384 +0x3e
github.com/influxdb/influxdb/cmd/influxd/run.(*Command).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/command.go:114 +0x10d3
main.(*Main).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:81 +0x8f9
main.main()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:42 +0x3ff
Goroutine 18 (running) created at:
github.com/influxdb/influxdb/meta.(*Store).Open()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:253 +0x707
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open.func1()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:349 +0xf5f
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:384 +0x3e
github.com/influxdb/influxdb/cmd/influxd/run.(*Command).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/command.go:114 +0x10d3
main.(*Main).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:81 +0x8f9
main.main()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:42 +0x3ff
==================
==================
WARNING: DATA RACE
Read by goroutine 18:
container/list.(*List).PushBack()
/tmp/workdir/go/src/container/list/list.go:138 +0x37
github.com/funny/sync.(*monitor).using()
/root/go/src/github.com/funny/sync/deadlock.go:115 +0x10e
github.com/funny/sync.(*RWMutex).RLock()
/root/go/src/github.com/funny/sync/deadlock.go:47 +0x81
github.com/influxdb/influxdb/meta.(*Store).Leader()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:590 +0x49
github.com/influxdb/influxdb/meta.(*Store).WaitForLeader()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:564 +0x421
github.com/influxdb/influxdb/meta.(*Store).syncNodeInfo.func1()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:270 +0x5b
github.com/influxdb/influxdb/meta.(*Store).syncNodeInfo()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:293 +0x7e
Previous write by main goroutine:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:122 +0x22f
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/influxdb/influxdb/meta.(*Store).Leader()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:595 +0x115
github.com/influxdb/influxdb/meta.(*Store).WaitForLeader()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:564 +0x421
github.com/influxdb/influxdb/meta.(*Store).Open()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:260 +0x6b3
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open.func1()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:349 +0xf5f
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:384 +0x3e
github.com/influxdb/influxdb/cmd/influxd/run.(*Command).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/command.go:114 +0x10d3
main.(*Main).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:81 +0x8f9
main.main()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:42 +0x3ff
Goroutine 18 (running) created at:
github.com/influxdb/influxdb/meta.(*Store).Open()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:253 +0x707
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open.func1()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:349 +0xf5f
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:384 +0x3e
github.com/influxdb/influxdb/cmd/influxd/run.(*Command).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/command.go:114 +0x10d3
main.(*Main).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:81 +0x8f9
main.main()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:42 +0x3ff
==================
==================
WARNING: DATA RACE
Read by goroutine 18:
container/list.(*List).PushBack()
/tmp/workdir/go/src/container/list/list.go:139 +0xd9
github.com/funny/sync.(*monitor).using()
/root/go/src/github.com/funny/sync/deadlock.go:115 +0x10e
github.com/funny/sync.(*RWMutex).RLock()
/root/go/src/github.com/funny/sync/deadlock.go:47 +0x81
github.com/influxdb/influxdb/meta.(*Store).Leader()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:590 +0x49
github.com/influxdb/influxdb/meta.(*Store).WaitForLeader()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:564 +0x421
github.com/influxdb/influxdb/meta.(*Store).syncNodeInfo.func1()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:270 +0x5b
github.com/influxdb/influxdb/meta.(*Store).syncNodeInfo()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:293 +0x7e
Previous write by main goroutine:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:122 +0x283
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/influxdb/influxdb/meta.(*Store).Leader()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:595 +0x115
github.com/influxdb/influxdb/meta.(*Store).WaitForLeader()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:564 +0x421
github.com/influxdb/influxdb/meta.(*Store).Open()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:260 +0x6b3
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open.func1()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:349 +0xf5f
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:384 +0x3e
github.com/influxdb/influxdb/cmd/influxd/run.(*Command).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/command.go:114 +0x10d3
main.(*Main).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:81 +0x8f9
main.main()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:42 +0x3ff
Goroutine 18 (running) created at:
github.com/influxdb/influxdb/meta.(*Store).Open()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:253 +0x707
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open.func1()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:349 +0xf5f
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:384 +0x3e
github.com/influxdb/influxdb/cmd/influxd/run.(*Command).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/command.go:114 +0x10d3
main.(*Main).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:81 +0x8f9
main.main()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:42 +0x3ff
==================
==================
WARNING: DATA RACE
Read by goroutine 18:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:122 +0x23d
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/influxdb/influxdb/meta.(*Store).Leader()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:595 +0x115
github.com/influxdb/influxdb/meta.(*Store).WaitForLeader()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:564 +0x421
github.com/influxdb/influxdb/meta.(*Store).syncNodeInfo.func1()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:270 +0x5b
github.com/influxdb/influxdb/meta.(*Store).syncNodeInfo()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:293 +0x7e
Previous write by main goroutine:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:122 +0x22f
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/influxdb/influxdb/meta.(*Store).Leader()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:595 +0x115
github.com/influxdb/influxdb/meta.(*Store).WaitForLeader()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:564 +0x421
github.com/influxdb/influxdb/meta.(*Store).Open()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:260 +0x6b3
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open.func1()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:349 +0xf5f
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:384 +0x3e
github.com/influxdb/influxdb/cmd/influxd/run.(*Command).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/command.go:114 +0x10d3
main.(*Main).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:81 +0x8f9
main.main()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:42 +0x3ff
Goroutine 18 (running) created at:
github.com/influxdb/influxdb/meta.(*Store).Open()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:253 +0x707
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open.func1()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:349 +0xf5f
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:384 +0x3e
github.com/influxdb/influxdb/cmd/influxd/run.(*Command).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/command.go:114 +0x10d3
main.(*Main).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:81 +0x8f9
main.main()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:42 +0x3ff
==================
==================
WARNING: DATA RACE
Write by goroutine 18:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:122 +0x2f7
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/influxdb/influxdb/meta.(*Store).Leader()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:595 +0x115
github.com/influxdb/influxdb/meta.(*Store).WaitForLeader()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:564 +0x421
github.com/influxdb/influxdb/meta.(*Store).syncNodeInfo.func1()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:270 +0x5b
github.com/influxdb/influxdb/meta.(*Store).syncNodeInfo()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:293 +0x7e
Previous read by main goroutine:
github.com/funny/sync.(*monitor).diagnose()
/root/go/src/github.com/funny/sync/deadlock.go:95 +0x14c
github.com/funny/sync.(*monitor).wait()
/root/go/src/github.com/funny/sync/deadlock.go:89 +0x3a5
github.com/funny/sync.(*RWMutex).RLock()
/root/go/src/github.com/funny/sync/deadlock.go:45 +0x3e
github.com/influxdb/influxdb/meta.(*Store).Leader()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:590 +0x49
github.com/influxdb/influxdb/meta.(*Store).WaitForLeader()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:564 +0x421
github.com/influxdb/influxdb/meta.(*Store).Open()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:260 +0x6b3
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open.func1()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:349 +0xf5f
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:384 +0x3e
github.com/influxdb/influxdb/cmd/influxd/run.(*Command).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/command.go:114 +0x10d3
main.(*Main).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:81 +0x8f9
main.main()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:42 +0x3ff
Goroutine 18 (running) created at:
github.com/influxdb/influxdb/meta.(*Store).Open()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:253 +0x707
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open.func1()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:349 +0xf5f
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:384 +0x3e
github.com/influxdb/influxdb/cmd/influxd/run.(*Command).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/command.go:114 +0x10d3
main.(*Main).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:81 +0x8f9
main.main()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:42 +0x3ff
==================
==================
WARNING: DATA RACE
Read by goroutine 18:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:121 +0xb8
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/influxdb/influxdb/meta.(*Store).Leader()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:595 +0x115
github.com/influxdb/influxdb/meta.(*Store).WaitForLeader()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:564 +0x421
github.com/influxdb/influxdb/meta.(*Store).syncNodeInfo.func1()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:270 +0x5b
github.com/influxdb/influxdb/meta.(*Store).syncNodeInfo()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:293 +0x7e
Previous write by main goroutine:
container/list.(*List).PushBack()
/tmp/workdir/go/src/container/list/list.go:139 +0x137
github.com/funny/sync.(*monitor).using()
/root/go/src/github.com/funny/sync/deadlock.go:115 +0x10e
github.com/funny/sync.(*RWMutex).RLock()
/root/go/src/github.com/funny/sync/deadlock.go:47 +0x81
github.com/influxdb/influxdb/meta.(*Store).Leader()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:590 +0x49
github.com/influxdb/influxdb/meta.(*Store).WaitForLeader()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:564 +0x421
github.com/influxdb/influxdb/meta.(*Store).Open()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:260 +0x6b3
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open.func1()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:349 +0xf5f
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:384 +0x3e
github.com/influxdb/influxdb/cmd/influxd/run.(*Command).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/command.go:114 +0x10d3
main.(*Main).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:81 +0x8f9
main.main()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:42 +0x3ff
Goroutine 18 (running) created at:
github.com/influxdb/influxdb/meta.(*Store).Open()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:253 +0x707
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open.func1()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:349 +0xf5f
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:384 +0x3e
github.com/influxdb/influxdb/cmd/influxd/run.(*Command).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/command.go:114 +0x10d3
main.(*Main).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:81 +0x8f9
main.main()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:42 +0x3ff
==================
==================
WARNING: DATA RACE
Read by goroutine 18:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:121 +0x110
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/influxdb/influxdb/meta.(*Store).Leader()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:595 +0x115
github.com/influxdb/influxdb/meta.(*Store).WaitForLeader()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:564 +0x421
github.com/influxdb/influxdb/meta.(*Store).syncNodeInfo.func1()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:270 +0x5b
github.com/influxdb/influxdb/meta.(*Store).syncNodeInfo()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:293 +0x7e
Previous write by main goroutine:
github.com/funny/sync.(*monitor).wait()
/root/go/src/github.com/funny/sync/deadlock.go:82 +0x160
github.com/funny/sync.(*RWMutex).RLock()
/root/go/src/github.com/funny/sync/deadlock.go:45 +0x3e
github.com/influxdb/influxdb/meta.(*Store).Leader()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:590 +0x49
github.com/influxdb/influxdb/meta.(*Store).WaitForLeader()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:564 +0x421
github.com/influxdb/influxdb/meta.(*Store).Open()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:260 +0x6b3
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open.func1()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:349 +0xf5f
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:384 +0x3e
github.com/influxdb/influxdb/cmd/influxd/run.(*Command).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/command.go:114 +0x10d3
main.(*Main).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:81 +0x8f9
main.main()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:42 +0x3ff
Goroutine 18 (running) created at:
github.com/influxdb/influxdb/meta.(*Store).Open()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:253 +0x707
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open.func1()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:349 +0xf5f
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:384 +0x3e
github.com/influxdb/influxdb/cmd/influxd/run.(*Command).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/command.go:114 +0x10d3
main.(*Main).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:81 +0x8f9
main.main()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:42 +0x3ff
==================
==================
WARNING: DATA RACE
Read by goroutine 18:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:120 +0x3ea
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/influxdb/influxdb/meta.(*Store).Leader()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:595 +0x115
github.com/influxdb/influxdb/meta.(*Store).WaitForLeader()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:564 +0x421
github.com/influxdb/influxdb/meta.(*Store).syncNodeInfo.func1()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:270 +0x5b
github.com/influxdb/influxdb/meta.(*Store).syncNodeInfo()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:293 +0x7e
Previous write by main goroutine:
container/list.(*List).PushBack()
/tmp/workdir/go/src/container/list/list.go:139 +0x137
github.com/funny/sync.(*monitor).using()
/root/go/src/github.com/funny/sync/deadlock.go:115 +0x10e
github.com/funny/sync.(*RWMutex).RLock()
/root/go/src/github.com/funny/sync/deadlock.go:47 +0x81
github.com/influxdb/influxdb/meta.(*Store).Leader()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:590 +0x49
github.com/influxdb/influxdb/meta.(*Store).WaitForLeader()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:564 +0x421
github.com/influxdb/influxdb/meta.(*Store).Open()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:260 +0x6b3
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open.func1()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:349 +0xf5f
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:384 +0x3e
github.com/influxdb/influxdb/cmd/influxd/run.(*Command).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/command.go:114 +0x10d3
main.(*Main).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:81 +0x8f9
main.main()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:42 +0x3ff
Goroutine 18 (running) created at:
github.com/influxdb/influxdb/meta.(*Store).Open()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:253 +0x707
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open.func1()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:349 +0xf5f
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:384 +0x3e
github.com/influxdb/influxdb/cmd/influxd/run.(*Command).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/command.go:114 +0x10d3
main.(*Main).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:81 +0x8f9
main.main()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:42 +0x3ff
==================
==================
WARNING: DATA RACE
Read by goroutine 18:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:120 +0x406
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/influxdb/influxdb/meta.(*Store).Leader()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:595 +0x115
github.com/influxdb/influxdb/meta.(*Store).WaitForLeader()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:564 +0x421
github.com/influxdb/influxdb/meta.(*Store).syncNodeInfo.func1()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:270 +0x5b
github.com/influxdb/influxdb/meta.(*Store).syncNodeInfo()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:293 +0x7e
Previous write by main goroutine:
container/list.(*List).PushBack()
/tmp/workdir/go/src/container/list/list.go:139 +0x137
github.com/funny/sync.(*monitor).using()
/root/go/src/github.com/funny/sync/deadlock.go:115 +0x10e
github.com/funny/sync.(*RWMutex).RLock()
/root/go/src/github.com/funny/sync/deadlock.go:47 +0x81
github.com/influxdb/influxdb/meta.(*Store).Leader()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:590 +0x49
github.com/influxdb/influxdb/meta.(*Store).WaitForLeader()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:564 +0x421
github.com/influxdb/influxdb/meta.(*Store).Open()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:260 +0x6b3
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open.func1()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:349 +0xf5f
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:384 +0x3e
github.com/influxdb/influxdb/cmd/influxd/run.(*Command).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/command.go:114 +0x10d3
main.(*Main).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:81 +0x8f9
main.main()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:42 +0x3ff
Goroutine 18 (running) created at:
github.com/influxdb/influxdb/meta.(*Store).Open()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:253 +0x707
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open.func1()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:349 +0xf5f
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:384 +0x3e
github.com/influxdb/influxdb/cmd/influxd/run.(*Command).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/command.go:114 +0x10d3
main.(*Main).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:81 +0x8f9
main.main()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:42 +0x3ff
==================
==================
WARNING: DATA RACE
Read by goroutine 18:
github.com/funny/sync.(*monitor).diagnose()
/root/go/src/github.com/funny/sync/deadlock.go:95 +0x131
github.com/funny/sync.(*monitor).wait()
/root/go/src/github.com/funny/sync/deadlock.go:89 +0x3a5
github.com/funny/sync.(*RWMutex).RLock()
/root/go/src/github.com/funny/sync/deadlock.go:45 +0x3e
github.com/influxdb/influxdb/meta.(*Store).Leader()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:590 +0x49
github.com/influxdb/influxdb/meta.(*Store).WaitForLeader()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:564 +0x421
github.com/influxdb/influxdb/meta.(*Store).syncNodeInfo.func1()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:270 +0x5b
github.com/influxdb/influxdb/meta.(*Store).syncNodeInfo()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:293 +0x7e
Previous write by main goroutine:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:122 +0x22f
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/influxdb/influxdb/meta.(*Store).Leader()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:595 +0x115
github.com/influxdb/influxdb/meta.(*Store).WaitForLeader()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:564 +0x421
github.com/influxdb/influxdb/meta.(*Store).Open()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:260 +0x6b3
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open.func1()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:349 +0xf5f
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:384 +0x3e
github.com/influxdb/influxdb/cmd/influxd/run.(*Command).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/command.go:114 +0x10d3
main.(*Main).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:81 +0x8f9
main.main()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:42 +0x3ff
Goroutine 18 (running) created at:
github.com/influxdb/influxdb/meta.(*Store).Open()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:253 +0x707
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open.func1()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:349 +0xf5f
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:384 +0x3e
github.com/influxdb/influxdb/cmd/influxd/run.(*Command).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/command.go:114 +0x10d3
main.(*Main).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:81 +0x8f9
main.main()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:42 +0x3ff
==================
==================
WARNING: DATA RACE
Write by goroutine 18:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:122 +0x2c6
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/influxdb/influxdb/meta.(*Store).Leader()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:595 +0x115
github.com/influxdb/influxdb/meta.(*Store).WaitForLeader()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:564 +0x421
github.com/influxdb/influxdb/meta.(*Store).syncNodeInfo.func1()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:270 +0x5b
github.com/influxdb/influxdb/meta.(*Store).syncNodeInfo()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:293 +0x7e
Previous read by goroutine 12:
github.com/funny/sync.(*monitor).diagnose()
/root/go/src/github.com/funny/sync/deadlock.go:95 +0x131
github.com/funny/sync.(*monitor).wait()
/root/go/src/github.com/funny/sync/deadlock.go:89 +0x3a5
github.com/funny/sync.(*RWMutex).Lock()
/root/go/src/github.com/funny/sync/deadlock.go:34 +0x3e
github.com/influxdb/influxdb/meta.(*storeFSM).Apply()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:1612 +0x2bc
github.com/hashicorp/raft.(*Raft).runFSM()
/root/go/src/github.com/hashicorp/raft/raft.go:564 +0x13a6
github.com/hashicorp/raft.(*Raft).(github.com/hashicorp/raft.runFSM)-fm()
/root/go/src/github.com/hashicorp/raft/raft.go:253 +0x2d
github.com/hashicorp/raft.(*raftState).goFunc.func1()
/root/go/src/github.com/hashicorp/raft/state.go:152 +0x51
Goroutine 18 (running) created at:
github.com/influxdb/influxdb/meta.(*Store).Open()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:253 +0x707
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open.func1()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:349 +0xf5f
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:384 +0x3e
github.com/influxdb/influxdb/cmd/influxd/run.(*Command).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/command.go:114 +0x10d3
main.(*Main).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:81 +0x8f9
main.main()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:42 +0x3ff
Goroutine 12 (running) created at:
github.com/hashicorp/raft.(*raftState).goFunc()
/root/go/src/github.com/hashicorp/raft/state.go:153 +0x5a
github.com/hashicorp/raft.NewRaft()
/root/go/src/github.com/hashicorp/raft/raft.go:253 +0x1166
github.com/influxdb/influxdb/meta.(*localRaft).open()
/root/go/src/github.com/influxdb/influxdb/meta/state.go:170 +0x1995
github.com/influxdb/influxdb/meta.(*Store).openRaft()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:418 +0x6d
github.com/influxdb/influxdb/meta.(*Store).Open.func1()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:217 +0x2ed
github.com/influxdb/influxdb/meta.(*Store).Open()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:232 +0x3bc
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open.func1()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:349 +0xf5f
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:384 +0x3e
github.com/influxdb/influxdb/cmd/influxd/run.(*Command).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/command.go:114 +0x10d3
main.(*Main).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:81 +0x8f9
main.main()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:42 +0x3ff
==================
==================
WARNING: DATA RACE
Write by goroutine 18:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:122 +0x2f7
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/influxdb/influxdb/meta.(*Store).Leader()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:595 +0x115
github.com/influxdb/influxdb/meta.(*Store).WaitForLeader()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:564 +0x421
github.com/influxdb/influxdb/meta.(*Store).syncNodeInfo.func1()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:270 +0x5b
github.com/influxdb/influxdb/meta.(*Store).syncNodeInfo()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:293 +0x7e
Previous read by goroutine 12:
github.com/funny/sync.(*monitor).diagnose()
/root/go/src/github.com/funny/sync/deadlock.go:95 +0x14c
github.com/funny/sync.(*monitor).wait()
/root/go/src/github.com/funny/sync/deadlock.go:89 +0x3a5
github.com/funny/sync.(*RWMutex).Lock()
/root/go/src/github.com/funny/sync/deadlock.go:34 +0x3e
github.com/influxdb/influxdb/meta.(*storeFSM).Apply()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:1612 +0x2bc
github.com/hashicorp/raft.(*Raft).runFSM()
/root/go/src/github.com/hashicorp/raft/raft.go:564 +0x13a6
github.com/hashicorp/raft.(*Raft).(github.com/hashicorp/raft.runFSM)-fm()
/root/go/src/github.com/hashicorp/raft/raft.go:253 +0x2d
github.com/hashicorp/raft.(*raftState).goFunc.func1()
/root/go/src/github.com/hashicorp/raft/state.go:152 +0x51
Goroutine 18 (running) created at:
github.com/influxdb/influxdb/meta.(*Store).Open()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:253 +0x707
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open.func1()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:349 +0xf5f
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:384 +0x3e
github.com/influxdb/influxdb/cmd/influxd/run.(*Command).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/command.go:114 +0x10d3
main.(*Main).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:81 +0x8f9
main.main()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:42 +0x3ff
Goroutine 12 (running) created at:
github.com/hashicorp/raft.(*raftState).goFunc()
/root/go/src/github.com/hashicorp/raft/state.go:153 +0x5a
github.com/hashicorp/raft.NewRaft()
/root/go/src/github.com/hashicorp/raft/raft.go:253 +0x1166
github.com/influxdb/influxdb/meta.(*localRaft).open()
/root/go/src/github.com/influxdb/influxdb/meta/state.go:170 +0x1995
github.com/influxdb/influxdb/meta.(*Store).openRaft()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:418 +0x6d
github.com/influxdb/influxdb/meta.(*Store).Open.func1()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:217 +0x2ed
github.com/influxdb/influxdb/meta.(*Store).Open()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:232 +0x3bc
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open.func1()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:349 +0xf5f
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:384 +0x3e
github.com/influxdb/influxdb/cmd/influxd/run.(*Command).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/command.go:114 +0x10d3
main.(*Main).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:81 +0x8f9
main.main()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:42 +0x3ff
==================
==================
WARNING: DATA RACE
Read by goroutine 56:
github.com/funny/sync.(*monitor).diagnose()
/root/go/src/github.com/funny/sync/deadlock.go:95 +0x5e
github.com/funny/sync.(*monitor).wait()
/root/go/src/github.com/funny/sync/deadlock.go:89 +0x3a5
github.com/funny/sync.(*RWMutex).Lock()
/root/go/src/github.com/funny/sync/deadlock.go:34 +0x3e
github.com/influxdb/influxdb/tsdb/engine/wal.(*Log).writeSeriesAndFields()
/root/go/src/github.com/influxdb/influxdb/tsdb/engine/wal/wal.go:436 +0x22d
github.com/influxdb/influxdb/tsdb/engine/wal.(*Log).WritePoints()
/root/go/src/github.com/influxdb/influxdb/tsdb/engine/wal/wal.go:269 +0x132
github.com/influxdb/influxdb/tsdb/engine/bz1.(*Engine).WritePoints()
/root/go/src/github.com/influxdb/influxdb/tsdb/engine/bz1/bz1.go:230 +0xe0
github.com/influxdb/influxdb/tsdb.(*Shard).WritePoints()
/root/go/src/github.com/influxdb/influxdb/tsdb/shard.go:255 +0x847
github.com/influxdb/influxdb/tsdb.(*Store).WriteToShard()
/root/go/src/github.com/influxdb/influxdb/tsdb/store.go:339 +0x15e
github.com/influxdb/influxdb/cluster.(*PointsWriter).writeToShard.func1()
/root/go/src/github.com/influxdb/influxdb/cluster/points_writer.go:267 +0x164
Previous write by goroutine 53:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:122 +0x331
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/influxdb/influxdb/tsdb/engine/wal.(*Log).triggerAutoFlush()
/root/go/src/github.com/influxdb/influxdb/tsdb/engine/wal/wal.go:593 +0x264
github.com/influxdb/influxdb/tsdb/engine/wal.(*Log).autoflusher()
/root/go/src/github.com/influxdb/influxdb/tsdb/engine/wal/wal.go:609 +0x1d9
Goroutine 56 (running) created at:
github.com/influxdb/influxdb/cluster.(*PointsWriter).writeToShard()
/root/go/src/github.com/influxdb/influxdb/cluster/points_writer.go:299 +0x24a
github.com/influxdb/influxdb/cluster.(*PointsWriter).WritePoints.func1()
/root/go/src/github.com/influxdb/influxdb/cluster/points_writer.go:225 +0xe1
Goroutine 53 (running) created at:
github.com/influxdb/influxdb/tsdb/engine/wal.(*Log).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/engine/wal/wal.go:240 +0x886
github.com/influxdb/influxdb/tsdb/engine/bz1.(*Engine).LoadMetadataIndex()
/root/go/src/github.com/influxdb/influxdb/tsdb/engine/bz1/bz1.go:223 +0x201
github.com/influxdb/influxdb/tsdb.(*Shard).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/shard.go:123 +0x6a6
github.com/influxdb/influxdb/tsdb.(*Shard).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/shard.go:128 +0x3e
github.com/influxdb/influxdb/tsdb.(*Store).loadShards()
/root/go/src/github.com/influxdb/influxdb/tsdb/store.go:291 +0xfef
github.com/influxdb/influxdb/tsdb.(*Store).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/store.go:324 +0x44f
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open.func1()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:362 +0x1333
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:384 +0x3e
github.com/influxdb/influxdb/cmd/influxd/run.(*Command).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/command.go:114 +0x10d3
main.(*Main).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:81 +0x8f9
main.main()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:42 +0x3ff
==================
==================
WARNING: DATA RACE
Read by goroutine 92:
github.com/funny/sync.(*monitor).diagnose()
/root/go/src/github.com/funny/sync/deadlock.go:95 +0x5e
github.com/funny/sync.(*monitor).wait()
/root/go/src/github.com/funny/sync/deadlock.go:89 +0x3a5
github.com/funny/sync.(*RWMutex).RLock()
/root/go/src/github.com/funny/sync/deadlock.go:45 +0x3e
github.com/influxdb/influxdb/tsdb.(*Store).DatabaseIndex()
/root/go/src/github.com/influxdb/influxdb/tsdb/store.go:179 +0x46
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).reportServer()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:459 +0x2dd
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).startServerReporting()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:442 +0x20e
Previous write by goroutine 88:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:122 +0x331
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/influxdb/influxdb/tsdb.(*Store).WriteToShard()
/root/go/src/github.com/influxdb/influxdb/tsdb/store.go:339 +0x183
github.com/influxdb/influxdb/cluster.(*PointsWriter).writeToShard.func1()
/root/go/src/github.com/influxdb/influxdb/cluster/points_writer.go:267 +0x164
Goroutine 92 (running) created at:
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open.func1()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:379 +0x18af
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:384 +0x3e
github.com/influxdb/influxdb/cmd/influxd/run.(*Command).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/command.go:114 +0x10d3
main.(*Main).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:81 +0x8f9
main.main()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:42 +0x3ff
Goroutine 88 (finished) created at:
github.com/influxdb/influxdb/cluster.(*PointsWriter).writeToShard()
/root/go/src/github.com/influxdb/influxdb/cluster/points_writer.go:299 +0x24a
github.com/influxdb/influxdb/cluster.(*PointsWriter).WritePoints.func1()
/root/go/src/github.com/influxdb/influxdb/cluster/points_writer.go:225 +0xe1
==================
==================
WARNING: DATA RACE
Read by goroutine 92:
container/list.(*List).PushBack()
/tmp/workdir/go/src/container/list/list.go:138 +0x37
github.com/funny/sync.(*monitor).using()
/root/go/src/github.com/funny/sync/deadlock.go:115 +0x10e
github.com/funny/sync.(*RWMutex).RLock()
/root/go/src/github.com/funny/sync/deadlock.go:47 +0x81
github.com/influxdb/influxdb/tsdb.(*Store).DatabaseIndex()
/root/go/src/github.com/influxdb/influxdb/tsdb/store.go:179 +0x46
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).reportServer()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:459 +0x2dd
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).startServerReporting()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:442 +0x20e
Previous write by goroutine 88:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:122 +0x22f
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/influxdb/influxdb/tsdb.(*Store).WriteToShard()
/root/go/src/github.com/influxdb/influxdb/tsdb/store.go:339 +0x183
github.com/influxdb/influxdb/cluster.(*PointsWriter).writeToShard.func1()
/root/go/src/github.com/influxdb/influxdb/cluster/points_writer.go:267 +0x164
Goroutine 92 (running) created at:
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open.func1()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:379 +0x18af
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:384 +0x3e
github.com/influxdb/influxdb/cmd/influxd/run.(*Command).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/command.go:114 +0x10d3
main.(*Main).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:81 +0x8f9
main.main()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:42 +0x3ff
Goroutine 88 (finished) created at:
github.com/influxdb/influxdb/cluster.(*PointsWriter).writeToShard()
/root/go/src/github.com/influxdb/influxdb/cluster/points_writer.go:299 +0x24a
github.com/influxdb/influxdb/cluster.(*PointsWriter).WritePoints.func1()
/root/go/src/github.com/influxdb/influxdb/cluster/points_writer.go:225 +0xe1
==================
==================
WARNING: DATA RACE
Read by goroutine 92:
container/list.(*List).PushBack()
/tmp/workdir/go/src/container/list/list.go:139 +0xd9
github.com/funny/sync.(*monitor).using()
/root/go/src/github.com/funny/sync/deadlock.go:115 +0x10e
github.com/funny/sync.(*RWMutex).RLock()
/root/go/src/github.com/funny/sync/deadlock.go:47 +0x81
github.com/influxdb/influxdb/tsdb.(*Store).DatabaseIndex()
/root/go/src/github.com/influxdb/influxdb/tsdb/store.go:179 +0x46
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).reportServer()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:459 +0x2dd
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).startServerReporting()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:442 +0x20e
Previous write by goroutine 88:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:122 +0x283
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/influxdb/influxdb/tsdb.(*Store).WriteToShard()
/root/go/src/github.com/influxdb/influxdb/tsdb/store.go:339 +0x183
github.com/influxdb/influxdb/cluster.(*PointsWriter).writeToShard.func1()
/root/go/src/github.com/influxdb/influxdb/cluster/points_writer.go:267 +0x164
Goroutine 92 (running) created at:
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open.func1()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:379 +0x18af
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:384 +0x3e
github.com/influxdb/influxdb/cmd/influxd/run.(*Command).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/command.go:114 +0x10d3
main.(*Main).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:81 +0x8f9
main.main()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:42 +0x3ff
Goroutine 88 (finished) created at:
github.com/influxdb/influxdb/cluster.(*PointsWriter).writeToShard()
/root/go/src/github.com/influxdb/influxdb/cluster/points_writer.go:299 +0x24a
github.com/influxdb/influxdb/cluster.(*PointsWriter).WritePoints.func1()
/root/go/src/github.com/influxdb/influxdb/cluster/points_writer.go:225 +0xe1
==================
==================
WARNING: DATA RACE
Read by goroutine 53:
github.com/funny/sync.(*monitor).diagnose()
/root/go/src/github.com/funny/sync/deadlock.go:95 +0x5e
github.com/funny/sync.(*monitor).wait()
/root/go/src/github.com/funny/sync/deadlock.go:89 +0x3a5
github.com/funny/sync.(*RWMutex).Lock()
/root/go/src/github.com/funny/sync/deadlock.go:34 +0x3e
github.com/influxdb/influxdb/tsdb/engine/wal.(*Partition).shouldFlush()
/root/go/src/github.com/influxdb/influxdb/tsdb/engine/wal/wal.go:925 +0x4b
github.com/influxdb/influxdb/tsdb/engine/wal.(*Log).triggerAutoFlush()
/root/go/src/github.com/influxdb/influxdb/tsdb/engine/wal/wal.go:588 +0x117
github.com/influxdb/influxdb/tsdb/engine/wal.(*Log).autoflusher()
/root/go/src/github.com/influxdb/influxdb/tsdb/engine/wal/wal.go:609 +0x1d9
Previous write by goroutine 88:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:122 +0x331
github.com/funny/sync.(*RWMutex).Unlock()
/root/go/src/github.com/funny/sync/deadlock.go:40 +0x3a
github.com/influxdb/influxdb/tsdb/engine/wal.(*Partition).Write()
/root/go/src/github.com/influxdb/influxdb/tsdb/engine/wal/wal.go:875 +0x1322
github.com/influxdb/influxdb/tsdb/engine/wal.(*Log).WritePoints()
/root/go/src/github.com/influxdb/influxdb/tsdb/engine/wal/wal.go:275 +0x3bd
github.com/influxdb/influxdb/tsdb/engine/bz1.(*Engine).WritePoints()
/root/go/src/github.com/influxdb/influxdb/tsdb/engine/bz1/bz1.go:230 +0xe0
github.com/influxdb/influxdb/tsdb.(*Shard).WritePoints()
/root/go/src/github.com/influxdb/influxdb/tsdb/shard.go:255 +0x847
github.com/influxdb/influxdb/tsdb.(*Store).WriteToShard()
/root/go/src/github.com/influxdb/influxdb/tsdb/store.go:339 +0x15e
github.com/influxdb/influxdb/cluster.(*PointsWriter).writeToShard.func1()
/root/go/src/github.com/influxdb/influxdb/cluster/points_writer.go:267 +0x164
Goroutine 53 (running) created at:
github.com/influxdb/influxdb/tsdb/engine/wal.(*Log).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/engine/wal/wal.go:240 +0x886
github.com/influxdb/influxdb/tsdb/engine/bz1.(*Engine).LoadMetadataIndex()
/root/go/src/github.com/influxdb/influxdb/tsdb/engine/bz1/bz1.go:223 +0x201
github.com/influxdb/influxdb/tsdb.(*Shard).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/shard.go:123 +0x6a6
github.com/influxdb/influxdb/tsdb.(*Shard).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/shard.go:128 +0x3e
github.com/influxdb/influxdb/tsdb.(*Store).loadShards()
/root/go/src/github.com/influxdb/influxdb/tsdb/store.go:291 +0xfef
github.com/influxdb/influxdb/tsdb.(*Store).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/store.go:324 +0x44f
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open.func1()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:362 +0x1333
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:384 +0x3e
github.com/influxdb/influxdb/cmd/influxd/run.(*Command).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/command.go:114 +0x10d3
main.(*Main).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:81 +0x8f9
main.main()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:42 +0x3ff
Goroutine 88 (finished) created at:
github.com/influxdb/influxdb/cluster.(*PointsWriter).writeToShard()
/root/go/src/github.com/influxdb/influxdb/cluster/points_writer.go:299 +0x24a
github.com/influxdb/influxdb/cluster.(*PointsWriter).WritePoints.func1()
/root/go/src/github.com/influxdb/influxdb/cluster/points_writer.go:225 +0xe1
==================
==================
WARNING: DATA RACE
Write by goroutine 109:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:122 +0x22f
github.com/funny/sync.(*RWMutex).Unlock()
/root/go/src/github.com/funny/sync/deadlock.go:40 +0x3a
github.com/influxdb/influxdb/tsdb/engine/wal.(*Partition).Write()
/root/go/src/github.com/influxdb/influxdb/tsdb/engine/wal/wal.go:875 +0x1322
github.com/influxdb/influxdb/tsdb/engine/wal.(*Log).WritePoints()
/root/go/src/github.com/influxdb/influxdb/tsdb/engine/wal/wal.go:275 +0x3bd
github.com/influxdb/influxdb/tsdb/engine/bz1.(*Engine).WritePoints()
/root/go/src/github.com/influxdb/influxdb/tsdb/engine/bz1/bz1.go:230 +0xe0
github.com/influxdb/influxdb/tsdb.(*Shard).WritePoints()
/root/go/src/github.com/influxdb/influxdb/tsdb/shard.go:255 +0x847
github.com/influxdb/influxdb/tsdb.(*Store).WriteToShard()
/root/go/src/github.com/influxdb/influxdb/tsdb/store.go:339 +0x15e
github.com/influxdb/influxdb/cluster.(*PointsWriter).writeToShard.func1()
/root/go/src/github.com/influxdb/influxdb/cluster/points_writer.go:267 +0x164
Previous read by goroutine 73:
github.com/funny/sync.(*monitor).diagnose()
/root/go/src/github.com/funny/sync/deadlock.go:95 +0x524
github.com/funny/sync.(*monitor).wait()
/root/go/src/github.com/funny/sync/deadlock.go:89 +0x3a5
github.com/funny/sync.(*RWMutex).Lock()
/root/go/src/github.com/funny/sync/deadlock.go:34 +0x3e
github.com/influxdb/influxdb/tsdb/engine/wal.(*Partition).shouldFlush()
/root/go/src/github.com/influxdb/influxdb/tsdb/engine/wal/wal.go:925 +0x4b
github.com/influxdb/influxdb/tsdb/engine/wal.(*Log).triggerAutoFlush()
/root/go/src/github.com/influxdb/influxdb/tsdb/engine/wal/wal.go:588 +0x117
github.com/influxdb/influxdb/tsdb/engine/wal.(*Log).autoflusher()
/root/go/src/github.com/influxdb/influxdb/tsdb/engine/wal/wal.go:609 +0x1d9
Goroutine 109 (running) created at:
github.com/influxdb/influxdb/cluster.(*PointsWriter).writeToShard()
/root/go/src/github.com/influxdb/influxdb/cluster/points_writer.go:299 +0x24a
github.com/influxdb/influxdb/cluster.(*PointsWriter).WritePoints.func1()
/root/go/src/github.com/influxdb/influxdb/cluster/points_writer.go:225 +0xe1
Goroutine 73 (running) created at:
github.com/influxdb/influxdb/tsdb/engine/wal.(*Log).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/engine/wal/wal.go:240 +0x886
github.com/influxdb/influxdb/tsdb/engine/bz1.(*Engine).LoadMetadataIndex()
/root/go/src/github.com/influxdb/influxdb/tsdb/engine/bz1/bz1.go:223 +0x201
github.com/influxdb/influxdb/tsdb.(*Shard).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/shard.go:123 +0x6a6
github.com/influxdb/influxdb/tsdb.(*Shard).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/shard.go:128 +0x3e
github.com/influxdb/influxdb/tsdb.(*Store).loadShards()
/root/go/src/github.com/influxdb/influxdb/tsdb/store.go:291 +0xfef
github.com/influxdb/influxdb/tsdb.(*Store).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/store.go:324 +0x44f
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open.func1()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:362 +0x1333
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:384 +0x3e
github.com/influxdb/influxdb/cmd/influxd/run.(*Command).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/command.go:114 +0x10d3
main.(*Main).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:81 +0x8f9
main.main()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:42 +0x3ff
==================
==================
WARNING: DATA RACE
Write by goroutine 109:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:122 +0x2c6
github.com/funny/sync.(*RWMutex).Unlock()
/root/go/src/github.com/funny/sync/deadlock.go:40 +0x3a
github.com/influxdb/influxdb/tsdb/engine/wal.(*Partition).Write()
/root/go/src/github.com/influxdb/influxdb/tsdb/engine/wal/wal.go:875 +0x1322
github.com/influxdb/influxdb/tsdb/engine/wal.(*Log).WritePoints()
/root/go/src/github.com/influxdb/influxdb/tsdb/engine/wal/wal.go:275 +0x3bd
github.com/influxdb/influxdb/tsdb/engine/bz1.(*Engine).WritePoints()
/root/go/src/github.com/influxdb/influxdb/tsdb/engine/bz1/bz1.go:230 +0xe0
github.com/influxdb/influxdb/tsdb.(*Shard).WritePoints()
/root/go/src/github.com/influxdb/influxdb/tsdb/shard.go:255 +0x847
github.com/influxdb/influxdb/tsdb.(*Store).WriteToShard()
/root/go/src/github.com/influxdb/influxdb/tsdb/store.go:339 +0x15e
github.com/influxdb/influxdb/cluster.(*PointsWriter).writeToShard.func1()
/root/go/src/github.com/influxdb/influxdb/cluster/points_writer.go:267 +0x164
Previous read by goroutine 73:
github.com/funny/sync.(*monitor).diagnose()
/root/go/src/github.com/funny/sync/deadlock.go:95 +0x131
github.com/funny/sync.(*monitor).wait()
/root/go/src/github.com/funny/sync/deadlock.go:89 +0x3a5
github.com/funny/sync.(*RWMutex).Lock()
/root/go/src/github.com/funny/sync/deadlock.go:34 +0x3e
github.com/influxdb/influxdb/tsdb/engine/wal.(*Partition).shouldFlush()
/root/go/src/github.com/influxdb/influxdb/tsdb/engine/wal/wal.go:925 +0x4b
github.com/influxdb/influxdb/tsdb/engine/wal.(*Log).triggerAutoFlush()
/root/go/src/github.com/influxdb/influxdb/tsdb/engine/wal/wal.go:588 +0x117
github.com/influxdb/influxdb/tsdb/engine/wal.(*Log).autoflusher()
/root/go/src/github.com/influxdb/influxdb/tsdb/engine/wal/wal.go:609 +0x1d9
Goroutine 109 (running) created at:
github.com/influxdb/influxdb/cluster.(*PointsWriter).writeToShard()
/root/go/src/github.com/influxdb/influxdb/cluster/points_writer.go:299 +0x24a
github.com/influxdb/influxdb/cluster.(*PointsWriter).WritePoints.func1()
/root/go/src/github.com/influxdb/influxdb/cluster/points_writer.go:225 +0xe1
Goroutine 73 (running) created at:
github.com/influxdb/influxdb/tsdb/engine/wal.(*Log).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/engine/wal/wal.go:240 +0x886
github.com/influxdb/influxdb/tsdb/engine/bz1.(*Engine).LoadMetadataIndex()
/root/go/src/github.com/influxdb/influxdb/tsdb/engine/bz1/bz1.go:223 +0x201
github.com/influxdb/influxdb/tsdb.(*Shard).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/shard.go:123 +0x6a6
github.com/influxdb/influxdb/tsdb.(*Shard).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/shard.go:128 +0x3e
github.com/influxdb/influxdb/tsdb.(*Store).loadShards()
/root/go/src/github.com/influxdb/influxdb/tsdb/store.go:291 +0xfef
github.com/influxdb/influxdb/tsdb.(*Store).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/store.go:324 +0x44f
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open.func1()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:362 +0x1333
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:384 +0x3e
github.com/influxdb/influxdb/cmd/influxd/run.(*Command).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/command.go:114 +0x10d3
main.(*Main).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:81 +0x8f9
main.main()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:42 +0x3ff
==================
==================
WARNING: DATA RACE
Write by goroutine 109:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:122 +0x2f7
github.com/funny/sync.(*RWMutex).Unlock()
/root/go/src/github.com/funny/sync/deadlock.go:40 +0x3a
github.com/influxdb/influxdb/tsdb/engine/wal.(*Partition).Write()
/root/go/src/github.com/influxdb/influxdb/tsdb/engine/wal/wal.go:875 +0x1322
github.com/influxdb/influxdb/tsdb/engine/wal.(*Log).WritePoints()
/root/go/src/github.com/influxdb/influxdb/tsdb/engine/wal/wal.go:275 +0x3bd
github.com/influxdb/influxdb/tsdb/engine/bz1.(*Engine).WritePoints()
/root/go/src/github.com/influxdb/influxdb/tsdb/engine/bz1/bz1.go:230 +0xe0
github.com/influxdb/influxdb/tsdb.(*Shard).WritePoints()
/root/go/src/github.com/influxdb/influxdb/tsdb/shard.go:255 +0x847
github.com/influxdb/influxdb/tsdb.(*Store).WriteToShard()
/root/go/src/github.com/influxdb/influxdb/tsdb/store.go:339 +0x15e
github.com/influxdb/influxdb/cluster.(*PointsWriter).writeToShard.func1()
/root/go/src/github.com/influxdb/influxdb/cluster/points_writer.go:267 +0x164
Previous read by goroutine 73:
github.com/funny/sync.(*monitor).diagnose()
/root/go/src/github.com/funny/sync/deadlock.go:95 +0x14c
github.com/funny/sync.(*monitor).wait()
/root/go/src/github.com/funny/sync/deadlock.go:89 +0x3a5
github.com/funny/sync.(*RWMutex).Lock()
/root/go/src/github.com/funny/sync/deadlock.go:34 +0x3e
github.com/influxdb/influxdb/tsdb/engine/wal.(*Partition).shouldFlush()
/root/go/src/github.com/influxdb/influxdb/tsdb/engine/wal/wal.go:925 +0x4b
github.com/influxdb/influxdb/tsdb/engine/wal.(*Log).triggerAutoFlush()
/root/go/src/github.com/influxdb/influxdb/tsdb/engine/wal/wal.go:588 +0x117
github.com/influxdb/influxdb/tsdb/engine/wal.(*Log).autoflusher()
/root/go/src/github.com/influxdb/influxdb/tsdb/engine/wal/wal.go:609 +0x1d9
Goroutine 109 (running) created at:
github.com/influxdb/influxdb/cluster.(*PointsWriter).writeToShard()
/root/go/src/github.com/influxdb/influxdb/cluster/points_writer.go:299 +0x24a
github.com/influxdb/influxdb/cluster.(*PointsWriter).WritePoints.func1()
/root/go/src/github.com/influxdb/influxdb/cluster/points_writer.go:225 +0xe1
Goroutine 73 (running) created at:
github.com/influxdb/influxdb/tsdb/engine/wal.(*Log).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/engine/wal/wal.go:240 +0x886
github.com/influxdb/influxdb/tsdb/engine/bz1.(*Engine).LoadMetadataIndex()
/root/go/src/github.com/influxdb/influxdb/tsdb/engine/bz1/bz1.go:223 +0x201
github.com/influxdb/influxdb/tsdb.(*Shard).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/shard.go:123 +0x6a6
github.com/influxdb/influxdb/tsdb.(*Shard).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/shard.go:128 +0x3e
github.com/influxdb/influxdb/tsdb.(*Store).loadShards()
/root/go/src/github.com/influxdb/influxdb/tsdb/store.go:291 +0xfef
github.com/influxdb/influxdb/tsdb.(*Store).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/store.go:324 +0x44f
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open.func1()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:362 +0x1333
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:384 +0x3e
github.com/influxdb/influxdb/cmd/influxd/run.(*Command).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/command.go:114 +0x10d3
main.(*Main).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:81 +0x8f9
main.main()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:42 +0x3ff
==================
==================
WARNING: DATA RACE
Write by goroutine 132:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:122 +0x2c6
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/influxdb/influxdb/meta.(*Store).read()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:1452 +0x81
github.com/influxdb/influxdb/meta.(*Store).Database()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:842 +0xba
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).normalizeMeasurement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:897 +0x394
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).normalizeStatement.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:850 +0x12e
github.com/influxdb/influxdb/influxql.walkFuncVisitor.Visit()
/root/go/src/github.com/influxdb/influxdb/influxql/ast.go:2762 +0x4d
github.com/influxdb/influxdb/influxql.Walk()
/root/go/src/github.com/influxdb/influxdb/influxql/ast.go:2668 +0x92
github.com/influxdb/influxdb/influxql.Walk()
/root/go/src/github.com/influxdb/influxdb/influxql/ast.go:2740 +0x84d
github.com/influxdb/influxdb/influxql.Walk()
/root/go/src/github.com/influxdb/influxdb/influxql/ast.go:2711 +0xcff
github.com/influxdb/influxdb/influxql.WalkFunc()
/root/go/src/github.com/influxdb/influxdb/influxql/ast.go:2757 +0x6d
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).normalizeStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:857 +0x1df
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:148 +0x228
Previous read by goroutine 131:
github.com/funny/sync.(*monitor).diagnose()
/root/go/src/github.com/funny/sync/deadlock.go:95 +0x131
github.com/funny/sync.(*monitor).wait()
/root/go/src/github.com/funny/sync/deadlock.go:89 +0x3a5
github.com/funny/sync.(*RWMutex).RLock()
/root/go/src/github.com/funny/sync/deadlock.go:45 +0x3e
github.com/influxdb/influxdb/meta.(*Store).read()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:1450 +0x4c
github.com/influxdb/influxdb/meta.(*Store).ShardGroupsByTimeRange()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:1123 +0x1cf
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).PlanSelect()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:243 +0x7ba
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:275 +0x6c
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
Goroutine 132 (running) created at:
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:213 +0xa8
github.com/influxdb/influxdb/services/httpd.(*Handler).serveQuery()
/root/go/src/github.com/influxdb/influxdb/services/httpd/handler.go:272 +0xd0d
github.com/influxdb/influxdb/services/httpd.(*Handler).(github.com/influxdb/influxdb/services/httpd.serveQuery)-fm()
/root/go/src/github.com/influxdb/influxdb/services/httpd/handler.go:98 +0x55
github.com/influxdb/influxdb/services/httpd.authenticate.func1()
/root/go/src/github.com/influxdb/influxdb/services/httpd/handler.go:673 +0x80
net/http.HandlerFunc.ServeHTTP()
/tmp/workdir/go/src/net/http/server.go:1422 +0x47
github.com/influxdb/influxdb/services/httpd.gzipFilter.func1()
/root/go/src/github.com/influxdb/influxdb/services/httpd/handler.go:727 +0x100
net/http.HandlerFunc.ServeHTTP()
/tmp/workdir/go/src/net/http/server.go:1422 +0x47
github.com/influxdb/influxdb/services/httpd.versionHeader.func1()
/root/go/src/github.com/influxdb/influxdb/services/httpd/handler.go:743 +0xea
net/http.HandlerFunc.ServeHTTP()
/tmp/workdir/go/src/net/http/server.go:1422 +0x47
github.com/influxdb/influxdb/services/httpd.cors.func1()
/root/go/src/github.com/influxdb/influxdb/services/httpd/handler.go:776 +0x394
net/http.HandlerFunc.ServeHTTP()
/tmp/workdir/go/src/net/http/server.go:1422 +0x47
github.com/influxdb/influxdb/services/httpd.requestID.func1()
/root/go/src/github.com/influxdb/influxdb/services/httpd/handler.go:786 +0x1c7
net/http.HandlerFunc.ServeHTTP()
/tmp/workdir/go/src/net/http/server.go:1422 +0x47
github.com/influxdb/influxdb/services/httpd.logging.func1()
/root/go/src/github.com/influxdb/influxdb/services/httpd/handler.go:794 +0x145
net/http.HandlerFunc.ServeHTTP()
/tmp/workdir/go/src/net/http/server.go:1422 +0x47
github.com/influxdb/influxdb/services/httpd.recovery.func1()
/root/go/src/github.com/influxdb/influxdb/services/httpd/handler.go:804 +0x180
net/http.HandlerFunc.ServeHTTP()
/tmp/workdir/go/src/net/http/server.go:1422 +0x47
github.com/bmizerany/pat.(*PatternServeMux).ServeHTTP()
/root/go/src/github.com/bmizerany/pat/mux.go:109 +0x372
github.com/influxdb/influxdb/services/httpd.(*Handler).ServeHTTP()
/root/go/src/github.com/influxdb/influxdb/services/httpd/handler.go:172 +0x428
net/http.serverHandler.ServeHTTP()
/tmp/workdir/go/src/net/http/server.go:1862 +0x206
net/http.(*conn).serve()
/tmp/workdir/go/src/net/http/server.go:1361 +0x117c
Goroutine 131 (running) created at:
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:213 +0xa8
github.com/influxdb/influxdb/services/httpd.(*Handler).serveQuery()
/root/go/src/github.com/influxdb/influxdb/services/httpd/handler.go:272 +0xd0d
github.com/influxdb/influxdb/services/httpd.(*Handler).(github.com/influxdb/influxdb/services/httpd.serveQuery)-fm()
/root/go/src/github.com/influxdb/influxdb/services/httpd/handler.go:98 +0x55
github.com/influxdb/influxdb/services/httpd.authenticate.func1()
/root/go/src/github.com/influxdb/influxdb/services/httpd/handler.go:673 +0x80
net/http.HandlerFunc.ServeHTTP()
/tmp/workdir/go/src/net/http/server.go:1422 +0x47
github.com/influxdb/influxdb/services/httpd.gzipFilter.func1()
/root/go/src/github.com/influxdb/influxdb/services/httpd/handler.go:727 +0x100
net/http.HandlerFunc.ServeHTTP()
/tmp/workdir/go/src/net/http/server.go:1422 +0x47
github.com/influxdb/influxdb/services/httpd.versionHeader.func1()
/root/go/src/github.com/influxdb/influxdb/services/httpd/handler.go:743 +0xea
net/http.HandlerFunc.ServeHTTP()
/tmp/workdir/go/src/net/http/server.go:1422 +0x47
github.com/influxdb/influxdb/services/httpd.cors.func1()
/root/go/src/github.com/influxdb/influxdb/services/httpd/handler.go:776 +0x394
net/http.HandlerFunc.ServeHTTP()
/tmp/workdir/go/src/net/http/server.go:1422 +0x47
github.com/influxdb/influxdb/services/httpd.requestID.func1()
/root/go/src/github.com/influxdb/influxdb/services/httpd/handler.go:786 +0x1c7
net/http.HandlerFunc.ServeHTTP()
/tmp/workdir/go/src/net/http/server.go:1422 +0x47
github.com/influxdb/influxdb/services/httpd.logging.func1()
/root/go/src/github.com/influxdb/influxdb/services/httpd/handler.go:794 +0x145
net/http.HandlerFunc.ServeHTTP()
/tmp/workdir/go/src/net/http/server.go:1422 +0x47
github.com/influxdb/influxdb/services/httpd.recovery.func1()
/root/go/src/github.com/influxdb/influxdb/services/httpd/handler.go:804 +0x180
net/http.HandlerFunc.ServeHTTP()
/tmp/workdir/go/src/net/http/server.go:1422 +0x47
github.com/bmizerany/pat.(*PatternServeMux).ServeHTTP()
/root/go/src/github.com/bmizerany/pat/mux.go:109 +0x372
github.com/influxdb/influxdb/services/httpd.(*Handler).ServeHTTP()
/root/go/src/github.com/influxdb/influxdb/services/httpd/handler.go:172 +0x428
net/http.serverHandler.ServeHTTP()
/tmp/workdir/go/src/net/http/server.go:1862 +0x206
net/http.(*conn).serve()
/tmp/workdir/go/src/net/http/server.go:1361 +0x117c
==================
==================
WARNING: DATA RACE
Write by goroutine 132:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:122 +0x2f7
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/influxdb/influxdb/meta.(*Store).read()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:1452 +0x81
github.com/influxdb/influxdb/meta.(*Store).Database()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:842 +0xba
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).normalizeMeasurement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:897 +0x394
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).normalizeStatement.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:850 +0x12e
github.com/influxdb/influxdb/influxql.walkFuncVisitor.Visit()
/root/go/src/github.com/influxdb/influxdb/influxql/ast.go:2762 +0x4d
github.com/influxdb/influxdb/influxql.Walk()
/root/go/src/github.com/influxdb/influxdb/influxql/ast.go:2668 +0x92
github.com/influxdb/influxdb/influxql.Walk()
/root/go/src/github.com/influxdb/influxdb/influxql/ast.go:2740 +0x84d
github.com/influxdb/influxdb/influxql.Walk()
/root/go/src/github.com/influxdb/influxdb/influxql/ast.go:2711 +0xcff
github.com/influxdb/influxdb/influxql.WalkFunc()
/root/go/src/github.com/influxdb/influxdb/influxql/ast.go:2757 +0x6d
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).normalizeStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:857 +0x1df
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:148 +0x228
Previous read by goroutine 131:
github.com/funny/sync.(*monitor).diagnose()
/root/go/src/github.com/funny/sync/deadlock.go:95 +0x14c
github.com/funny/sync.(*monitor).wait()
/root/go/src/github.com/funny/sync/deadlock.go:89 +0x3a5
github.com/funny/sync.(*RWMutex).RLock()
/root/go/src/github.com/funny/sync/deadlock.go:45 +0x3e
github.com/influxdb/influxdb/meta.(*Store).read()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:1450 +0x4c
github.com/influxdb/influxdb/meta.(*Store).ShardGroupsByTimeRange()
/root/go/src/github.com/influxdb/influxdb/meta/store.go:1123 +0x1cf
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).PlanSelect()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:243 +0x7ba
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:275 +0x6c
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
Goroutine 132 (running) created at:
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:213 +0xa8
github.com/influxdb/influxdb/services/httpd.(*Handler).serveQuery()
/root/go/src/github.com/influxdb/influxdb/services/httpd/handler.go:272 +0xd0d
github.com/influxdb/influxdb/services/httpd.(*Handler).(github.com/influxdb/influxdb/services/httpd.serveQuery)-fm()
/root/go/src/github.com/influxdb/influxdb/services/httpd/handler.go:98 +0x55
github.com/influxdb/influxdb/services/httpd.authenticate.func1()
/root/go/src/github.com/influxdb/influxdb/services/httpd/handler.go:673 +0x80
net/http.HandlerFunc.ServeHTTP()
/tmp/workdir/go/src/net/http/server.go:1422 +0x47
github.com/influxdb/influxdb/services/httpd.gzipFilter.func1()
/root/go/src/github.com/influxdb/influxdb/services/httpd/handler.go:727 +0x100
net/http.HandlerFunc.ServeHTTP()
/tmp/workdir/go/src/net/http/server.go:1422 +0x47
github.com/influxdb/influxdb/services/httpd.versionHeader.func1()
/root/go/src/github.com/influxdb/influxdb/services/httpd/handler.go:743 +0xea
net/http.HandlerFunc.ServeHTTP()
/tmp/workdir/go/src/net/http/server.go:1422 +0x47
github.com/influxdb/influxdb/services/httpd.cors.func1()
/root/go/src/github.com/influxdb/influxdb/services/httpd/handler.go:776 +0x394
net/http.HandlerFunc.ServeHTTP()
/tmp/workdir/go/src/net/http/server.go:1422 +0x47
github.com/influxdb/influxdb/services/httpd.requestID.func1()
/root/go/src/github.com/influxdb/influxdb/services/httpd/handler.go:786 +0x1c7
net/http.HandlerFunc.ServeHTTP()
/tmp/workdir/go/src/net/http/server.go:1422 +0x47
github.com/influxdb/influxdb/services/httpd.logging.func1()
/root/go/src/github.com/influxdb/influxdb/services/httpd/handler.go:794 +0x145
net/http.HandlerFunc.ServeHTTP()
/tmp/workdir/go/src/net/http/server.go:1422 +0x47
github.com/influxdb/influxdb/services/httpd.recovery.func1()
/root/go/src/github.com/influxdb/influxdb/services/httpd/handler.go:804 +0x180
net/http.HandlerFunc.ServeHTTP()
/tmp/workdir/go/src/net/http/server.go:1422 +0x47
github.com/bmizerany/pat.(*PatternServeMux).ServeHTTP()
/root/go/src/github.com/bmizerany/pat/mux.go:109 +0x372
github.com/influxdb/influxdb/services/httpd.(*Handler).ServeHTTP()
/root/go/src/github.com/influxdb/influxdb/services/httpd/handler.go:172 +0x428
net/http.serverHandler.ServeHTTP()
/tmp/workdir/go/src/net/http/server.go:1862 +0x206
net/http.(*conn).serve()
/tmp/workdir/go/src/net/http/server.go:1361 +0x117c
Goroutine 131 (running) created at:
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:213 +0xa8
github.com/influxdb/influxdb/services/httpd.(*Handler).serveQuery()
/root/go/src/github.com/influxdb/influxdb/services/httpd/handler.go:272 +0xd0d
github.com/influxdb/influxdb/services/httpd.(*Handler).(github.com/influxdb/influxdb/services/httpd.serveQuery)-fm()
/root/go/src/github.com/influxdb/influxdb/services/httpd/handler.go:98 +0x55
github.com/influxdb/influxdb/services/httpd.authenticate.func1()
/root/go/src/github.com/influxdb/influxdb/services/httpd/handler.go:673 +0x80
net/http.HandlerFunc.ServeHTTP()
/tmp/workdir/go/src/net/http/server.go:1422 +0x47
github.com/influxdb/influxdb/services/httpd.gzipFilter.func1()
/root/go/src/github.com/influxdb/influxdb/services/httpd/handler.go:727 +0x100
net/http.HandlerFunc.ServeHTTP()
/tmp/workdir/go/src/net/http/server.go:1422 +0x47
github.com/influxdb/influxdb/services/httpd.versionHeader.func1()
/root/go/src/github.com/influxdb/influxdb/services/httpd/handler.go:743 +0xea
net/http.HandlerFunc.ServeHTTP()
/tmp/workdir/go/src/net/http/server.go:1422 +0x47
github.com/influxdb/influxdb/services/httpd.cors.func1()
/root/go/src/github.com/influxdb/influxdb/services/httpd/handler.go:776 +0x394
net/http.HandlerFunc.ServeHTTP()
/tmp/workdir/go/src/net/http/server.go:1422 +0x47
github.com/influxdb/influxdb/services/httpd.requestID.func1()
/root/go/src/github.com/influxdb/influxdb/services/httpd/handler.go:786 +0x1c7
net/http.HandlerFunc.ServeHTTP()
/tmp/workdir/go/src/net/http/server.go:1422 +0x47
github.com/influxdb/influxdb/services/httpd.logging.func1()
/root/go/src/github.com/influxdb/influxdb/services/httpd/handler.go:794 +0x145
net/http.HandlerFunc.ServeHTTP()
/tmp/workdir/go/src/net/http/server.go:1422 +0x47
github.com/influxdb/influxdb/services/httpd.recovery.func1()
/root/go/src/github.com/influxdb/influxdb/services/httpd/handler.go:804 +0x180
net/http.HandlerFunc.ServeHTTP()
/tmp/workdir/go/src/net/http/server.go:1422 +0x47
github.com/bmizerany/pat.(*PatternServeMux).ServeHTTP()
/root/go/src/github.com/bmizerany/pat/mux.go:109 +0x372
github.com/influxdb/influxdb/services/httpd.(*Handler).ServeHTTP()
/root/go/src/github.com/influxdb/influxdb/services/httpd/handler.go:172 +0x428
net/http.serverHandler.ServeHTTP()
/tmp/workdir/go/src/net/http/server.go:1862 +0x206
net/http.(*conn).serve()
/tmp/workdir/go/src/net/http/server.go:1361 +0x117c
==================
==================
WARNING: DATA RACE
Read by goroutine 132:
github.com/funny/sync.(*monitor).diagnose()
/root/go/src/github.com/funny/sync/deadlock.go:95 +0x131
github.com/funny/sync.(*monitor).wait()
/root/go/src/github.com/funny/sync/deadlock.go:89 +0x3a5
github.com/funny/sync.(*RWMutex).RLock()
/root/go/src/github.com/funny/sync/deadlock.go:45 +0x3e
github.com/influxdb/influxdb/tsdb.(*Store).Shard()
/root/go/src/github.com/influxdb/influxdb/tsdb/store.go:55 +0x46
github.com/influxdb/influxdb/tsdb.(*Store).CreateMapper()
/root/go/src/github.com/influxdb/influxdb/tsdb/store.go:343 +0x80
github.com/influxdb/influxdb/cluster.(*ShardMapper).CreateMapper()
/root/go/src/github.com/influxdb/influxdb/cluster/shard_mapper.go:43 +0xd4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).PlanSelect()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:257 +0xcb1
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:275 +0x6c
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
Previous write by goroutine 130:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:122 +0x22f
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/influxdb/influxdb/tsdb.(*Store).Shard()
/root/go/src/github.com/influxdb/influxdb/tsdb/store.go:57 +0xe5
github.com/influxdb/influxdb/tsdb.(*Store).CreateMapper()
/root/go/src/github.com/influxdb/influxdb/tsdb/store.go:343 +0x80
github.com/influxdb/influxdb/cluster.(*ShardMapper).CreateMapper()
/root/go/src/github.com/influxdb/influxdb/cluster/shard_mapper.go:43 +0xd4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).PlanSelect()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:257 +0xcb1
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:275 +0x6c
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
Goroutine 132 (running) created at:
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:213 +0xa8
github.com/influxdb/influxdb/services/httpd.(*Handler).serveQuery()
/root/go/src/github.com/influxdb/influxdb/services/httpd/handler.go:272 +0xd0d
github.com/influxdb/influxdb/services/httpd.(*Handler).(github.com/influxdb/influxdb/services/httpd.serveQuery)-fm()
/root/go/src/github.com/influxdb/influxdb/services/httpd/handler.go:98 +0x55
github.com/influxdb/influxdb/services/httpd.authenticate.func1()
/root/go/src/github.com/influxdb/influxdb/services/httpd/handler.go:673 +0x80
net/http.HandlerFunc.ServeHTTP()
/tmp/workdir/go/src/net/http/server.go:1422 +0x47
github.com/influxdb/influxdb/services/httpd.gzipFilter.func1()
/root/go/src/github.com/influxdb/influxdb/services/httpd/handler.go:727 +0x100
net/http.HandlerFunc.ServeHTTP()
/tmp/workdir/go/src/net/http/server.go:1422 +0x47
github.com/influxdb/influxdb/services/httpd.versionHeader.func1()
/root/go/src/github.com/influxdb/influxdb/services/httpd/handler.go:743 +0xea
net/http.HandlerFunc.ServeHTTP()
/tmp/workdir/go/src/net/http/server.go:1422 +0x47
github.com/influxdb/influxdb/services/httpd.cors.func1()
/root/go/src/github.com/influxdb/influxdb/services/httpd/handler.go:776 +0x394
net/http.HandlerFunc.ServeHTTP()
/tmp/workdir/go/src/net/http/server.go:1422 +0x47
github.com/influxdb/influxdb/services/httpd.requestID.func1()
/root/go/src/github.com/influxdb/influxdb/services/httpd/handler.go:786 +0x1c7
net/http.HandlerFunc.ServeHTTP()
/tmp/workdir/go/src/net/http/server.go:1422 +0x47
github.com/influxdb/influxdb/services/httpd.logging.func1()
/root/go/src/github.com/influxdb/influxdb/services/httpd/handler.go:794 +0x145
net/http.HandlerFunc.ServeHTTP()
/tmp/workdir/go/src/net/http/server.go:1422 +0x47
github.com/influxdb/influxdb/services/httpd.recovery.func1()
/root/go/src/github.com/influxdb/influxdb/services/httpd/handler.go:804 +0x180
net/http.HandlerFunc.ServeHTTP()
/tmp/workdir/go/src/net/http/server.go:1422 +0x47
github.com/bmizerany/pat.(*PatternServeMux).ServeHTTP()
/root/go/src/github.com/bmizerany/pat/mux.go:109 +0x372
github.com/influxdb/influxdb/services/httpd.(*Handler).ServeHTTP()
/root/go/src/github.com/influxdb/influxdb/services/httpd/handler.go:172 +0x428
net/http.serverHandler.ServeHTTP()
/tmp/workdir/go/src/net/http/server.go:1862 +0x206
net/http.(*conn).serve()
/tmp/workdir/go/src/net/http/server.go:1361 +0x117c
Goroutine 130 (running) created at:
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:213 +0xa8
github.com/influxdb/influxdb/services/httpd.(*Handler).serveQuery()
/root/go/src/github.com/influxdb/influxdb/services/httpd/handler.go:272 +0xd0d
github.com/influxdb/influxdb/services/httpd.(*Handler).(github.com/influxdb/influxdb/services/httpd.serveQuery)-fm()
/root/go/src/github.com/influxdb/influxdb/services/httpd/handler.go:98 +0x55
github.com/influxdb/influxdb/services/httpd.authenticate.func1()
/root/go/src/github.com/influxdb/influxdb/services/httpd/handler.go:673 +0x80
net/http.HandlerFunc.ServeHTTP()
/tmp/workdir/go/src/net/http/server.go:1422 +0x47
github.com/influxdb/influxdb/services/httpd.gzipFilter.func1()
/root/go/src/github.com/influxdb/influxdb/services/httpd/handler.go:727 +0x100
net/http.HandlerFunc.ServeHTTP()
/tmp/workdir/go/src/net/http/server.go:1422 +0x47
github.com/influxdb/influxdb/services/httpd.versionHeader.func1()
/root/go/src/github.com/influxdb/influxdb/services/httpd/handler.go:743 +0xea
net/http.HandlerFunc.ServeHTTP()
/tmp/workdir/go/src/net/http/server.go:1422 +0x47
github.com/influxdb/influxdb/services/httpd.cors.func1()
/root/go/src/github.com/influxdb/influxdb/services/httpd/handler.go:776 +0x394
net/http.HandlerFunc.ServeHTTP()
/tmp/workdir/go/src/net/http/server.go:1422 +0x47
github.com/influxdb/influxdb/services/httpd.requestID.func1()
/root/go/src/github.com/influxdb/influxdb/services/httpd/handler.go:786 +0x1c7
net/http.HandlerFunc.ServeHTTP()
/tmp/workdir/go/src/net/http/server.go:1422 +0x47
github.com/influxdb/influxdb/services/httpd.logging.func1()
/root/go/src/github.com/influxdb/influxdb/services/httpd/handler.go:794 +0x145
net/http.HandlerFunc.ServeHTTP()
/tmp/workdir/go/src/net/http/server.go:1422 +0x47
github.com/influxdb/influxdb/services/httpd.recovery.func1()
/root/go/src/github.com/influxdb/influxdb/services/httpd/handler.go:804 +0x180
net/http.HandlerFunc.ServeHTTP()
/tmp/workdir/go/src/net/http/server.go:1422 +0x47
github.com/bmizerany/pat.(*PatternServeMux).ServeHTTP()
/root/go/src/github.com/bmizerany/pat/mux.go:109 +0x372
github.com/influxdb/influxdb/services/httpd.(*Handler).ServeHTTP()
/root/go/src/github.com/influxdb/influxdb/services/httpd/handler.go:172 +0x428
net/http.serverHandler.ServeHTTP()
/tmp/workdir/go/src/net/http/server.go:1862 +0x206
net/http.(*conn).serve()
/tmp/workdir/go/src/net/http/server.go:1361 +0x117c
==================
==================
WARNING: DATA RACE
Read by goroutine 140:
github.com/funny/sync.(*monitor).diagnose()
/root/go/src/github.com/funny/sync/deadlock.go:95 +0x5e
github.com/funny/sync.(*monitor).wait()
/root/go/src/github.com/funny/sync/deadlock.go:89 +0x3a5
github.com/funny/sync.(*RWMutex).RLock()
/root/go/src/github.com/funny/sync/deadlock.go:45 +0x3e
github.com/influxdb/influxdb/tsdb.(*DatabaseIndex).Measurement()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:56 +0x46
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:186 +0xd33
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Previous write by goroutine 138:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:122 +0x331
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/influxdb/influxdb/tsdb.(*DatabaseIndex).Measurement()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:58 +0xfd
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:186 +0xd33
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Goroutine 140 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
Goroutine 138 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
==================
==================
WARNING: DATA RACE
Read by goroutine 140:
github.com/funny/sync.(*monitor).diagnose()
/root/go/src/github.com/funny/sync/deadlock.go:95 +0x131
github.com/funny/sync.(*monitor).wait()
/root/go/src/github.com/funny/sync/deadlock.go:89 +0x3a5
github.com/funny/sync.(*RWMutex).RLock()
/root/go/src/github.com/funny/sync/deadlock.go:45 +0x3e
github.com/influxdb/influxdb/tsdb.(*DatabaseIndex).Measurement()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:56 +0x46
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:186 +0xd33
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Previous write by goroutine 138:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:122 +0x22f
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/influxdb/influxdb/tsdb.(*DatabaseIndex).Measurement()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:58 +0xfd
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:186 +0xd33
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Goroutine 140 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
Goroutine 138 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
==================
==================
WARNING: DATA RACE
Read by goroutine 140:
container/list.(*List).PushBack()
/tmp/workdir/go/src/container/list/list.go:139 +0xd9
github.com/funny/sync.(*monitor).using()
/root/go/src/github.com/funny/sync/deadlock.go:115 +0x10e
github.com/funny/sync.(*RWMutex).RLock()
/root/go/src/github.com/funny/sync/deadlock.go:47 +0x81
github.com/influxdb/influxdb/tsdb.(*DatabaseIndex).Measurement()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:56 +0x46
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:186 +0xd33
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Previous write by goroutine 138:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:122 +0x283
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/influxdb/influxdb/tsdb.(*DatabaseIndex).Measurement()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:58 +0xfd
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:186 +0xd33
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Goroutine 140 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
Goroutine 138 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
==================
==================
WARNING: DATA RACE
Read by goroutine 139:
github.com/funny/sync.(*monitor).diagnose()
/root/go/src/github.com/funny/sync/deadlock.go:95 +0x5e
github.com/funny/sync.(*monitor).wait()
/root/go/src/github.com/funny/sync/deadlock.go:89 +0x3a5
github.com/funny/sync.(*RWMutex).Lock()
/root/go/src/github.com/funny/sync/deadlock.go:34 +0x3e
github.com/boltdb/bolt.(*DB).beginTx()
/root/go/src/github.com/boltdb/bolt/db.go:453 +0x344
github.com/boltdb/bolt.(*DB).Begin()
/root/go/src/github.com/boltdb/bolt/db.go:420 +0x80
github.com/influxdb/influxdb/tsdb/engine/bz1.(*Engine).Begin()
/root/go/src/github.com/influxdb/influxdb/tsdb/engine/bz1/bz1.go:565 +0x6a
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:109 +0x16e
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Previous write by goroutine 141:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:122 +0x331
github.com/funny/sync.(*RWMutex).Unlock()
/root/go/src/github.com/funny/sync/deadlock.go:40 +0x3a
github.com/boltdb/bolt.(*DB).beginTx()
/root/go/src/github.com/boltdb/bolt/db.go:456 +0x3e5
github.com/boltdb/bolt.(*DB).Begin()
/root/go/src/github.com/boltdb/bolt/db.go:420 +0x80
github.com/influxdb/influxdb/tsdb/engine/bz1.(*Engine).Begin()
/root/go/src/github.com/influxdb/influxdb/tsdb/engine/bz1/bz1.go:565 +0x6a
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:109 +0x16e
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Goroutine 139 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
Goroutine 141 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
==================
==================
WARNING: DATA RACE
Read by goroutine 141:
github.com/funny/sync.(*monitor).diagnose()
/root/go/src/github.com/funny/sync/deadlock.go:95 +0x5e
github.com/funny/sync.(*monitor).wait()
/root/go/src/github.com/funny/sync/deadlock.go:89 +0x3a5
github.com/funny/sync.(*RWMutex).RLock()
/root/go/src/github.com/funny/sync/deadlock.go:45 +0x3e
github.com/influxdb/influxdb/tsdb.(*Measurement).HasField()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:315 +0x42
github.com/influxdb/influxdb/tsdb.createTagSetsAndFields()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:975 +0x343
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:199 +0xe13
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Previous write by goroutine 140:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:122 +0x331
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/influxdb/influxdb/tsdb.(*Measurement).HasField()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:318 +0xd8
github.com/influxdb/influxdb/tsdb.(*Measurement).idsForExpr()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:638 +0x58d
github.com/influxdb/influxdb/tsdb.(*Measurement).walkWhereForSeriesIds()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:694 +0x596
github.com/influxdb/influxdb/tsdb.(*Measurement).walkWhereForSeriesIds()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:713 +0x265
github.com/influxdb/influxdb/tsdb.(*Measurement).walkWhereForSeriesIds()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:707 +0x184
github.com/influxdb/influxdb/tsdb.(*Measurement).walkWhereForSeriesIds()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:707 +0x184
github.com/influxdb/influxdb/tsdb.(*Measurement).filters()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:463 +0xd4
github.com/influxdb/influxdb/tsdb.(*Measurement).TagSets()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:494 +0x178
github.com/influxdb/influxdb/tsdb.createTagSetsAndFields()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:1001 +0x7ba
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:199 +0xe13
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Goroutine 141 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
Goroutine 140 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
==================
==================
WARNING: DATA RACE
Read by goroutine 141:
github.com/funny/sync.(*monitor).diagnose()
/root/go/src/github.com/funny/sync/deadlock.go:95 +0x131
github.com/funny/sync.(*monitor).wait()
/root/go/src/github.com/funny/sync/deadlock.go:89 +0x3a5
github.com/funny/sync.(*RWMutex).RLock()
/root/go/src/github.com/funny/sync/deadlock.go:45 +0x3e
github.com/influxdb/influxdb/tsdb.(*Measurement).HasField()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:315 +0x42
github.com/influxdb/influxdb/tsdb.createTagSetsAndFields()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:975 +0x343
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:199 +0xe13
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Previous write by goroutine 140:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:122 +0x22f
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/influxdb/influxdb/tsdb.(*Measurement).HasField()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:318 +0xd8
github.com/influxdb/influxdb/tsdb.(*Measurement).idsForExpr()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:638 +0x58d
github.com/influxdb/influxdb/tsdb.(*Measurement).walkWhereForSeriesIds()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:694 +0x596
github.com/influxdb/influxdb/tsdb.(*Measurement).walkWhereForSeriesIds()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:713 +0x265
github.com/influxdb/influxdb/tsdb.(*Measurement).walkWhereForSeriesIds()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:707 +0x184
github.com/influxdb/influxdb/tsdb.(*Measurement).walkWhereForSeriesIds()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:707 +0x184
github.com/influxdb/influxdb/tsdb.(*Measurement).filters()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:463 +0xd4
github.com/influxdb/influxdb/tsdb.(*Measurement).TagSets()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:494 +0x178
github.com/influxdb/influxdb/tsdb.createTagSetsAndFields()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:1001 +0x7ba
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:199 +0xe13
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Goroutine 141 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
Goroutine 140 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
==================
==================
WARNING: DATA RACE
Write by goroutine 140:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:122 +0x22f
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/influxdb/influxdb/tsdb.(*Measurement).TagSets()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:547 +0x1261
github.com/influxdb/influxdb/tsdb.createTagSetsAndFields()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:1001 +0x7ba
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:199 +0xe13
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Previous read by goroutine 141:
github.com/funny/sync.(*monitor).diagnose()
/root/go/src/github.com/funny/sync/deadlock.go:95 +0x524
github.com/funny/sync.(*monitor).wait()
/root/go/src/github.com/funny/sync/deadlock.go:89 +0x3a5
github.com/funny/sync.(*RWMutex).RLock()
/root/go/src/github.com/funny/sync/deadlock.go:45 +0x3e
github.com/influxdb/influxdb/tsdb.(*Measurement).HasField()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:315 +0x42
github.com/influxdb/influxdb/tsdb.createTagSetsAndFields()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:975 +0x343
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:199 +0xe13
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Goroutine 140 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
Goroutine 141 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
==================
==================
WARNING: DATA RACE
Write by goroutine 140:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:122 +0x2f7
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/influxdb/influxdb/tsdb.(*Measurement).TagSets()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:547 +0x1261
github.com/influxdb/influxdb/tsdb.createTagSetsAndFields()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:1001 +0x7ba
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:199 +0xe13
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Previous read by goroutine 141:
github.com/funny/sync.(*monitor).diagnose()
/root/go/src/github.com/funny/sync/deadlock.go:95 +0x14c
github.com/funny/sync.(*monitor).wait()
/root/go/src/github.com/funny/sync/deadlock.go:89 +0x3a5
github.com/funny/sync.(*RWMutex).RLock()
/root/go/src/github.com/funny/sync/deadlock.go:45 +0x3e
github.com/influxdb/influxdb/tsdb.(*Measurement).HasField()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:315 +0x42
github.com/influxdb/influxdb/tsdb.createTagSetsAndFields()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:975 +0x343
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:199 +0xe13
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Goroutine 140 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
Goroutine 141 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
==================
==================
WARNING: DATA RACE
Read by goroutine 141:
container/list.(*List).PushBack()
/tmp/workdir/go/src/container/list/list.go:139 +0xd9
github.com/funny/sync.(*monitor).using()
/root/go/src/github.com/funny/sync/deadlock.go:115 +0x10e
github.com/funny/sync.(*RWMutex).RLock()
/root/go/src/github.com/funny/sync/deadlock.go:47 +0x81
github.com/influxdb/influxdb/tsdb.(*Measurement).HasField()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:315 +0x42
github.com/influxdb/influxdb/tsdb.createTagSetsAndFields()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:975 +0x343
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:199 +0xe13
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Previous write by goroutine 140:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:122 +0x283
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/influxdb/influxdb/tsdb.(*Measurement).HasField()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:318 +0xd8
github.com/influxdb/influxdb/tsdb.(*Measurement).idsForExpr()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:638 +0x58d
github.com/influxdb/influxdb/tsdb.(*Measurement).walkWhereForSeriesIds()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:694 +0x596
github.com/influxdb/influxdb/tsdb.(*Measurement).walkWhereForSeriesIds()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:713 +0x265
github.com/influxdb/influxdb/tsdb.(*Measurement).walkWhereForSeriesIds()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:707 +0x184
github.com/influxdb/influxdb/tsdb.(*Measurement).walkWhereForSeriesIds()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:707 +0x184
github.com/influxdb/influxdb/tsdb.(*Measurement).filters()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:463 +0xd4
github.com/influxdb/influxdb/tsdb.(*Measurement).TagSets()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:494 +0x178
github.com/influxdb/influxdb/tsdb.createTagSetsAndFields()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:1001 +0x7ba
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:199 +0xe13
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Goroutine 141 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
Goroutine 140 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
==================
==================
WARNING: DATA RACE
Read by goroutine 140:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:122 +0x23d
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/influxdb/influxdb/tsdb.(*Measurement).TagSets()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:547 +0x1261
github.com/influxdb/influxdb/tsdb.createTagSetsAndFields()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:1001 +0x7ba
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:199 +0xe13
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Previous write by goroutine 139:
container/list.(*List).PushBack()
/tmp/workdir/go/src/container/list/list.go:139 +0x1b6
github.com/funny/sync.(*monitor).using()
/root/go/src/github.com/funny/sync/deadlock.go:115 +0x10e
github.com/funny/sync.(*RWMutex).RLock()
/root/go/src/github.com/funny/sync/deadlock.go:47 +0x81
github.com/influxdb/influxdb/tsdb.(*DatabaseIndex).Measurement()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:56 +0x46
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:186 +0xd33
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Goroutine 140 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
Goroutine 139 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
==================
==================
WARNING: DATA RACE
Write by goroutine 140:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:122 +0x2f7
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/influxdb/influxdb/tsdb.(*Measurement).TagSets()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:547 +0x1261
github.com/influxdb/influxdb/tsdb.createTagSetsAndFields()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:1001 +0x7ba
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:199 +0xe13
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Previous read by goroutine 139:
github.com/funny/sync.(*monitor).diagnose()
/root/go/src/github.com/funny/sync/deadlock.go:95 +0x14c
github.com/funny/sync.(*monitor).wait()
/root/go/src/github.com/funny/sync/deadlock.go:89 +0x3a5
github.com/funny/sync.(*RWMutex).RLock()
/root/go/src/github.com/funny/sync/deadlock.go:45 +0x3e
github.com/influxdb/influxdb/tsdb.(*DatabaseIndex).Measurement()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:56 +0x46
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:186 +0xd33
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Goroutine 140 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
Goroutine 139 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
==================
==================
WARNING: DATA RACE
Read by goroutine 137:
container/list.(*List).PushBack()
/tmp/workdir/go/src/container/list/list.go:139 +0xd9
github.com/funny/sync.(*monitor).using()
/root/go/src/github.com/funny/sync/deadlock.go:115 +0x10e
github.com/funny/sync.(*RWMutex).RLock()
/root/go/src/github.com/funny/sync/deadlock.go:47 +0x81
github.com/influxdb/influxdb/tsdb.(*Measurement).HasField()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:315 +0x42
github.com/influxdb/influxdb/tsdb.(*Measurement).idsForExpr()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:638 +0x58d
github.com/influxdb/influxdb/tsdb.(*Measurement).walkWhereForSeriesIds()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:694 +0x596
github.com/influxdb/influxdb/tsdb.(*Measurement).walkWhereForSeriesIds()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:707 +0x184
github.com/influxdb/influxdb/tsdb.(*Measurement).walkWhereForSeriesIds()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:707 +0x184
github.com/influxdb/influxdb/tsdb.(*Measurement).walkWhereForSeriesIds()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:707 +0x184
github.com/influxdb/influxdb/tsdb.(*Measurement).filters()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:463 +0xd4
github.com/influxdb/influxdb/tsdb.(*Measurement).TagSets()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:494 +0x178
github.com/influxdb/influxdb/tsdb.createTagSetsAndFields()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:1001 +0x7ba
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:199 +0xe13
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Previous write by goroutine 138:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:122 +0x283
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/influxdb/influxdb/tsdb.(*Measurement).HasField()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:318 +0xd8
github.com/influxdb/influxdb/tsdb.createTagSetsAndFields()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:994 +0xabf
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:199 +0xe13
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Goroutine 137 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
Goroutine 138 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
==================
==================
WARNING: DATA RACE
Read by goroutine 137:
container/list.(*List).PushBack()
/tmp/workdir/go/src/container/list/list.go:139 +0x1a0
github.com/funny/sync.(*monitor).using()
/root/go/src/github.com/funny/sync/deadlock.go:115 +0x10e
github.com/funny/sync.(*RWMutex).RLock()
/root/go/src/github.com/funny/sync/deadlock.go:47 +0x81
github.com/influxdb/influxdb/tsdb.(*Measurement).HasField()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:315 +0x42
github.com/influxdb/influxdb/tsdb.(*Measurement).idsForExpr()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:638 +0x58d
github.com/influxdb/influxdb/tsdb.(*Measurement).walkWhereForSeriesIds()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:694 +0x596
github.com/influxdb/influxdb/tsdb.(*Measurement).walkWhereForSeriesIds()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:707 +0x184
github.com/influxdb/influxdb/tsdb.(*Measurement).walkWhereForSeriesIds()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:707 +0x184
github.com/influxdb/influxdb/tsdb.(*Measurement).walkWhereForSeriesIds()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:707 +0x184
github.com/influxdb/influxdb/tsdb.(*Measurement).filters()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:463 +0xd4
github.com/influxdb/influxdb/tsdb.(*Measurement).TagSets()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:494 +0x178
github.com/influxdb/influxdb/tsdb.createTagSetsAndFields()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:1001 +0x7ba
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:199 +0xe13
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Previous write by goroutine 138:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:122 +0x22f
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/influxdb/influxdb/tsdb.(*Measurement).HasField()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:318 +0xd8
github.com/influxdb/influxdb/tsdb.createTagSetsAndFields()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:994 +0xabf
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:199 +0xe13
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Goroutine 137 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
Goroutine 138 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
==================
==================
WARNING: DATA RACE
Read by goroutine 137:
container/list.(*List).PushBack()
/tmp/workdir/go/src/container/list/list.go:139 +0x2bf
github.com/funny/sync.(*monitor).using()
/root/go/src/github.com/funny/sync/deadlock.go:115 +0x10e
github.com/funny/sync.(*RWMutex).RLock()
/root/go/src/github.com/funny/sync/deadlock.go:47 +0x81
github.com/influxdb/influxdb/tsdb.(*Measurement).HasField()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:315 +0x42
github.com/influxdb/influxdb/tsdb.(*Measurement).idsForExpr()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:638 +0x58d
github.com/influxdb/influxdb/tsdb.(*Measurement).walkWhereForSeriesIds()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:694 +0x596
github.com/influxdb/influxdb/tsdb.(*Measurement).walkWhereForSeriesIds()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:707 +0x184
github.com/influxdb/influxdb/tsdb.(*Measurement).walkWhereForSeriesIds()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:707 +0x184
github.com/influxdb/influxdb/tsdb.(*Measurement).walkWhereForSeriesIds()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:707 +0x184
github.com/influxdb/influxdb/tsdb.(*Measurement).filters()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:463 +0xd4
github.com/influxdb/influxdb/tsdb.(*Measurement).TagSets()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:494 +0x178
github.com/influxdb/influxdb/tsdb.createTagSetsAndFields()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:1001 +0x7ba
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:199 +0xe13
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Previous write by goroutine 138:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:122 +0x331
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/influxdb/influxdb/tsdb.(*Measurement).HasField()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:318 +0xd8
github.com/influxdb/influxdb/tsdb.createTagSetsAndFields()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:994 +0xabf
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:199 +0xe13
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Goroutine 137 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
Goroutine 138 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
==================
==================
WARNING: DATA RACE
Read by goroutine 137:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:122 +0x23d
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/influxdb/influxdb/tsdb.(*Measurement).HasField()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:318 +0xd8
github.com/influxdb/influxdb/tsdb.(*Measurement).idsForExpr()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:638 +0x58d
github.com/influxdb/influxdb/tsdb.(*Measurement).walkWhereForSeriesIds()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:694 +0x596
github.com/influxdb/influxdb/tsdb.(*Measurement).walkWhereForSeriesIds()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:707 +0x184
github.com/influxdb/influxdb/tsdb.(*Measurement).walkWhereForSeriesIds()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:707 +0x184
github.com/influxdb/influxdb/tsdb.(*Measurement).walkWhereForSeriesIds()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:707 +0x184
github.com/influxdb/influxdb/tsdb.(*Measurement).filters()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:463 +0xd4
github.com/influxdb/influxdb/tsdb.(*Measurement).TagSets()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:494 +0x178
github.com/influxdb/influxdb/tsdb.createTagSetsAndFields()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:1001 +0x7ba
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:199 +0xe13
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Previous write by goroutine 138:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:122 +0x22f
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/influxdb/influxdb/tsdb.(*Measurement).HasField()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:318 +0xd8
github.com/influxdb/influxdb/tsdb.createTagSetsAndFields()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:994 +0xabf
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:199 +0xe13
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Goroutine 137 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
Goroutine 138 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
==================
==================
WARNING: DATA RACE
Write by goroutine 137:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:122 +0x2f7
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/influxdb/influxdb/tsdb.(*Measurement).HasField()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:318 +0xd8
github.com/influxdb/influxdb/tsdb.(*Measurement).idsForExpr()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:638 +0x58d
github.com/influxdb/influxdb/tsdb.(*Measurement).walkWhereForSeriesIds()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:694 +0x596
github.com/influxdb/influxdb/tsdb.(*Measurement).walkWhereForSeriesIds()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:707 +0x184
github.com/influxdb/influxdb/tsdb.(*Measurement).walkWhereForSeriesIds()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:707 +0x184
github.com/influxdb/influxdb/tsdb.(*Measurement).walkWhereForSeriesIds()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:707 +0x184
github.com/influxdb/influxdb/tsdb.(*Measurement).filters()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:463 +0xd4
github.com/influxdb/influxdb/tsdb.(*Measurement).TagSets()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:494 +0x178
github.com/influxdb/influxdb/tsdb.createTagSetsAndFields()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:1001 +0x7ba
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:199 +0xe13
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Previous read by goroutine 138:
github.com/funny/sync.(*monitor).diagnose()
/root/go/src/github.com/funny/sync/deadlock.go:95 +0x14c
github.com/funny/sync.(*monitor).wait()
/root/go/src/github.com/funny/sync/deadlock.go:89 +0x3a5
github.com/funny/sync.(*RWMutex).RLock()
/root/go/src/github.com/funny/sync/deadlock.go:45 +0x3e
github.com/influxdb/influxdb/tsdb.(*Measurement).HasField()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:315 +0x42
github.com/influxdb/influxdb/tsdb.createTagSetsAndFields()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:994 +0xabf
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:199 +0xe13
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Goroutine 137 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
Goroutine 138 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
==================
==================
WARNING: DATA RACE
Read by goroutine 139:
github.com/funny/sync.(*monitor).diagnose()
/root/go/src/github.com/funny/sync/deadlock.go:95 +0x131
github.com/funny/sync.(*monitor).wait()
/root/go/src/github.com/funny/sync/deadlock.go:89 +0x3a5
github.com/funny/sync.(*RWMutex).RLock()
/root/go/src/github.com/funny/sync/deadlock.go:45 +0x3e
github.com/influxdb/influxdb/tsdb.(*Measurement).HasField()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:315 +0x42
github.com/influxdb/influxdb/tsdb.createTagSetsAndFields()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:975 +0x343
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:199 +0xe13
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Previous write by goroutine 138:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:122 +0x22f
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/influxdb/influxdb/tsdb.(*Measurement).HasField()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:318 +0xd8
github.com/influxdb/influxdb/tsdb.(*Measurement).idsForExpr()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:638 +0x58d
github.com/influxdb/influxdb/tsdb.(*Measurement).walkWhereForSeriesIds()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:694 +0x596
github.com/influxdb/influxdb/tsdb.(*Measurement).walkWhereForSeriesIds()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:707 +0x184
github.com/influxdb/influxdb/tsdb.(*Measurement).walkWhereForSeriesIds()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:707 +0x184
github.com/influxdb/influxdb/tsdb.(*Measurement).walkWhereForSeriesIds()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:707 +0x184
github.com/influxdb/influxdb/tsdb.(*Measurement).filters()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:463 +0xd4
github.com/influxdb/influxdb/tsdb.(*Measurement).TagSets()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:494 +0x178
github.com/influxdb/influxdb/tsdb.createTagSetsAndFields()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:1001 +0x7ba
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:199 +0xe13
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Goroutine 139 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
Goroutine 138 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
==================
==================
WARNING: DATA RACE
Read by goroutine 140:
github.com/funny/sync.(*monitor).diagnose()
/root/go/src/github.com/funny/sync/deadlock.go:95 +0x5e
github.com/funny/sync.(*monitor).wait()
/root/go/src/github.com/funny/sync/deadlock.go:89 +0x3a5
github.com/funny/sync.(*RWMutex).RLock()
/root/go/src/github.com/funny/sync/deadlock.go:45 +0x3e
github.com/influxdb/influxdb/tsdb/engine/wal.(*Log).Cursor()
/root/go/src/github.com/influxdb/influxdb/tsdb/engine/wal/wal.go:258 +0x4e
github.com/influxdb/influxdb/tsdb/engine/bz1.(*Tx).Cursor()
/root/go/src/github.com/influxdb/influxdb/tsdb/engine/bz1/bz1.go:626 +0xb4
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:244 +0x14dd
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Previous write by goroutine 71:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:122 +0x331
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/influxdb/influxdb/tsdb/engine/wal.(*Log).triggerAutoFlush()
/root/go/src/github.com/influxdb/influxdb/tsdb/engine/wal/wal.go:593 +0x264
github.com/influxdb/influxdb/tsdb/engine/wal.(*Log).autoflusher()
/root/go/src/github.com/influxdb/influxdb/tsdb/engine/wal/wal.go:609 +0x1d9
Goroutine 140 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
Goroutine 71 (running) created at:
github.com/influxdb/influxdb/tsdb/engine/wal.(*Log).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/engine/wal/wal.go:240 +0x886
github.com/influxdb/influxdb/tsdb/engine/bz1.(*Engine).LoadMetadataIndex()
/root/go/src/github.com/influxdb/influxdb/tsdb/engine/bz1/bz1.go:223 +0x201
github.com/influxdb/influxdb/tsdb.(*Shard).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/shard.go:123 +0x6a6
github.com/influxdb/influxdb/tsdb.(*Shard).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/shard.go:128 +0x3e
github.com/influxdb/influxdb/tsdb.(*Store).loadShards()
/root/go/src/github.com/influxdb/influxdb/tsdb/store.go:291 +0xfef
github.com/influxdb/influxdb/tsdb.(*Store).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/store.go:324 +0x44f
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open.func1()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:362 +0x1333
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:384 +0x3e
github.com/influxdb/influxdb/cmd/influxd/run.(*Command).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/command.go:114 +0x10d3
main.(*Main).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:81 +0x8f9
main.main()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:42 +0x3ff
==================
==================
WARNING: DATA RACE
Read by goroutine 140:
container/list.(*List).PushBack()
/tmp/workdir/go/src/container/list/list.go:138 +0x37
github.com/funny/sync.(*monitor).using()
/root/go/src/github.com/funny/sync/deadlock.go:115 +0x10e
github.com/funny/sync.(*RWMutex).RLock()
/root/go/src/github.com/funny/sync/deadlock.go:47 +0x81
github.com/influxdb/influxdb/tsdb/engine/wal.(*Log).Cursor()
/root/go/src/github.com/influxdb/influxdb/tsdb/engine/wal/wal.go:258 +0x4e
github.com/influxdb/influxdb/tsdb/engine/bz1.(*Tx).Cursor()
/root/go/src/github.com/influxdb/influxdb/tsdb/engine/bz1/bz1.go:626 +0xb4
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:244 +0x14dd
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Previous write by goroutine 71:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:122 +0x22f
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/influxdb/influxdb/tsdb/engine/wal.(*Log).triggerAutoFlush()
/root/go/src/github.com/influxdb/influxdb/tsdb/engine/wal/wal.go:593 +0x264
github.com/influxdb/influxdb/tsdb/engine/wal.(*Log).autoflusher()
/root/go/src/github.com/influxdb/influxdb/tsdb/engine/wal/wal.go:609 +0x1d9
Goroutine 140 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
Goroutine 71 (running) created at:
github.com/influxdb/influxdb/tsdb/engine/wal.(*Log).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/engine/wal/wal.go:240 +0x886
github.com/influxdb/influxdb/tsdb/engine/bz1.(*Engine).LoadMetadataIndex()
/root/go/src/github.com/influxdb/influxdb/tsdb/engine/bz1/bz1.go:223 +0x201
github.com/influxdb/influxdb/tsdb.(*Shard).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/shard.go:123 +0x6a6
github.com/influxdb/influxdb/tsdb.(*Shard).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/shard.go:128 +0x3e
github.com/influxdb/influxdb/tsdb.(*Store).loadShards()
/root/go/src/github.com/influxdb/influxdb/tsdb/store.go:291 +0xfef
github.com/influxdb/influxdb/tsdb.(*Store).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/store.go:324 +0x44f
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open.func1()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:362 +0x1333
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:384 +0x3e
github.com/influxdb/influxdb/cmd/influxd/run.(*Command).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/command.go:114 +0x10d3
main.(*Main).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:81 +0x8f9
main.main()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:42 +0x3ff
==================
==================
WARNING: DATA RACE
Read by goroutine 140:
container/list.(*List).PushBack()
/tmp/workdir/go/src/container/list/list.go:139 +0xd9
github.com/funny/sync.(*monitor).using()
/root/go/src/github.com/funny/sync/deadlock.go:115 +0x10e
github.com/funny/sync.(*RWMutex).RLock()
/root/go/src/github.com/funny/sync/deadlock.go:47 +0x81
github.com/influxdb/influxdb/tsdb/engine/wal.(*Log).Cursor()
/root/go/src/github.com/influxdb/influxdb/tsdb/engine/wal/wal.go:258 +0x4e
github.com/influxdb/influxdb/tsdb/engine/bz1.(*Tx).Cursor()
/root/go/src/github.com/influxdb/influxdb/tsdb/engine/bz1/bz1.go:626 +0xb4
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:244 +0x14dd
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Previous write by goroutine 71:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:122 +0x283
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/influxdb/influxdb/tsdb/engine/wal.(*Log).triggerAutoFlush()
/root/go/src/github.com/influxdb/influxdb/tsdb/engine/wal/wal.go:593 +0x264
github.com/influxdb/influxdb/tsdb/engine/wal.(*Log).autoflusher()
/root/go/src/github.com/influxdb/influxdb/tsdb/engine/wal/wal.go:609 +0x1d9
Goroutine 140 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
Goroutine 71 (running) created at:
github.com/influxdb/influxdb/tsdb/engine/wal.(*Log).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/engine/wal/wal.go:240 +0x886
github.com/influxdb/influxdb/tsdb/engine/bz1.(*Engine).LoadMetadataIndex()
/root/go/src/github.com/influxdb/influxdb/tsdb/engine/bz1/bz1.go:223 +0x201
github.com/influxdb/influxdb/tsdb.(*Shard).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/shard.go:123 +0x6a6
github.com/influxdb/influxdb/tsdb.(*Shard).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/shard.go:128 +0x3e
github.com/influxdb/influxdb/tsdb.(*Store).loadShards()
/root/go/src/github.com/influxdb/influxdb/tsdb/store.go:291 +0xfef
github.com/influxdb/influxdb/tsdb.(*Store).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/store.go:324 +0x44f
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open.func1()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:362 +0x1333
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:384 +0x3e
github.com/influxdb/influxdb/cmd/influxd/run.(*Command).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/command.go:114 +0x10d3
main.(*Main).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:81 +0x8f9
main.main()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:42 +0x3ff
==================
==================
WARNING: DATA RACE
Read by goroutine 140:
github.com/funny/sync.(*monitor).diagnose()
/root/go/src/github.com/funny/sync/deadlock.go:95 +0x5e
github.com/funny/sync.(*monitor).wait()
/root/go/src/github.com/funny/sync/deadlock.go:89 +0x3a5
github.com/funny/sync.(*RWMutex).Lock()
/root/go/src/github.com/funny/sync/deadlock.go:34 +0x3e
github.com/influxdb/influxdb/tsdb/engine/wal.(*Partition).cursor()
/root/go/src/github.com/influxdb/influxdb/tsdb/engine/wal/wal.go:1215 +0x6e
github.com/influxdb/influxdb/tsdb/engine/wal.(*Log).Cursor()
/root/go/src/github.com/influxdb/influxdb/tsdb/engine/wal/wal.go:261 +0xd3
github.com/influxdb/influxdb/tsdb/engine/bz1.(*Tx).Cursor()
/root/go/src/github.com/influxdb/influxdb/tsdb/engine/bz1/bz1.go:626 +0xb4
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:244 +0x14dd
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Previous write by goroutine 71:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:122 +0x331
github.com/funny/sync.(*RWMutex).Unlock()
/root/go/src/github.com/funny/sync/deadlock.go:40 +0x3a
github.com/influxdb/influxdb/tsdb/engine/wal.(*Partition).shouldFlush()
/root/go/src/github.com/influxdb/influxdb/tsdb/engine/wal/wal.go:929 +0xd0
github.com/influxdb/influxdb/tsdb/engine/wal.(*Log).triggerAutoFlush()
/root/go/src/github.com/influxdb/influxdb/tsdb/engine/wal/wal.go:588 +0x117
github.com/influxdb/influxdb/tsdb/engine/wal.(*Log).autoflusher()
/root/go/src/github.com/influxdb/influxdb/tsdb/engine/wal/wal.go:609 +0x1d9
Goroutine 140 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
Goroutine 71 (running) created at:
github.com/influxdb/influxdb/tsdb/engine/wal.(*Log).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/engine/wal/wal.go:240 +0x886
github.com/influxdb/influxdb/tsdb/engine/bz1.(*Engine).LoadMetadataIndex()
/root/go/src/github.com/influxdb/influxdb/tsdb/engine/bz1/bz1.go:223 +0x201
github.com/influxdb/influxdb/tsdb.(*Shard).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/shard.go:123 +0x6a6
github.com/influxdb/influxdb/tsdb.(*Shard).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/shard.go:128 +0x3e
github.com/influxdb/influxdb/tsdb.(*Store).loadShards()
/root/go/src/github.com/influxdb/influxdb/tsdb/store.go:291 +0xfef
github.com/influxdb/influxdb/tsdb.(*Store).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/store.go:324 +0x44f
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open.func1()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:362 +0x1333
github.com/influxdb/influxdb/cmd/influxd/run.(*Server).Open()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/server.go:384 +0x3e
github.com/influxdb/influxdb/cmd/influxd/run.(*Command).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/run/command.go:114 +0x10d3
main.(*Main).Run()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:81 +0x8f9
main.main()
/root/go/src/github.com/influxdb/influxdb/cmd/influxd/main.go:42 +0x3ff
==================
==================
WARNING: DATA RACE
Read by goroutine 139:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:121 +0xb8
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/influxdb/influxdb/tsdb.(*Measurement).HasField()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:318 +0xd8
github.com/influxdb/influxdb/tsdb.createTagSetsAndFields()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:994 +0xabf
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:199 +0xe13
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Previous write by goroutine 138:
container/list.(*List).PushBack()
/tmp/workdir/go/src/container/list/list.go:139 +0x137
github.com/funny/sync.(*monitor).using()
/root/go/src/github.com/funny/sync/deadlock.go:115 +0x10e
github.com/funny/sync.(*RWMutex).RLock()
/root/go/src/github.com/funny/sync/deadlock.go:47 +0x81
github.com/influxdb/influxdb/tsdb.(*Measurement).HasField()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:315 +0x42
github.com/influxdb/influxdb/tsdb.(*Measurement).idsForExpr()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:638 +0x58d
github.com/influxdb/influxdb/tsdb.(*Measurement).walkWhereForSeriesIds()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:694 +0x596
github.com/influxdb/influxdb/tsdb.(*Measurement).walkWhereForSeriesIds()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:713 +0x265
github.com/influxdb/influxdb/tsdb.(*Measurement).walkWhereForSeriesIds()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:707 +0x184
github.com/influxdb/influxdb/tsdb.(*Measurement).walkWhereForSeriesIds()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:707 +0x184
github.com/influxdb/influxdb/tsdb.(*Measurement).filters()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:463 +0xd4
github.com/influxdb/influxdb/tsdb.(*Measurement).TagSets()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:494 +0x178
github.com/influxdb/influxdb/tsdb.createTagSetsAndFields()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:1001 +0x7ba
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:199 +0xe13
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Goroutine 139 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
Goroutine 138 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
==================
==================
WARNING: DATA RACE
Read by goroutine 139:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:121 +0x110
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/influxdb/influxdb/tsdb.(*Measurement).HasField()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:318 +0xd8
github.com/influxdb/influxdb/tsdb.createTagSetsAndFields()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:994 +0xabf
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:199 +0xe13
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Previous write by goroutine 138:
github.com/funny/sync.(*monitor).wait()
/root/go/src/github.com/funny/sync/deadlock.go:82 +0x160
github.com/funny/sync.(*RWMutex).RLock()
/root/go/src/github.com/funny/sync/deadlock.go:45 +0x3e
github.com/influxdb/influxdb/tsdb.(*Measurement).HasField()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:315 +0x42
github.com/influxdb/influxdb/tsdb.(*Measurement).idsForExpr()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:638 +0x58d
github.com/influxdb/influxdb/tsdb.(*Measurement).walkWhereForSeriesIds()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:694 +0x596
github.com/influxdb/influxdb/tsdb.(*Measurement).walkWhereForSeriesIds()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:713 +0x265
github.com/influxdb/influxdb/tsdb.(*Measurement).walkWhereForSeriesIds()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:707 +0x184
github.com/influxdb/influxdb/tsdb.(*Measurement).walkWhereForSeriesIds()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:707 +0x184
github.com/influxdb/influxdb/tsdb.(*Measurement).filters()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:463 +0xd4
github.com/influxdb/influxdb/tsdb.(*Measurement).TagSets()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:494 +0x178
github.com/influxdb/influxdb/tsdb.createTagSetsAndFields()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:1001 +0x7ba
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:199 +0xe13
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Goroutine 139 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
Goroutine 138 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
==================
==================
WARNING: DATA RACE
Read by goroutine 139:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:120 +0x3ea
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/influxdb/influxdb/tsdb.(*Measurement).HasField()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:318 +0xd8
github.com/influxdb/influxdb/tsdb.createTagSetsAndFields()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:994 +0xabf
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:199 +0xe13
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Previous write by goroutine 138:
container/list.(*List).PushBack()
/tmp/workdir/go/src/container/list/list.go:139 +0x137
github.com/funny/sync.(*monitor).using()
/root/go/src/github.com/funny/sync/deadlock.go:115 +0x10e
github.com/funny/sync.(*RWMutex).RLock()
/root/go/src/github.com/funny/sync/deadlock.go:47 +0x81
github.com/influxdb/influxdb/tsdb.(*Measurement).HasField()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:315 +0x42
github.com/influxdb/influxdb/tsdb.(*Measurement).idsForExpr()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:638 +0x58d
github.com/influxdb/influxdb/tsdb.(*Measurement).walkWhereForSeriesIds()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:694 +0x596
github.com/influxdb/influxdb/tsdb.(*Measurement).walkWhereForSeriesIds()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:713 +0x265
github.com/influxdb/influxdb/tsdb.(*Measurement).walkWhereForSeriesIds()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:707 +0x184
github.com/influxdb/influxdb/tsdb.(*Measurement).walkWhereForSeriesIds()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:707 +0x184
github.com/influxdb/influxdb/tsdb.(*Measurement).filters()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:463 +0xd4
github.com/influxdb/influxdb/tsdb.(*Measurement).TagSets()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:494 +0x178
github.com/influxdb/influxdb/tsdb.createTagSetsAndFields()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:1001 +0x7ba
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:199 +0xe13
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Goroutine 139 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
Goroutine 138 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
==================
==================
WARNING: DATA RACE
Read by goroutine 139:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:120 +0x406
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/influxdb/influxdb/tsdb.(*Measurement).HasField()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:318 +0xd8
github.com/influxdb/influxdb/tsdb.createTagSetsAndFields()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:994 +0xabf
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:199 +0xe13
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Previous write by goroutine 138:
container/list.(*List).PushBack()
/tmp/workdir/go/src/container/list/list.go:139 +0x137
github.com/funny/sync.(*monitor).using()
/root/go/src/github.com/funny/sync/deadlock.go:115 +0x10e
github.com/funny/sync.(*RWMutex).RLock()
/root/go/src/github.com/funny/sync/deadlock.go:47 +0x81
github.com/influxdb/influxdb/tsdb.(*Measurement).HasField()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:315 +0x42
github.com/influxdb/influxdb/tsdb.(*Measurement).idsForExpr()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:638 +0x58d
github.com/influxdb/influxdb/tsdb.(*Measurement).walkWhereForSeriesIds()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:694 +0x596
github.com/influxdb/influxdb/tsdb.(*Measurement).walkWhereForSeriesIds()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:713 +0x265
github.com/influxdb/influxdb/tsdb.(*Measurement).walkWhereForSeriesIds()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:707 +0x184
github.com/influxdb/influxdb/tsdb.(*Measurement).walkWhereForSeriesIds()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:707 +0x184
github.com/influxdb/influxdb/tsdb.(*Measurement).filters()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:463 +0xd4
github.com/influxdb/influxdb/tsdb.(*Measurement).TagSets()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:494 +0x178
github.com/influxdb/influxdb/tsdb.createTagSetsAndFields()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:1001 +0x7ba
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:199 +0xe13
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Goroutine 139 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
Goroutine 138 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
==================
==================
WARNING: DATA RACE
Write by goroutine 139:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:122 +0x2c6
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/influxdb/influxdb/tsdb.(*Measurement).HasField()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:318 +0xd8
github.com/influxdb/influxdb/tsdb.createTagSetsAndFields()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:994 +0xabf
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:199 +0xe13
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Previous read by goroutine 137:
github.com/funny/sync.(*monitor).diagnose()
/root/go/src/github.com/funny/sync/deadlock.go:95 +0x131
github.com/funny/sync.(*monitor).wait()
/root/go/src/github.com/funny/sync/deadlock.go:89 +0x3a5
github.com/funny/sync.(*RWMutex).RLock()
/root/go/src/github.com/funny/sync/deadlock.go:45 +0x3e
github.com/influxdb/influxdb/tsdb.(*Measurement).HasField()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:315 +0x42
github.com/influxdb/influxdb/tsdb.(*Measurement).idsForExpr()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:638 +0x58d
github.com/influxdb/influxdb/tsdb.(*Measurement).walkWhereForSeriesIds()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:694 +0x596
github.com/influxdb/influxdb/tsdb.(*Measurement).walkWhereForSeriesIds()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:713 +0x265
github.com/influxdb/influxdb/tsdb.(*Measurement).walkWhereForSeriesIds()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:707 +0x184
github.com/influxdb/influxdb/tsdb.(*Measurement).walkWhereForSeriesIds()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:707 +0x184
github.com/influxdb/influxdb/tsdb.(*Measurement).filters()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:463 +0xd4
github.com/influxdb/influxdb/tsdb.(*Measurement).TagSets()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:494 +0x178
github.com/influxdb/influxdb/tsdb.createTagSetsAndFields()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:1001 +0x7ba
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:199 +0xe13
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Goroutine 139 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
Goroutine 137 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
==================
==================
WARNING: DATA RACE
Write by goroutine 139:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:122 +0x2f7
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/influxdb/influxdb/tsdb.(*Measurement).HasField()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:318 +0xd8
github.com/influxdb/influxdb/tsdb.createTagSetsAndFields()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:994 +0xabf
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:199 +0xe13
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Previous read by goroutine 137:
github.com/funny/sync.(*monitor).diagnose()
/root/go/src/github.com/funny/sync/deadlock.go:95 +0x14c
github.com/funny/sync.(*monitor).wait()
/root/go/src/github.com/funny/sync/deadlock.go:89 +0x3a5
github.com/funny/sync.(*RWMutex).RLock()
/root/go/src/github.com/funny/sync/deadlock.go:45 +0x3e
github.com/influxdb/influxdb/tsdb.(*Measurement).HasField()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:315 +0x42
github.com/influxdb/influxdb/tsdb.(*Measurement).idsForExpr()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:638 +0x58d
github.com/influxdb/influxdb/tsdb.(*Measurement).walkWhereForSeriesIds()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:694 +0x596
github.com/influxdb/influxdb/tsdb.(*Measurement).walkWhereForSeriesIds()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:713 +0x265
github.com/influxdb/influxdb/tsdb.(*Measurement).walkWhereForSeriesIds()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:707 +0x184
github.com/influxdb/influxdb/tsdb.(*Measurement).walkWhereForSeriesIds()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:707 +0x184
github.com/influxdb/influxdb/tsdb.(*Measurement).filters()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:463 +0xd4
github.com/influxdb/influxdb/tsdb.(*Measurement).TagSets()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:494 +0x178
github.com/influxdb/influxdb/tsdb.createTagSetsAndFields()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:1001 +0x7ba
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:199 +0xe13
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Goroutine 139 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
Goroutine 137 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
==================
==================
WARNING: DATA RACE
Read by goroutine 138:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:122 +0x23d
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/influxdb/influxdb/tsdb.(*Measurement).HasField()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:318 +0xd8
github.com/influxdb/influxdb/tsdb.(*Measurement).idsForExpr()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:638 +0x58d
github.com/influxdb/influxdb/tsdb.(*Measurement).walkWhereForSeriesIds()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:694 +0x596
github.com/influxdb/influxdb/tsdb.(*Measurement).walkWhereForSeriesIds()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:713 +0x265
github.com/influxdb/influxdb/tsdb.(*Measurement).walkWhereForSeriesIds()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:707 +0x184
github.com/influxdb/influxdb/tsdb.(*Measurement).walkWhereForSeriesIds()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:707 +0x184
github.com/influxdb/influxdb/tsdb.(*Measurement).filters()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:463 +0xd4
github.com/influxdb/influxdb/tsdb.(*Measurement).TagSets()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:494 +0x178
github.com/influxdb/influxdb/tsdb.createTagSetsAndFields()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:1001 +0x7ba
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:199 +0xe13
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Previous write by goroutine 137:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:122 +0x22f
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/influxdb/influxdb/tsdb.(*Measurement).HasField()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:318 +0xd8
github.com/influxdb/influxdb/tsdb.(*Measurement).idsForExpr()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:638 +0x58d
github.com/influxdb/influxdb/tsdb.(*Measurement).walkWhereForSeriesIds()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:694 +0x596
github.com/influxdb/influxdb/tsdb.(*Measurement).walkWhereForSeriesIds()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:713 +0x265
github.com/influxdb/influxdb/tsdb.(*Measurement).walkWhereForSeriesIds()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:707 +0x184
github.com/influxdb/influxdb/tsdb.(*Measurement).walkWhereForSeriesIds()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:707 +0x184
github.com/influxdb/influxdb/tsdb.(*Measurement).filters()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:463 +0xd4
github.com/influxdb/influxdb/tsdb.(*Measurement).TagSets()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:494 +0x178
github.com/influxdb/influxdb/tsdb.createTagSetsAndFields()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:1001 +0x7ba
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:199 +0xe13
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Goroutine 138 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
Goroutine 137 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
==================
==================
WARNING: DATA RACE
Read by goroutine 137:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:121 +0xb8
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/influxdb/influxdb/tsdb.(*Measurement).TagSets()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:547 +0x1261
github.com/influxdb/influxdb/tsdb.createTagSetsAndFields()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:1001 +0x7ba
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:199 +0xe13
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Previous write by goroutine 141:
container/list.(*List).PushBack()
/tmp/workdir/go/src/container/list/list.go:139 +0x137
github.com/funny/sync.(*monitor).using()
/root/go/src/github.com/funny/sync/deadlock.go:115 +0x10e
github.com/funny/sync.(*RWMutex).RLock()
/root/go/src/github.com/funny/sync/deadlock.go:47 +0x81
github.com/influxdb/influxdb/tsdb.(*Measurement).TagSets()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:488 +0xb0
github.com/influxdb/influxdb/tsdb.createTagSetsAndFields()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:1001 +0x7ba
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:199 +0xe13
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Goroutine 137 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
Goroutine 141 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
==================
==================
WARNING: DATA RACE
Read by goroutine 137:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:121 +0x110
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/influxdb/influxdb/tsdb.(*Measurement).TagSets()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:547 +0x1261
github.com/influxdb/influxdb/tsdb.createTagSetsAndFields()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:1001 +0x7ba
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:199 +0xe13
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Previous write by goroutine 141:
github.com/funny/sync.(*monitor).wait()
/root/go/src/github.com/funny/sync/deadlock.go:82 +0x160
github.com/funny/sync.(*RWMutex).RLock()
/root/go/src/github.com/funny/sync/deadlock.go:45 +0x3e
github.com/influxdb/influxdb/tsdb.(*Measurement).TagSets()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:488 +0xb0
github.com/influxdb/influxdb/tsdb.createTagSetsAndFields()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:1001 +0x7ba
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:199 +0xe13
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Goroutine 137 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
Goroutine 141 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
==================
==================
WARNING: DATA RACE
Read by goroutine 137:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:120 +0x3ea
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/influxdb/influxdb/tsdb.(*Measurement).TagSets()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:547 +0x1261
github.com/influxdb/influxdb/tsdb.createTagSetsAndFields()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:1001 +0x7ba
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:199 +0xe13
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Previous write by goroutine 141:
container/list.(*List).PushBack()
/tmp/workdir/go/src/container/list/list.go:139 +0x137
github.com/funny/sync.(*monitor).using()
/root/go/src/github.com/funny/sync/deadlock.go:115 +0x10e
github.com/funny/sync.(*RWMutex).RLock()
/root/go/src/github.com/funny/sync/deadlock.go:47 +0x81
github.com/influxdb/influxdb/tsdb.(*Measurement).TagSets()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:488 +0xb0
github.com/influxdb/influxdb/tsdb.createTagSetsAndFields()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:1001 +0x7ba
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:199 +0xe13
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Goroutine 137 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
Goroutine 141 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
==================
==================
WARNING: DATA RACE
Read by goroutine 137:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:120 +0x406
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/influxdb/influxdb/tsdb.(*Measurement).TagSets()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:547 +0x1261
github.com/influxdb/influxdb/tsdb.createTagSetsAndFields()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:1001 +0x7ba
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:199 +0xe13
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Previous write by goroutine 141:
container/list.(*List).PushBack()
/tmp/workdir/go/src/container/list/list.go:139 +0x137
github.com/funny/sync.(*monitor).using()
/root/go/src/github.com/funny/sync/deadlock.go:115 +0x10e
github.com/funny/sync.(*RWMutex).RLock()
/root/go/src/github.com/funny/sync/deadlock.go:47 +0x81
github.com/influxdb/influxdb/tsdb.(*Measurement).TagSets()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:488 +0xb0
github.com/influxdb/influxdb/tsdb.createTagSetsAndFields()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:1001 +0x7ba
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:199 +0xe13
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Goroutine 137 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
Goroutine 141 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
==================
==================
WARNING: DATA RACE
Write by goroutine 137:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:122 +0x22f
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/influxdb/influxdb/tsdb.(*Measurement).TagSets()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:547 +0x1261
github.com/influxdb/influxdb/tsdb.createTagSetsAndFields()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:1001 +0x7ba
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:199 +0xe13
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Previous read by goroutine 140:
container/list.(*List).PushBack()
/tmp/workdir/go/src/container/list/list.go:138 +0x37
github.com/funny/sync.(*monitor).using()
/root/go/src/github.com/funny/sync/deadlock.go:115 +0x10e
github.com/funny/sync.(*RWMutex).RLock()
/root/go/src/github.com/funny/sync/deadlock.go:47 +0x81
github.com/influxdb/influxdb/tsdb.(*DatabaseIndex).Measurement()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:56 +0x46
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:186 +0xd33
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Goroutine 137 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
Goroutine 140 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
==================
==================
WARNING: DATA RACE
Read by goroutine 141:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:122 +0x23d
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/influxdb/influxdb/tsdb.(*Measurement).TagSets()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:547 +0x1261
github.com/influxdb/influxdb/tsdb.createTagSetsAndFields()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:1001 +0x7ba
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:199 +0xe13
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Previous write by goroutine 140:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:122 +0x22f
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/influxdb/influxdb/tsdb.(*DatabaseIndex).Measurement()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:58 +0xfd
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:186 +0xd33
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Goroutine 141 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
Goroutine 140 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
==================
==================
WARNING: DATA RACE
Read by goroutine 138:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:122 +0x21d
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/influxdb/influxdb/tsdb.(*Measurement).TagSets()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:547 +0x1261
github.com/influxdb/influxdb/tsdb.createTagSetsAndFields()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:1001 +0x7ba
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:199 +0xe13
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Previous write by goroutine 137:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:122 +0x283
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/influxdb/influxdb/tsdb.(*Measurement).TagSets()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:547 +0x1261
github.com/influxdb/influxdb/tsdb.createTagSetsAndFields()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:1001 +0x7ba
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:199 +0xe13
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Goroutine 138 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
Goroutine 137 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
==================
==================
WARNING: DATA RACE
Write by goroutine 138:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:122 +0x22f
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/influxdb/influxdb/tsdb.(*Measurement).TagSets()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:547 +0x1261
github.com/influxdb/influxdb/tsdb.createTagSetsAndFields()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:1001 +0x7ba
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:199 +0xe13
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Previous write by goroutine 137:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:122 +0x22f
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/influxdb/influxdb/tsdb.(*Measurement).TagSets()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:547 +0x1261
github.com/influxdb/influxdb/tsdb.createTagSetsAndFields()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:1001 +0x7ba
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:199 +0xe13
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Goroutine 138 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
Goroutine 137 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
==================
==================
WARNING: DATA RACE
Write by goroutine 138:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:122 +0x2f7
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/influxdb/influxdb/tsdb.(*Measurement).TagSets()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:547 +0x1261
github.com/influxdb/influxdb/tsdb.createTagSetsAndFields()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:1001 +0x7ba
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:199 +0xe13
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Previous read by goroutine 137:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:120 +0x406
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/influxdb/influxdb/tsdb.(*Measurement).TagSets()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:547 +0x1261
github.com/influxdb/influxdb/tsdb.createTagSetsAndFields()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:1001 +0x7ba
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:199 +0xe13
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Goroutine 138 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
Goroutine 137 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
==================
==================
WARNING: DATA RACE
Write by goroutine 140:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:122 +0x2c6
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/influxdb/influxdb/tsdb.(*Measurement).TagSets()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:547 +0x1261
github.com/influxdb/influxdb/tsdb.createTagSetsAndFields()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:1001 +0x7ba
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:199 +0xe13
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Previous read by goroutine 138:
github.com/funny/sync.(*monitor).diagnose()
/root/go/src/github.com/funny/sync/deadlock.go:95 +0x131
github.com/funny/sync.(*monitor).wait()
/root/go/src/github.com/funny/sync/deadlock.go:89 +0x3a5
github.com/funny/sync.(*RWMutex).RLock()
/root/go/src/github.com/funny/sync/deadlock.go:45 +0x3e
github.com/influxdb/influxdb/tsdb.(*DatabaseIndex).TagsForSeries()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:106 +0x46
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:249 +0x2492
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Goroutine 140 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
Goroutine 138 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
==================
==================
WARNING: DATA RACE
Write by goroutine 140:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:122 +0x2f7
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/influxdb/influxdb/tsdb.(*Measurement).TagSets()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:547 +0x1261
github.com/influxdb/influxdb/tsdb.createTagSetsAndFields()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:1001 +0x7ba
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:199 +0xe13
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Previous read by goroutine 138:
github.com/funny/sync.(*monitor).diagnose()
/root/go/src/github.com/funny/sync/deadlock.go:95 +0x14c
github.com/funny/sync.(*monitor).wait()
/root/go/src/github.com/funny/sync/deadlock.go:89 +0x3a5
github.com/funny/sync.(*RWMutex).RLock()
/root/go/src/github.com/funny/sync/deadlock.go:45 +0x3e
github.com/influxdb/influxdb/tsdb.(*DatabaseIndex).TagsForSeries()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:106 +0x46
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:249 +0x2492
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Goroutine 140 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
Goroutine 138 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
==================
==================
WARNING: DATA RACE
Read by goroutine 138:
github.com/funny/sync.(*monitor).diagnose()
/root/go/src/github.com/funny/sync/deadlock.go:95 +0x5e
github.com/funny/sync.(*monitor).wait()
/root/go/src/github.com/funny/sync/deadlock.go:89 +0x3a5
github.com/funny/sync.(*RWMutex).RLock()
/root/go/src/github.com/funny/sync/deadlock.go:45 +0x3e
github.com/influxdb/influxdb/tsdb.(*Shard).FieldCodec()
/root/go/src/github.com/influxdb/influxdb/tsdb/shard.go:172 +0x4e
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:254 +0x1595
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Previous write by goroutine 126:
[failed to restore the stack]
Goroutine 138 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
Goroutine 126 (running) created at:
github.com/influxdb/influxdb/cluster.(*PointsWriter).writeToShard()
/root/go/src/github.com/influxdb/influxdb/cluster/points_writer.go:299 +0x24a
github.com/influxdb/influxdb/cluster.(*PointsWriter).WritePoints.func1()
/root/go/src/github.com/influxdb/influxdb/cluster/points_writer.go:225 +0xe1
==================
==================
WARNING: DATA RACE
Read by goroutine 138:
container/list.(*List).PushBack()
/tmp/workdir/go/src/container/list/list.go:138 +0x37
github.com/funny/sync.(*monitor).using()
/root/go/src/github.com/funny/sync/deadlock.go:115 +0x10e
github.com/funny/sync.(*RWMutex).RLock()
/root/go/src/github.com/funny/sync/deadlock.go:47 +0x81
github.com/influxdb/influxdb/tsdb.(*Shard).FieldCodec()
/root/go/src/github.com/influxdb/influxdb/tsdb/shard.go:172 +0x4e
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:254 +0x1595
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Previous write by goroutine 126:
[failed to restore the stack]
Goroutine 138 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
Goroutine 126 (running) created at:
github.com/influxdb/influxdb/cluster.(*PointsWriter).writeToShard()
/root/go/src/github.com/influxdb/influxdb/cluster/points_writer.go:299 +0x24a
github.com/influxdb/influxdb/cluster.(*PointsWriter).WritePoints.func1()
/root/go/src/github.com/influxdb/influxdb/cluster/points_writer.go:225 +0xe1
==================
==================
WARNING: DATA RACE
Read by goroutine 138:
container/list.(*List).PushBack()
/tmp/workdir/go/src/container/list/list.go:139 +0xd9
github.com/funny/sync.(*monitor).using()
/root/go/src/github.com/funny/sync/deadlock.go:115 +0x10e
github.com/funny/sync.(*RWMutex).RLock()
/root/go/src/github.com/funny/sync/deadlock.go:47 +0x81
github.com/influxdb/influxdb/tsdb.(*Shard).FieldCodec()
/root/go/src/github.com/influxdb/influxdb/tsdb/shard.go:172 +0x4e
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:254 +0x1595
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Previous write by goroutine 126:
[failed to restore the stack]
Goroutine 138 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
Goroutine 126 (running) created at:
github.com/influxdb/influxdb/cluster.(*PointsWriter).writeToShard()
/root/go/src/github.com/influxdb/influxdb/cluster/points_writer.go:299 +0x24a
github.com/influxdb/influxdb/cluster.(*PointsWriter).WritePoints.func1()
/root/go/src/github.com/influxdb/influxdb/cluster/points_writer.go:225 +0xe1
==================
==================
WARNING: DATA RACE
Read by goroutine 139:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:122 +0x23d
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/influxdb/influxdb/tsdb.(*Measurement).TagSets()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:547 +0x1261
github.com/influxdb/influxdb/tsdb.createTagSetsAndFields()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:1001 +0x7ba
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:199 +0xe13
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Previous write by goroutine 138:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:122 +0x22f
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/influxdb/influxdb/tsdb.(*DatabaseIndex).TagsForSeries()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:112 +0x139
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:249 +0x2492
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Goroutine 139 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
Goroutine 138 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
==================
==================
WARNING: DATA RACE
Read by goroutine 137:
github.com/funny/sync.(*monitor).diagnose()
/root/go/src/github.com/funny/sync/deadlock.go:95 +0x5e
github.com/funny/sync.(*monitor).wait()
/root/go/src/github.com/funny/sync/deadlock.go:89 +0x3a5
github.com/funny/sync.(*Mutex).Lock()
/root/go/src/github.com/funny/sync/deadlock.go:18 +0x3e
github.com/boltdb/bolt.(*DB).beginTx()
/root/go/src/github.com/boltdb/bolt/db.go:427 +0x5a
github.com/boltdb/bolt.(*DB).Begin()
/root/go/src/github.com/boltdb/bolt/db.go:420 +0x80
github.com/influxdb/influxdb/tsdb/engine/bz1.(*Engine).Begin()
/root/go/src/github.com/influxdb/influxdb/tsdb/engine/bz1/bz1.go:565 +0x6a
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:109 +0x16e
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Previous write by goroutine 141:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:122 +0x331
github.com/funny/sync.(*Mutex).Unlock()
/root/go/src/github.com/funny/sync/deadlock.go:24 +0x3a
github.com/boltdb/bolt.(*DB).beginTx()
/root/go/src/github.com/boltdb/bolt/db.go:450 +0x320
github.com/boltdb/bolt.(*DB).Begin()
/root/go/src/github.com/boltdb/bolt/db.go:420 +0x80
github.com/influxdb/influxdb/tsdb/engine/bz1.(*Engine).Begin()
/root/go/src/github.com/influxdb/influxdb/tsdb/engine/bz1/bz1.go:565 +0x6a
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:109 +0x16e
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Goroutine 137 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
Goroutine 141 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
==================
==================
WARNING: DATA RACE
Read by goroutine 141:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:120 +0x7c
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/boltdb/bolt.(*DB).removeTx()
/root/go/src/github.com/boltdb/bolt/db.go:504 +0x53
github.com/boltdb/bolt.(*Tx).close()
/root/go/src/github.com/boltdb/bolt/tx.go:263 +0x50d
github.com/boltdb/bolt.(*Tx).rollback()
/root/go/src/github.com/boltdb/bolt/tx.go:237 +0x26f
github.com/boltdb/bolt.(*Tx).Rollback()
/root/go/src/github.com/boltdb/bolt/tx.go:225 +0xdc
github.com/influxdb/influxdb/tsdb/engine/bz1.(*Tx).Rollback()
<autogenerated>:21 +0x61
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Close()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:640 +0xe2
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).close()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:622 +0xcf
runtime.call32()
/tmp/workdir/go/src/runtime/asm_amd64.s:437 +0x3d
github.com/funny/sync.(*monitor).wait()
/root/go/src/github.com/funny/sync/deadlock.go:89 +0x3a5
github.com/funny/sync.(*RWMutex).RLock()
/root/go/src/github.com/funny/sync/deadlock.go:45 +0x3e
github.com/influxdb/influxdb/tsdb.(*Measurement).TagSets()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:488 +0xb0
github.com/influxdb/influxdb/tsdb.createTagSetsAndFields()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:1001 +0x7ba
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:199 +0xe13
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Previous write by goroutine 139:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:122 +0x331
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/boltdb/bolt.(*DB).removeTx()
/root/go/src/github.com/boltdb/bolt/db.go:504 +0x53
github.com/boltdb/bolt.(*Tx).close()
/root/go/src/github.com/boltdb/bolt/tx.go:263 +0x50d
github.com/boltdb/bolt.(*Tx).rollback()
/root/go/src/github.com/boltdb/bolt/tx.go:237 +0x26f
github.com/boltdb/bolt.(*Tx).Rollback()
/root/go/src/github.com/boltdb/bolt/tx.go:225 +0xdc
github.com/influxdb/influxdb/tsdb/engine/bz1.(*Tx).Rollback()
<autogenerated>:21 +0x61
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Close()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:640 +0xe2
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).close()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:622 +0xcf
runtime.call32()
/tmp/workdir/go/src/runtime/asm_amd64.s:437 +0x3d
github.com/funny/sync.(*monitor).wait()
/root/go/src/github.com/funny/sync/deadlock.go:89 +0x3a5
github.com/funny/sync.(*RWMutex).RLock()
/root/go/src/github.com/funny/sync/deadlock.go:45 +0x3e
github.com/influxdb/influxdb/tsdb.(*Measurement).TagSets()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:488 +0xb0
github.com/influxdb/influxdb/tsdb.createTagSetsAndFields()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:1001 +0x7ba
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:199 +0xe13
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Goroutine 141 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
Goroutine 139 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
==================
==================
WARNING: DATA RACE
Write by goroutine 141:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:122 +0x283
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/boltdb/bolt.(*DB).removeTx()
/root/go/src/github.com/boltdb/bolt/db.go:504 +0x53
github.com/boltdb/bolt.(*Tx).close()
/root/go/src/github.com/boltdb/bolt/tx.go:263 +0x50d
github.com/boltdb/bolt.(*Tx).rollback()
/root/go/src/github.com/boltdb/bolt/tx.go:237 +0x26f
github.com/boltdb/bolt.(*Tx).Rollback()
/root/go/src/github.com/boltdb/bolt/tx.go:225 +0xdc
github.com/influxdb/influxdb/tsdb/engine/bz1.(*Tx).Rollback()
<autogenerated>:21 +0x61
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Close()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:640 +0xe2
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).close()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:622 +0xcf
runtime.call32()
/tmp/workdir/go/src/runtime/asm_amd64.s:437 +0x3d
github.com/funny/sync.(*monitor).wait()
/root/go/src/github.com/funny/sync/deadlock.go:89 +0x3a5
github.com/funny/sync.(*RWMutex).RLock()
/root/go/src/github.com/funny/sync/deadlock.go:45 +0x3e
github.com/influxdb/influxdb/tsdb.(*Measurement).TagSets()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:488 +0xb0
github.com/influxdb/influxdb/tsdb.createTagSetsAndFields()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:1001 +0x7ba
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:199 +0xe13
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Previous read by goroutine 139:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:120 +0x3ea
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/boltdb/bolt.(*DB).removeTx()
/root/go/src/github.com/boltdb/bolt/db.go:504 +0x53
github.com/boltdb/bolt.(*Tx).close()
/root/go/src/github.com/boltdb/bolt/tx.go:263 +0x50d
github.com/boltdb/bolt.(*Tx).rollback()
/root/go/src/github.com/boltdb/bolt/tx.go:237 +0x26f
github.com/boltdb/bolt.(*Tx).Rollback()
/root/go/src/github.com/boltdb/bolt/tx.go:225 +0xdc
github.com/influxdb/influxdb/tsdb/engine/bz1.(*Tx).Rollback()
<autogenerated>:21 +0x61
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Close()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:640 +0xe2
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).close()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:622 +0xcf
runtime.call32()
/tmp/workdir/go/src/runtime/asm_amd64.s:437 +0x3d
github.com/funny/sync.(*monitor).wait()
/root/go/src/github.com/funny/sync/deadlock.go:89 +0x3a5
github.com/funny/sync.(*RWMutex).RLock()
/root/go/src/github.com/funny/sync/deadlock.go:45 +0x3e
github.com/influxdb/influxdb/tsdb.(*Measurement).TagSets()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:488 +0xb0
github.com/influxdb/influxdb/tsdb.createTagSetsAndFields()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:1001 +0x7ba
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:199 +0xe13
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Goroutine 141 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
Goroutine 139 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
==================
==================
WARNING: DATA RACE
Write by goroutine 141:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:122 +0x2de
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/boltdb/bolt.(*DB).removeTx()
/root/go/src/github.com/boltdb/bolt/db.go:504 +0x53
github.com/boltdb/bolt.(*Tx).close()
/root/go/src/github.com/boltdb/bolt/tx.go:263 +0x50d
github.com/boltdb/bolt.(*Tx).rollback()
/root/go/src/github.com/boltdb/bolt/tx.go:237 +0x26f
github.com/boltdb/bolt.(*Tx).Rollback()
/root/go/src/github.com/boltdb/bolt/tx.go:225 +0xdc
github.com/influxdb/influxdb/tsdb/engine/bz1.(*Tx).Rollback()
<autogenerated>:21 +0x61
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Close()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:640 +0xe2
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).close()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:622 +0xcf
runtime.call32()
/tmp/workdir/go/src/runtime/asm_amd64.s:437 +0x3d
github.com/funny/sync.(*monitor).wait()
/root/go/src/github.com/funny/sync/deadlock.go:89 +0x3a5
github.com/funny/sync.(*RWMutex).RLock()
/root/go/src/github.com/funny/sync/deadlock.go:45 +0x3e
github.com/influxdb/influxdb/tsdb.(*Measurement).TagSets()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:488 +0xb0
github.com/influxdb/influxdb/tsdb.createTagSetsAndFields()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:1001 +0x7ba
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:199 +0xe13
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Previous read by goroutine 139:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:120 +0x3ea
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/boltdb/bolt.(*DB).removeTx()
/root/go/src/github.com/boltdb/bolt/db.go:504 +0x53
github.com/boltdb/bolt.(*Tx).close()
/root/go/src/github.com/boltdb/bolt/tx.go:263 +0x50d
github.com/boltdb/bolt.(*Tx).rollback()
/root/go/src/github.com/boltdb/bolt/tx.go:237 +0x26f
github.com/boltdb/bolt.(*Tx).Rollback()
/root/go/src/github.com/boltdb/bolt/tx.go:225 +0xdc
github.com/influxdb/influxdb/tsdb/engine/bz1.(*Tx).Rollback()
<autogenerated>:21 +0x61
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Close()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:640 +0xe2
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).close()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:622 +0xcf
runtime.call32()
/tmp/workdir/go/src/runtime/asm_amd64.s:437 +0x3d
github.com/funny/sync.(*monitor).wait()
/root/go/src/github.com/funny/sync/deadlock.go:89 +0x3a5
github.com/funny/sync.(*RWMutex).RLock()
/root/go/src/github.com/funny/sync/deadlock.go:45 +0x3e
github.com/influxdb/influxdb/tsdb.(*Measurement).TagSets()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:488 +0xb0
github.com/influxdb/influxdb/tsdb.createTagSetsAndFields()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:1001 +0x7ba
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:199 +0xe13
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Goroutine 141 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
Goroutine 139 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
==================
==================
WARNING: DATA RACE
Write by goroutine 141:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:122 +0x2f7
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/boltdb/bolt.(*DB).removeTx()
/root/go/src/github.com/boltdb/bolt/db.go:504 +0x53
github.com/boltdb/bolt.(*Tx).close()
/root/go/src/github.com/boltdb/bolt/tx.go:263 +0x50d
github.com/boltdb/bolt.(*Tx).rollback()
/root/go/src/github.com/boltdb/bolt/tx.go:237 +0x26f
github.com/boltdb/bolt.(*Tx).Rollback()
/root/go/src/github.com/boltdb/bolt/tx.go:225 +0xdc
github.com/influxdb/influxdb/tsdb/engine/bz1.(*Tx).Rollback()
<autogenerated>:21 +0x61
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Close()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:640 +0xe2
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).close()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:622 +0xcf
runtime.call32()
/tmp/workdir/go/src/runtime/asm_amd64.s:437 +0x3d
github.com/funny/sync.(*monitor).wait()
/root/go/src/github.com/funny/sync/deadlock.go:89 +0x3a5
github.com/funny/sync.(*RWMutex).RLock()
/root/go/src/github.com/funny/sync/deadlock.go:45 +0x3e
github.com/influxdb/influxdb/tsdb.(*Measurement).TagSets()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:488 +0xb0
github.com/influxdb/influxdb/tsdb.createTagSetsAndFields()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:1001 +0x7ba
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:199 +0xe13
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Previous read by goroutine 139:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:120 +0x406
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/boltdb/bolt.(*DB).removeTx()
/root/go/src/github.com/boltdb/bolt/db.go:504 +0x53
github.com/boltdb/bolt.(*Tx).close()
/root/go/src/github.com/boltdb/bolt/tx.go:263 +0x50d
github.com/boltdb/bolt.(*Tx).rollback()
/root/go/src/github.com/boltdb/bolt/tx.go:237 +0x26f
github.com/boltdb/bolt.(*Tx).Rollback()
/root/go/src/github.com/boltdb/bolt/tx.go:225 +0xdc
github.com/influxdb/influxdb/tsdb/engine/bz1.(*Tx).Rollback()
<autogenerated>:21 +0x61
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Close()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:640 +0xe2
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).close()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:622 +0xcf
runtime.call32()
/tmp/workdir/go/src/runtime/asm_amd64.s:437 +0x3d
github.com/funny/sync.(*monitor).wait()
/root/go/src/github.com/funny/sync/deadlock.go:89 +0x3a5
github.com/funny/sync.(*RWMutex).RLock()
/root/go/src/github.com/funny/sync/deadlock.go:45 +0x3e
github.com/influxdb/influxdb/tsdb.(*Measurement).TagSets()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:488 +0xb0
github.com/influxdb/influxdb/tsdb.createTagSetsAndFields()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:1001 +0x7ba
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:199 +0xe13
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Goroutine 141 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
Goroutine 139 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
==================
==================
WARNING: DATA RACE
Read by goroutine 140:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:122 +0x21d
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/boltdb/bolt.(*DB).removeTx()
/root/go/src/github.com/boltdb/bolt/db.go:504 +0x53
github.com/boltdb/bolt.(*Tx).close()
/root/go/src/github.com/boltdb/bolt/tx.go:263 +0x50d
github.com/boltdb/bolt.(*Tx).rollback()
/root/go/src/github.com/boltdb/bolt/tx.go:237 +0x26f
github.com/boltdb/bolt.(*Tx).Rollback()
/root/go/src/github.com/boltdb/bolt/tx.go:225 +0xdc
github.com/influxdb/influxdb/tsdb/engine/bz1.(*Tx).Rollback()
<autogenerated>:21 +0x61
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Close()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:640 +0xe2
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).close()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:622 +0xcf
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:552 +0x2fff
Previous write by goroutine 139:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:122 +0x283
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/boltdb/bolt.(*DB).removeTx()
/root/go/src/github.com/boltdb/bolt/db.go:504 +0x53
github.com/boltdb/bolt.(*Tx).close()
/root/go/src/github.com/boltdb/bolt/tx.go:263 +0x50d
github.com/boltdb/bolt.(*Tx).rollback()
/root/go/src/github.com/boltdb/bolt/tx.go:237 +0x26f
github.com/boltdb/bolt.(*Tx).Rollback()
/root/go/src/github.com/boltdb/bolt/tx.go:225 +0xdc
github.com/influxdb/influxdb/tsdb/engine/bz1.(*Tx).Rollback()
<autogenerated>:21 +0x61
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Close()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:640 +0xe2
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).close()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:622 +0xcf
runtime.call32()
/tmp/workdir/go/src/runtime/asm_amd64.s:437 +0x3d
github.com/funny/sync.(*monitor).wait()
/root/go/src/github.com/funny/sync/deadlock.go:89 +0x3a5
github.com/funny/sync.(*RWMutex).RLock()
/root/go/src/github.com/funny/sync/deadlock.go:45 +0x3e
github.com/influxdb/influxdb/tsdb.(*Measurement).TagSets()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:488 +0xb0
github.com/influxdb/influxdb/tsdb.createTagSetsAndFields()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:1001 +0x7ba
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:199 +0xe13
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Goroutine 140 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
Goroutine 139 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
==================
==================
WARNING: DATA RACE
Write by goroutine 140:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:122 +0x22f
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/boltdb/bolt.(*DB).removeTx()
/root/go/src/github.com/boltdb/bolt/db.go:504 +0x53
github.com/boltdb/bolt.(*Tx).close()
/root/go/src/github.com/boltdb/bolt/tx.go:263 +0x50d
github.com/boltdb/bolt.(*Tx).rollback()
/root/go/src/github.com/boltdb/bolt/tx.go:237 +0x26f
github.com/boltdb/bolt.(*Tx).Rollback()
/root/go/src/github.com/boltdb/bolt/tx.go:225 +0xdc
github.com/influxdb/influxdb/tsdb/engine/bz1.(*Tx).Rollback()
<autogenerated>:21 +0x61
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Close()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:640 +0xe2
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).close()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:622 +0xcf
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:552 +0x2fff
Previous write by goroutine 139:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:122 +0x22f
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/boltdb/bolt.(*DB).removeTx()
/root/go/src/github.com/boltdb/bolt/db.go:504 +0x53
github.com/boltdb/bolt.(*Tx).close()
/root/go/src/github.com/boltdb/bolt/tx.go:263 +0x50d
github.com/boltdb/bolt.(*Tx).rollback()
/root/go/src/github.com/boltdb/bolt/tx.go:237 +0x26f
github.com/boltdb/bolt.(*Tx).Rollback()
/root/go/src/github.com/boltdb/bolt/tx.go:225 +0xdc
github.com/influxdb/influxdb/tsdb/engine/bz1.(*Tx).Rollback()
<autogenerated>:21 +0x61
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Close()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:640 +0xe2
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).close()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:622 +0xcf
runtime.call32()
/tmp/workdir/go/src/runtime/asm_amd64.s:437 +0x3d
github.com/funny/sync.(*monitor).wait()
/root/go/src/github.com/funny/sync/deadlock.go:89 +0x3a5
github.com/funny/sync.(*RWMutex).RLock()
/root/go/src/github.com/funny/sync/deadlock.go:45 +0x3e
github.com/influxdb/influxdb/tsdb.(*Measurement).TagSets()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:488 +0xb0
github.com/influxdb/influxdb/tsdb.createTagSetsAndFields()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:1001 +0x7ba
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:199 +0xe13
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Goroutine 140 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
Goroutine 139 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
==================
==================
WARNING: DATA RACE
Read by goroutine 140:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:122 +0x23d
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/boltdb/bolt.(*DB).removeTx()
/root/go/src/github.com/boltdb/bolt/db.go:504 +0x53
github.com/boltdb/bolt.(*Tx).close()
/root/go/src/github.com/boltdb/bolt/tx.go:263 +0x50d
github.com/boltdb/bolt.(*Tx).rollback()
/root/go/src/github.com/boltdb/bolt/tx.go:237 +0x26f
github.com/boltdb/bolt.(*Tx).Rollback()
/root/go/src/github.com/boltdb/bolt/tx.go:225 +0xdc
github.com/influxdb/influxdb/tsdb/engine/bz1.(*Tx).Rollback()
<autogenerated>:21 +0x61
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Close()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:640 +0xe2
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).close()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:622 +0xcf
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:552 +0x2fff
Previous write by goroutine 141:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:122 +0x22f
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/boltdb/bolt.(*DB).removeTx()
/root/go/src/github.com/boltdb/bolt/db.go:504 +0x53
github.com/boltdb/bolt.(*Tx).close()
/root/go/src/github.com/boltdb/bolt/tx.go:263 +0x50d
github.com/boltdb/bolt.(*Tx).rollback()
/root/go/src/github.com/boltdb/bolt/tx.go:237 +0x26f
github.com/boltdb/bolt.(*Tx).Rollback()
/root/go/src/github.com/boltdb/bolt/tx.go:225 +0xdc
github.com/influxdb/influxdb/tsdb/engine/bz1.(*Tx).Rollback()
<autogenerated>:21 +0x61
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Close()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:640 +0xe2
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).close()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:622 +0xcf
runtime.call32()
/tmp/workdir/go/src/runtime/asm_amd64.s:437 +0x3d
github.com/funny/sync.(*monitor).wait()
/root/go/src/github.com/funny/sync/deadlock.go:89 +0x3a5
github.com/funny/sync.(*RWMutex).RLock()
/root/go/src/github.com/funny/sync/deadlock.go:45 +0x3e
github.com/influxdb/influxdb/tsdb.(*Measurement).TagSets()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:488 +0xb0
github.com/influxdb/influxdb/tsdb.createTagSetsAndFields()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:1001 +0x7ba
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:199 +0xe13
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Goroutine 140 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
Goroutine 141 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
==================
==================
WARNING: DATA RACE
Write by goroutine 140:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:122 +0x2f7
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/boltdb/bolt.(*DB).removeTx()
/root/go/src/github.com/boltdb/bolt/db.go:504 +0x53
github.com/boltdb/bolt.(*Tx).close()
/root/go/src/github.com/boltdb/bolt/tx.go:263 +0x50d
github.com/boltdb/bolt.(*Tx).rollback()
/root/go/src/github.com/boltdb/bolt/tx.go:237 +0x26f
github.com/boltdb/bolt.(*Tx).Rollback()
/root/go/src/github.com/boltdb/bolt/tx.go:225 +0xdc
github.com/influxdb/influxdb/tsdb/engine/bz1.(*Tx).Rollback()
<autogenerated>:21 +0x61
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Close()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:640 +0xe2
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).close()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:622 +0xcf
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:552 +0x2fff
Previous read by goroutine 139:
github.com/funny/sync.(*monitor).release()
/root/go/src/github.com/funny/sync/deadlock.go:120 +0x406
github.com/funny/sync.(*RWMutex).RUnlock()
/root/go/src/github.com/funny/sync/deadlock.go:51 +0x3a
github.com/boltdb/bolt.(*DB).removeTx()
/root/go/src/github.com/boltdb/bolt/db.go:504 +0x53
github.com/boltdb/bolt.(*Tx).close()
/root/go/src/github.com/boltdb/bolt/tx.go:263 +0x50d
github.com/boltdb/bolt.(*Tx).rollback()
/root/go/src/github.com/boltdb/bolt/tx.go:237 +0x26f
github.com/boltdb/bolt.(*Tx).Rollback()
/root/go/src/github.com/boltdb/bolt/tx.go:225 +0xdc
github.com/influxdb/influxdb/tsdb/engine/bz1.(*Tx).Rollback()
<autogenerated>:21 +0x61
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Close()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:640 +0xe2
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).close()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:622 +0xcf
runtime.call32()
/tmp/workdir/go/src/runtime/asm_amd64.s:437 +0x3d
github.com/funny/sync.(*monitor).wait()
/root/go/src/github.com/funny/sync/deadlock.go:89 +0x3a5
github.com/funny/sync.(*RWMutex).RLock()
/root/go/src/github.com/funny/sync/deadlock.go:45 +0x3e
github.com/influxdb/influxdb/tsdb.(*Measurement).TagSets()
/root/go/src/github.com/influxdb/influxdb/tsdb/meta.go:488 +0xb0
github.com/influxdb/influxdb/tsdb.createTagSetsAndFields()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:1001 +0x7ba
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:199 +0xe13
github.com/influxdb/influxdb/tsdb.(*SelectMapper).Open()
/root/go/src/github.com/influxdb/influxdb/tsdb/mapper.go:298 +0x207
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).executeAggregate()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:404 +0x462
Goroutine 140 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
Goroutine 139 (running) created at:
github.com/influxdb/influxdb/tsdb.(*SelectExecutor).Execute()
/root/go/src/github.com/influxdb/influxdb/tsdb/executor.go:96 +0x155
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).executeSelectStatement()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:281 +0xc4
github.com/influxdb/influxdb/tsdb.(*QueryExecutor).ExecuteQuery.func1()
/root/go/src/github.com/influxdb/influxdb/tsdb/query_executor.go:159 +0x99e
==================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment