{"action":"created","issue":{"url":"https://api.github.com/repos/blevesearch/bleve/issues/184","labels_url":"https://api.github.com/repos/blevesearch/bleve/issues/184/labels{/name}","comments_url":"https://api.github.com/repos/blevesearch/bleve/issues/184/comments","events_url":"https://api.github.com/repos/blevesearch/bleve/issues/184/events","html_url":"https://github.com/blevesearch/bleve/issues/184","id":66247781,"number":184,"title":"metrics-related BytesSafeAfterClose() infinite loop","user":{"login":"steveyen","id":30640,"avatar_url":"https://avatars.githubusercontent.com/u/30640?v=3","gravatar_id":"","url":"https://api.github.com/users/steveyen","html_url":"https://github.com/steveyen","followers_url":"https://api.github.com/users/steveyen/followers","following_url":"https://api.github.com/users/steveyen/following{/other_user}","gists_url":"https://api.github.com/users/steveyen/gists{/gist_id}","starred_url":"https://api.github.com/users/steveyen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steveyen/subscriptions","organizations_url":"https://api.github.com/users/steveyen/orgs","repos_url":"https://api.github.com/users/steveyen/repos","events_url":"https://api.github.com/users/steveyen/events{/privacy}","received_events_url":"https://api.github.com/users/steveyen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-03T23:29:18Z","updated_at":"2015-04-03T23:44:36Z","closed_at":null,"body":"Using bleve with the recent BytesSafeAfterClose() optimization (commit 11262c793f1d), and with the bleve metrics KVStore wrapper (around leveldb), I somehow got an infinite loop.\r\n\r\nbtw, I was playing around with field based boosting search, like \"title:PR-2341^\" when the infinite loop happened... not sure if that's related.\r\n\r\nUnfortunately, goroutine stack dump seems to have elided the most interesting stack frames, but here it is anyways...\r\n\r\nruntime: goroutine stack exceeds 1000000000-byte limit\r\nfatal error: stack overflow\r\n\r\nruntime stack:\r\nruntime.throw(0x4a765b9)\r\n\t/usr/local/go/src/runtime/panic.go:491 +0xad\r\nruntime.newstack()\r\n\t/usr/local/go/src/runtime/stack.c:784 +0x555\r\nruntime.morestack()\r\n\t/usr/local/go/src/runtime/asm_amd64.s:324 +0x7e\r\n\r\ngoroutine 178 [stack growth]:\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:160 fp=0xc275d50208 sp=0xc275d50200\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d50220 sp=0xc275d50208\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d50238 sp=0xc275d50220\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d50250 sp=0xc275d50238\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d50268 sp=0xc275d50250\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d50280 sp=0xc275d50268\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d50298 sp=0xc275d50280\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d502b0 sp=0xc275d50298\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d502c8 sp=0xc275d502b0\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d502e0 sp=0xc275d502c8\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d502f8 sp=0xc275d502e0\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d50310 sp=0xc275d502f8\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d50328 sp=0xc275d50310\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d50340 sp=0xc275d50328\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d50358 sp=0xc275d50340\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d50370 sp=0xc275d50358\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d50388 sp=0xc275d50370\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d503a0 sp=0xc275d50388\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d503b8 sp=0xc275d503a0\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d503d0 sp=0xc275d503b8\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d503e8 sp=0xc275d503d0\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d50400 sp=0xc275d503e8\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d50418 sp=0xc275d50400\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d50430 sp=0xc275d50418\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d50448 sp=0xc275d50430\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d50460 sp=0xc275d50448\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d50478 sp=0xc275d50460\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d50490 sp=0xc275d50478\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d504a8 sp=0xc275d50490\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d504c0 sp=0xc275d504a8\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d504d8 sp=0xc275d504c0\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d504f0 sp=0xc275d504d8\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d50508 sp=0xc275d504f0\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d50520 sp=0xc275d50508\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d50538 sp=0xc275d50520\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d50550 sp=0xc275d50538\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d50568 sp=0xc275d50550\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d50580 sp=0xc275d50568\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d50598 sp=0xc275d50580\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d505b0 sp=0xc275d50598\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d505c8 sp=0xc275d505b0\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d505e0 sp=0xc275d505c8\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d505f8 sp=0xc275d505e0\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d50610 sp=0xc275d505f8\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d50628 sp=0xc275d50610\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d50640 sp=0xc275d50628\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d50658 sp=0xc275d50640\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d50670 sp=0xc275d50658\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d50688 sp=0xc275d50670\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d506a0 sp=0xc275d50688\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d506b8 sp=0xc275d506a0\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d506d0 sp=0xc275d506b8\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d506e8 sp=0xc275d506d0\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d50700 sp=0xc275d506e8\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d50718 sp=0xc275d50700\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d50730 sp=0xc275d50718\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d50748 sp=0xc275d50730\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d50760 sp=0xc275d50748\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d50778 sp=0xc275d50760\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d50790 sp=0xc275d50778\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d507a8 sp=0xc275d50790\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d507c0 sp=0xc275d507a8\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d507d8 sp=0xc275d507c0\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d507f0 sp=0xc275d507d8\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d50808 sp=0xc275d507f0\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d50820 sp=0xc275d50808\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d50838 sp=0xc275d50820\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d50850 sp=0xc275d50838\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d50868 sp=0xc275d50850\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d50880 sp=0xc275d50868\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d50898 sp=0xc275d50880\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d508b0 sp=0xc275d50898\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d508c8 sp=0xc275d508b0\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d508e0 sp=0xc275d508c8\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d508f8 sp=0xc275d508e0\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d50910 sp=0xc275d508f8\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d50928 sp=0xc275d50910\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d50940 sp=0xc275d50928\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d50958 sp=0xc275d50940\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d50970 sp=0xc275d50958\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d50988 sp=0xc275d50970\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d509a0 sp=0xc275d50988\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d509b8 sp=0xc275d509a0\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d509d0 sp=0xc275d509b8\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d509e8 sp=0xc275d509d0\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d50a00 sp=0xc275d509e8\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d50a18 sp=0xc275d50a00\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d50a30 sp=0xc275d50a18\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d50a48 sp=0xc275d50a30\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d50a60 sp=0xc275d50a48\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d50a78 sp=0xc275d50a60\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d50a90 sp=0xc275d50a78\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d50aa8 sp=0xc275d50a90\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d50ac0 sp=0xc275d50aa8\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d50ad8 sp=0xc275d50ac0\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d50af0 sp=0xc275d50ad8\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d50b08 sp=0xc275d50af0\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d50b20 sp=0xc275d50b08\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d50b38 sp=0xc275d50b20\r\ngithub.com/blevesearch/bleve/index/store/metrics.(*Reader).BytesSafeAfterClose(0xc24092f040, 0x0)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/store/metrics/metrics.go:161 +0x28 fp=0xc275d50b50 sp=0xc275d50b38\r\n...additional frames elided...\r\ncreated by net/http.(*Server).Serve\r\n\t/usr/local/go/src/net/http/server.go:1751 +0x35e\r\n\r\ngoroutine 1 [IO wait]:\r\nnet.(*pollDesc).Wait(0xc2081884c0, 0x72, 0x0, 0x0)\r\n\t/usr/local/go/src/net/fd_poll_runtime.go:84 +0x47\r\nnet.(*pollDesc).WaitRead(0xc2081884c0, 0x0, 0x0)\r\n\t/usr/local/go/src/net/fd_poll_runtime.go:89 +0x43\r\nnet.(*netFD).accept(0xc208188460, 0x0, 0x4e11f88, 0xc23f6404b8)\r\n\t/usr/local/go/src/net/fd_unix.go:419 +0x40b\r\nnet.(*TCPListener).AcceptTCP(0xc20802c0c0, 0x40a211e, 0x0, 0x0)\r\n\t/usr/local/go/src/net/tcpsock_posix.go:234 +0x4e\r\nnet/http.tcpKeepAliveListener.Accept(0xc20802c0c0, 0x0, 0x0, 0x0, 0x0)\r\n\t/usr/local/go/src/net/http/server.go:1976 +0x4c\r\nnet/http.(*Server).Serve(0xc20806b800, 0x4e15a00, 0xc20802c0c0, 0x0, 0x0)\r\n\t/usr/local/go/src/net/http/server.go:1728 +0x92\r\nnet/http.(*Server).ListenAndServe(0xc20806b800, 0x0, 0x0)\r\n\t/usr/local/go/src/net/http/server.go:1718 +0x154\r\nnet/http.ListenAndServe(0x7fff5fbffa15, 0xe, 0x0, 0x0, 0x0, 0x0)\r\n\t/usr/local/go/src/net/http/server.go:1808 +0xba\r\nmain.main()\r\n\t/Users/steveyen/go/src/github.com/couchbaselabs/cbft/cmd/cbft/main.go:121 +0xb92\r\n\r\ngoroutine 17 [syscall, 45 minutes, locked to thread]:\r\nruntime.goexit()\r\n\t/usr/local/go/src/runtime/asm_amd64.s:2232 +0x1\r\n\r\ngoroutine 5 [chan receive, 40 minutes]:\r\ngithub.com/blevesearch/bleve/index/upside_down.AnalysisWorker(0xc20806a000)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/upside_down/analysis_pool.go:40 +0x73\r\ncreated by github.com/blevesearch/bleve/index/upside_down.NewAnalysisQueue\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/upside_down/analysis_pool.go:32 +0x66\r\n\r\ngoroutine 6 [chan receive, 40 minutes]:\r\ngithub.com/blevesearch/bleve/index/upside_down.AnalysisWorker(0xc20806a000)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/upside_down/analysis_pool.go:40 +0x73\r\ncreated by github.com/blevesearch/bleve/index/upside_down.NewAnalysisQueue\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/upside_down/analysis_pool.go:32 +0x66\r\n\r\ngoroutine 7 [chan receive, 40 minutes]:\r\ngithub.com/blevesearch/bleve/index/upside_down.AnalysisWorker(0xc20806a000)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/upside_down/analysis_pool.go:40 +0x73\r\ncreated by github.com/blevesearch/bleve/index/upside_down.NewAnalysisQueue\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/upside_down/analysis_pool.go:32 +0x66\r\n\r\ngoroutine 8 [chan receive, 40 minutes]:\r\ngithub.com/blevesearch/bleve/index/upside_down.AnalysisWorker(0xc20806a000)\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/upside_down/analysis_pool.go:40 +0x73\r\ncreated by github.com/blevesearch/bleve/index/upside_down.NewAnalysisQueue\r\n\t/Users/steveyen/go/src/github.com/blevesearch/bleve/index/upside_down/analysis_pool.go:32 +0x66\r\n\r\ngoroutine 10 [syscall, 45 minutes]:\r\nos/signal.loop()\r\n\t/usr/local/go/src/os/signal/signal_unix.go:21 +0x1f\r\ncreated by os/signal.init·1\r\n\t/usr/local/go/src/os/signal/signal_unix.go:27 +0x35\r\n\r\ngoroutine 12 [chan receive, 45 minutes]:\r\nmain.dumpOnSignal(0xc2080b3fb0, 0x1, 0x1)\r\n\t/Users/steveyen/go/src/github.com/couchbaselabs/cbft/cmd/cbft/main.go:210 +0xa7\r\nmain.dumpOnSignalForPlatform()\r\n\t/Users/steveyen/go/src/github.com/couchbaselabs/cbft/cmd/cbft/dump.go:22 +0xe3\r\ncreated by main.main\r\n\t/Users/steveyen/go/src/github.com/couchbaselabs/cbft/cmd/cbft/main.go:83 +0x26c\r\n\r\ngoroutine 16 [chan receive, 45 minutes]:\r\ngithub.com/couchbase/go-couchbase/cbdatasource.(*bucketDataSource).refreshCluster(0xc2080a4d80, 0xc20801cfc8)\r\n\t/Users/steveyen/go/src/github.com/couchbase/go-couchbase/cbdatasource/cbdatasource.go:527 +0x9ab\r\ngithub.com/couchbase/go-couchbase/cbdatasource.func·001(0xc20801cf30)\r\n\t/Users/steveyen/go/src/github.com/couchbase/go-couchbase/cbdatasource/cbdatasource.go:454 +0x2a\r\ngithub.com/couchbase/go-couchbase/cbdatasource.ExponentialBackoffLoop(0x4777d70, 0x1b, 0xc2080177c8, 0x64, 0xc23fc00000, 0x4e20)\r\n\t/Users/steveyen/go/src/github.com/couchbase/go-couchbase/cbdatasource/cbdatasource.go:1545 +0x2e\r\ngithub.com/couchbase/go-couchbase/cbdatasource.func·002()\r\n\t/Users/steveyen/go/src/github.com/couchbase/go-couchbase/cbdatasource/cbdatasource.go:455 +0xbd\r\ncreated by github.com/couchbase/go-couchbase/cbdatasource.(*bucketDataSource).Start\r\n\t/Users/steveyen/go/src/github.com/couchbase/go-couchbase/cbdatasource/cbdatasource.go:460 +0x3f0\r\n\r\ngoroutine 18 [chan receive, 45 minutes]:\r\ngithub.com/couchbase/go-couchbase/cbdatasource.(*bucketDataSource).refreshWorkers(0xc2080a4d80)\r\n\t/Users/steveyen/go/src/github.com/couchbase/go-couchbase/cbdatasource/cbdatasource.go:563 +0xa1\r\ncreated by github.com/couchbase/go-couchbase/cbdatasource.(*bucketDataSource).Start\r\n\t/Users/steveyen/go/src/github.com/couchbase/go-couchbase/cbdatasource/cbdatasource.go:462 +0x40d\r\n\r\ngoroutine 45 [select, 45 minutes]:\r\ngithub.com/couchbase/go-couchbase/cbdatasource.(*bucketDataSource).worker(0xc208200000, 0xc208115a60, 0xf, 0xc2081491a0, 0x0)\r\n\t/Users/steveyen/go/src/github.com/couchbase/go-couchbase/cbdatasource/cbdatasource.go:936 +0x157f\r\ngithub.com/couchbase/go-couchbase/cbdatasource.func·003(0x2)\r\n\t/Users/steveyen/go/src/github.com/couchbase/go-couchbase/cbdatasource/cbdatasource.go:681 +0x44\r\ngithub.com/couchbase/go-couchbase/cbdatasource.ExponentialBackoffLoop(0xc20808b5c0, 0x23, 0xc20804efb8, 0x64, 0xc23fc00000, 0x4e20)\r\n\t/Users/steveyen/go/src/github.com/couchbase/go-couchbase/cbdatasource/cbdatasource.go:1545 +0x2e\r\ngithub.com/couchbase/go-couchbase/cbdatasource.func·004()\r\n\t/Users/steveyen/go/src/github.com/couchbase/go-couchbase/cbdatasource/cbdatasource.go:682 +0x185\r\ncreated by github.com/couchbase/go-couchbase/cbdatasource.(*bucketDataSource).workerStart\r\n\t/Users/steveyen/go/src/github.com/couchbase/go-couchbase/cbdatasource/cbdatasource.go:685 +0x270\r\n\r\ngoroutine 24 [chan receive, 45 minutes]:\r\ngithub.com/couchbaselabs/cbft.(*Manager).PlannerLoop(0xc208090fc0)\r\n\t/Users/steveyen/go/src/github.com/couchbaselabs/cbft/manager_planner.go:62 +0xe8\r\ncreated by github.com/couchbaselabs/cbft.(*Manager).Start\r\n\t/Users/steveyen/go/src/github.com/couchbaselabs/cbft/manager.go:139 +0x388\r\n\r\ngoroutine 21 [select, 45 minutes]:\r\ngithub.com/couchbase/go-couchbase/cbdatasource.(*bucketDataSource).worker(0xc2080a4d80, 0xc20813e970, 0xf, 0xc20806ba40, 0x0)\r\n\t/Users/steveyen/go/src/github.com/couchbase/go-couchbase/cbdatasource/cbdatasource.go:936 +0x157f\r\ngithub.com/couchbase/go-couchbase/cbdatasource.func·003(0x2)\r\n\t/Users/steveyen/go/src/github.com/couchbase/go-couchbase/cbdatasource/cbdatasource.go:681 +0x44\r\ngithub.com/couchbase/go-couchbase/cbdatasource.ExponentialBackoffLoop(0xc20811fc50, 0x23, 0xc20804ffb8, 0x64, 0xc23fc00000, 0x4e20)\r\n\t/Users/steveyen/go/src/github.com/couchbase/go-couchbase/cbdatasource/cbdatasource.go:1545 +0x2e\r\ngithub.com/couchbase/go-couchbase/cbdatasource.func·004()\r\n\t/Users/steveyen/go/src/github.com/couchbase/go-couchbase/cbdatasource/cbdatasource.go:682 +0x185\r\ncreated by github.com/couchbase/go-couchbase/cbdatasource.(*bucketDataSource).workerStart\r\n\t/Users/steveyen/go/src/github.com/couchbase/go-couchbase/cbdatasource/cbdatasource.go:685 +0x270\r\n\r\ngoroutine 26 [chan receive, 45 minutes]:\r\ngithub.com/couchbaselabs/cbft.(*Manager).JanitorLoop(0xc208090fc0)\r\n\t/Users/steveyen/go/src/github.com/couchbaselabs/cbft/manager_janitor.go:63 +0xe8\r\ncreated by github.com/couchbaselabs/cbft.(*Manager).Start\r\n\t/Users/steveyen/go/src/github.com/couchbaselabs/cbft/manager.go:144 +0x251\r\n\r\ngoroutine 28 [chan receive, 45 minutes]:\r\ngithub.com/couchbaselabs/cbft.func·020()\r\n\t/Users/steveyen/go/src/github.com/couchbaselabs/cbft/manager.go:152 +0xd3\r\ncreated by github.com/couchbaselabs/cbft.(*Manager).Start\r\n\t/Users/steveyen/go/src/github.com/couchbaselabs/cbft/manager.go:155 +0x2e7\r\n\r\ngoroutine 29 [chan receive, 45 minutes]:\r\ngithub.com/couchbaselabs/cbft.func·021()\r\n\t/Users/steveyen/go/src/github.com/couchbaselabs/cbft/manager.go:159 +0xd3\r\ncreated by github.com/couchbaselabs/cbft.(*Manager).Start\r\n\t/Users/steveyen/go/src/github.com/couchbaselabs/cbft/manager.go:162 +0x339\r\n\r\ngoroutine 30 [chan receive, 45 minutes]:\r\ngithub.com/couchbaselabs/cbft.func·024()\r\n\t/Users/steveyen/go/src/github.com/couchbaselabs/cbft/manager_planner.go:55 +0x192\r\ncreated by github.com/couchbaselabs/cbft.(*Manager).PlannerLoop\r\n\t/Users/steveyen/go/src/github.com/couchbaselabs/cbft/manager_planner.go:59 +0xa5\r\n\r\ngoroutine 31 [chan receive, 45 minutes]:\r\ngithub.com/couchbaselabs/cbft.func·022()\r\n\t/Users/steveyen/go/src/github.com/couchbaselabs/cbft/manager_janitor.go:56 +0x192\r\ncreated by github.com/couchbaselabs/cbft.(*Manager).JanitorLoop\r\n\t/Users/steveyen/go/src/github.com/couchbaselabs/cbft/manager_janitor.go:60 +0xa5\r\n\r\ngoroutine 32 [chan receive, 45 minutes]:\r\ngithub.com/couchbase/go-couchbase/cbdatasource.func·006()\r\n\t/Users/steveyen/go/src/github.com/couchbase/go-couchbase/cbdatasource/cbdatasource.go:778 +0xd1\r\ncreated by github.com/couchbase/go-couchbase/cbdatasource.(*bucketDataSource).worker\r\n\t/Users/steveyen/go/src/github.com/couchbase/go-couchbase/cbdatasource/cbdatasource.go:789 +0xf67\r\n\r\ngoroutine 33 [IO wait, 45 minutes]:\r\nnet.(*pollDesc).Wait(0xc2080119c0, 0x72, 0x0, 0x0)\r\n\t/usr/local/go/src/net/fd_poll_runtime.go:84 +0x47\r\nnet.(*pollDesc).WaitRead(0xc2080119c0, 0x0, 0x0)\r\n\t/usr/local/go/src/net/fd_poll_runtime.go:89 +0x43\r\nnet.(*netFD).Read(0xc208011960, 0xc20813d200, 0x18, 0x18, 0x0, 0x4e11f88, 0xc2082072f0)\r\n\t/usr/local/go/src/net/fd_unix.go:242 +0x40f\r\nnet.(*conn).Read(0xc20802c1a8, 0xc20813d200, 0x18, 0x18, 0x0, 0x0, 0x0)\r\n\t/usr/local/go/src/net/net.go:121 +0xdc\r\nio.ReadAtLeast(0x4e13a40, 0xc20802c1a8, 0xc20813d200, 0x18, 0x18, 0x18, 0x0, 0x0, 0x0)\r\n\t/usr/local/go/src/io/io.go:298 +0xf1\r\nio.ReadFull(0x4e13a40, 0xc20802c1a8, 0xc20813d200, 0x18, 0x18, 0x46331a0, 0x0, 0x0)\r\n\t/usr/local/go/src/io/io.go:316 +0x6d\r\ngithub.com/couchbase/gomemcached.(*MCRequest).Receive(0xc208148540, 0x4e13a40, 0xc20802c1a8, 0xc20813d200, 0x18, 0x18, 0xc208148540, 0x0, 0x0)\r\n\t/Users/steveyen/go/src/github.com/couchbase/gomemcached/mc_req.go:130 +0xee\r\ngithub.com/couchbase/go-couchbase/cbdatasource.func·007()\r\n\t/Users/steveyen/go/src/github.com/couchbase/go-couchbase/cbdatasource/cbdatasource.go:808 +0x239\r\ncreated by github.com/couchbase/go-couchbase/cbdatasource.(*bucketDataSource).worker\r\n\t/Users/steveyen/go/src/github.com/couchbase/go-couchbase/cbdatasource/cbdatasource.go:930 +0x10c2\r\n\r\ngoroutine 35 [chan receive]:\r\ngithub.com/rcrowley/go-metrics.(*meterArbiter).tick(0x4b3ba40)\r\n\t/Users/steveyen/go/src/github.com/rcrowley/go-metrics/meter.go:221 +0x52\r\ncreated by github.com/rcrowley/go-metrics.NewMeter\r\n\t/Users/steveyen/go/src/github.com/rcrowley/go-metrics/meter.go:40 +0x1f7\r\n\r\ngoroutine 36 [chan receive, 45 minutes]:\r\ngithub.com/couchbase/go-couchbase/cbdatasource.(*bucketDataSource).refreshCluster(0xc208200000, 0xc20801cfc8)\r\n\t/Users/steveyen/go/src/github.com/couchbase/go-couchbase/cbdatasource/cbdatasource.go:527 +0x9ab\r\ngithub.com/couchbase/go-couchbase/cbdatasource.func·001(0xc20801cf30)\r\n\t/Users/steveyen/go/src/github.com/couchbase/go-couchbase/cbdatasource/cbdatasource.go:454 +0x2a\r\ngithub.com/couchbase/go-couchbase/cbdatasource.ExponentialBackoffLoop(0x4777d70, 0x1b, 0xc208016fc8, 0x64, 0xc23fc00000, 0x4e20)\r\n\t/Users/steveyen/go/src/github.com/couchbase/go-couchbase/cbdatasource/cbdatasource.go:1545 +0x2e\r\ngithub.com/couchbase/go-couchbase/cbdatasource.func·002()\r\n\t/Users/steveyen/go/src/github.com/couchbase/go-couchbase/cbdatasource/cbdatasource.go:455 +0xbd\r\ncreated by github.com/couchbase/go-couchbase/cbdatasource.(*bucketDataSource).Start\r\n\t/Users/steveyen/go/src/github.com/couchbase/go-couchbase/cbdatasource/cbdatasource.go:460 +0x3f0\r\n\r\ngoroutine 37 [chan receive, 45 minutes]:\r\ngithub.com/couchbase/go-couchbase/cbdatasource.(*bucketDataSource).refreshWorkers(0xc208200000)\r\n\t/Users/steveyen/go/src/github.com/couchbase/go-couchbase/cbdatasource/cbdatasource.go:563 +0xa1\r\ncreated by github.com/couchbase/go-couchbase/cbdatasource.(*bucketDataSource).Start\r\n\t/Users/steveyen/go/src/github.com/couchbase/go-couchbase/cbdatasource/cbdatasource.go:462 +0x40d\r\n\r\ngoroutine 52 [IO wait]:\r\nnet.(*pollDesc).Wait(0xc20bb13410, 0x72, 0x0, 0x0)\r\n\t/usr/local/go/src/net/fd_poll_runtime.go:84 +0x47\r\nnet.(*pollDesc).WaitRead(0xc20bb13410, 0x0, 0x0)\r\n\t/usr/local/go/src/net/fd_poll_runtime.go:89 +0x43\r\nnet.(*netFD).Read(0xc20bb133b0, 0xc20bc7f000, 0x1000, 0x1000, 0x0, 0x4e11f88, 0xc23f13c720)\r\n\t/usr/local/go/src/net/fd_unix.go:242 +0x40f\r\nnet.(*conn).Read(0xc20bd50748, 0xc20bc7f000, 0x1000, 0x1000, 0x0, 0x0, 0x0)\r\n\t/usr/local/go/src/net/net.go:121 +0xdc\r\nnet/http.(*liveSwitchReader).Read(0xc20ba03948, 0xc20bc7f000, 0x1000, 0x1000, 0x3, 0x0, 0x0)\r\n\t/usr/local/go/src/net/http/server.go:214 +0xab\r\nio.(*LimitedReader).Read(0xc20bd6b360, 0xc20bc7f000, 0x1000, 0x1000, 0x1, 0x0, 0x0)\r\n\t/usr/local/go/src/io/io.go:408 +0xce\r\nbufio.(*Reader).fill(0xc20bd7d0e0)\r\n\t/usr/local/go/src/bufio/bufio.go:97 +0x1ce\r\nbufio.(*Reader).ReadSlice(0xc20bd7d0e0, 0x409e30a, 0x0, 0x0, 0x0, 0x0, 0x0)\r\n\t/usr/local/go/src/bufio/bufio.go:295 +0x257\r\nbufio.(*Reader).ReadLine(0xc20bd7d0e0, 0x0, 0x0, 0x0, 0xc20bb3c500, 0x0, 0x0)\r\n\t/usr/local/go/src/bufio/bufio.go:324 +0x62\r\nnet/textproto.(*Reader).readLineSlice(0xc251e522a0, 0x0, 0x0, 0x0, 0x0, 0x0)\r\n\t/usr/local/go/src/net/textproto/reader.go:55 +0x9e\r\nnet/textproto.(*Reader).ReadLine(0xc251e522a0, 0x0, 0x0, 0x0, 0x0)\r\n\t/usr/local/go/src/net/textproto/reader.go:36 +0x4f\r\nnet/http.ReadRequest(0xc20bd7d0e0, 0xc20bb3d110, 0x0, 0x0)\r\n\t/usr/local/go/src/net/http/request.go:598 +0xcb\r\nnet/http.(*conn).readRequest(0xc20ba03900, 0x0, 0x0, 0x0)\r\n\t/usr/local/go/src/net/http/server.go:586 +0x26f\r\nnet/http.(*conn).serve(0xc20ba03900)\r\n\t/usr/local/go/src/net/http/server.go:1162 +0x69e\r\ncreated by net/http.(*Server).Serve\r\n\t/usr/local/go/src/net/http/server.go:1751 +0x35e\r\n\r\ngoroutine 47 [IO wait, 38 minutes]:\r\nnet.(*pollDesc).Wait(0xc2081325a0, 0x72, 0x0, 0x0)\r\n\t/usr/local/go/src/net/fd_poll_runtime.go:84 +0x47\r\nnet.(*pollDesc).WaitRead(0xc2081325a0, 0x0, 0x0)\r\n\t/usr/local/go/src/net/fd_poll_runtime.go:89 +0x43\r\nnet.(*netFD).Read(0xc208132540, 0xc2082c7760, 0x18, 0x18, 0x0, 0x4e11f88, 0xc221974d10)\r\n\t/usr/local/go/src/net/fd_unix.go:242 +0x40f\r\nnet.(*conn).Read(0xc20802c6b0, 0xc2082c7760, 0x18, 0x18, 0x0, 0x0, 0x0)\r\n\t/usr/local/go/src/net/net.go:121 +0xdc\r\nio.ReadAtLeast(0x4e13a40, 0xc20802c6b0, 0xc2082c7760, 0x18, 0x18, 0x18, 0x0, 0x0, 0x0)\r\n\t/usr/local/go/src/io/io.go:298 +0xf1\r\nio.ReadFull(0x4e13a40, 0xc20802c6b0, 0xc2082c7760, 0x18, 0x18, 0x402d2b9, 0x0, 0x0)\r\n\t/usr/local/go/src/io/io.go:316 +0x6d\r\ngithub.com/couchbase/gomemcached.(*MCRequest).Receive(0xc2081497a0, 0x4e13a40, 0xc20802c6b0, 0xc2082c7760, 0x18, 0x18, 0xc2081497a0, 0x0, 0x0)\r\n\t/Users/steveyen/go/src/github.com/couchbase/gomemcached/mc_req.go:130 +0xee\r\ngithub.com/couchbase/go-couchbase/cbdatasource.func·007()\r\n\t/Users/steveyen/go/src/github.com/couchbase/go-couchbase/cbdatasource/cbdatasource.go:808 +0x239\r\ncreated by github.com/couchbase/go-couchbase/cbdatasource.(*bucketDataSource).worker\r\n\t/Users/steveyen/go/src/github.com/couchbase/go-couchbase/cbdatasource/cbdatasource.go:930 +0x10c2\r\n\r\ngoroutine 46 [chan receive, 45 minutes]:\r\ngithub.com/couchbase/go-couchbase/cbdatasource.func·006()\r\n\t/Users/steveyen/go/src/github.com/couchbase/go-couchbase/cbdatasource/cbdatasource.go:778 +0xd1\r\ncreated by github.com/couchbase/go-couchbase/cbdatasource.(*bucketDataSource).worker\r\n\t/Users/steveyen/go/src/github.com/couchbase/go-couchbase/cbdatasource/cbdatasource.go:789 +0xf67\r\n"},"comment":{"url":"https://api.github.com/repos/blevesearch/bleve/issues/comments/89458430","html_url":"https://github.com/blevesearch/bleve/issues/184#issuecomment-89458430","issue_url":"https://api.github.com/repos/blevesearch/bleve/issues/184","id":89458430,"user":{"login":"mschoch","id":298143,"avatar_url":"https://avatars.githubusercontent.com/u/298143?v=3","gravatar_id":"","url":"https://api.github.com/users/mschoch","html_url":"https://github.com/mschoch","followers_url":"https://api.github.com/users/mschoch/followers","following_url":"https://api.github.com/users/mschoch/following{/other_user}","gists_url":"https://api.github.com/users/mschoch/gists{/gist_id}","starred_url":"https://api.github.com/users/mschoch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mschoch/subscriptions","organizations_url":"https://api.github.com/users/mschoch/orgs","repos_url":"https://api.github.com/users/mschoch/repos","events_url":"https://api.github.com/users/mschoch/events{/privacy}","received_events_url":"https://api.github.com/users/mschoch/received_events","type":"User","site_admin":false},"created_at":"2015-04-03T23:44:35Z","updated_at":"2015-04-03T23:44:35Z","body":"Looks like I made same mistake here: https://github.com/blevesearch/bleve/blob/efc39a68579142ba129a73b1ed627cd52b4176d8/index/store/metrics/metrics.go#L190"}}