Skip to content

close on closed channel #524

@campoy

Description

@campoy

Currently running on a new issue, I assume due to the latest version of pilosa?

These are the logs

~/go/bin/gitbase server -v -d siva --host 0.0.0.0
DEBU[0000] registered database to catalog                db=
DEBU[0000] registered all available functions in catalog 
DEBU[0000] created index storage                        
DEBU[0000] registered pilosa index driver               
INFO[0000] squash tables rule is enabled                
panic: close of closed channel
goroutine 1 [running]:
github.com/src-d/gitbase/vendor/github.com/pilosa/pilosa.(*Holder).Open(0xc0002e19a0, 0x0, 0x0)
        /home/francesc/go/src/github.com/src-d/gitbase/vendor/github.com/pilosa/pilosa/holder.go:153 +0x2f1
github.com/src-d/gitbase/vendor/gopkg.in/src-d/go-mysql-server.v0/sql/index/pilosa.(*Driver).LoadAll(0xc0003ad580, 0x0, 0x0, 0x1139e66, 0xb, 0x0, 0x0, 0x0, 0x0, 0x0)
        /home/francesc/go/src/github.com/src-d/gitbase/vendor/gopkg.in/src-d/go-mysql-server.v0/sql/index/pilosa/driver.go:155 +0x264
github.com/src-d/gitbase/vendor/gopkg.in/src-d/go-mysql-server.v0/sql.(*IndexRegistry).LoadIndexes(0xc0002e1720, 0xc0002c8d50, 0x1, 0x1, 0x0, 0x0)
        /home/francesc/go/src/github.com/src-d/gitbase/vendor/gopkg.in/src-d/go-mysql-server.v0/sql/index.go:215 +0x39d
github.com/src-d/gitbase/vendor/gopkg.in/src-d/go-mysql-server%2ev0.(*Engine).Init(0xc0002c8d40, 0x1, 0x1)
        /home/francesc/go/src/github.com/src-d/gitbase/vendor/gopkg.in/src-d/go-mysql-server.v0/engine.go:99 +0x4c
github.com/src-d/gitbase/cmd/gitbase/command.(*Server).buildDatabase(0xc0001d0fd0, 0x0, 0x0)
        /home/francesc/go/src/github.com/src-d/gitbase/cmd/gitbase/command/server.go:201 +0x2b4
github.com/src-d/gitbase/cmd/gitbase/command.(*Server).Execute(0xc0001d0fd0, 0xc00015d320, 0x0, 0x6, 0x0, 0x0)
        /home/francesc/go/src/github.com/src-d/gitbase/cmd/gitbase/command/server.go:108 +0x60
github.com/src-d/gitbase/vendor/github.com/jessevdk/go-flags.(*Parser).ParseArgs(0xc00015d2c0, 0xc000194010, 0x6, 0x6, 0xc0002c8c20, 0x1, 0x2, 0xc000280510, 0xc000234500)
        /home/francesc/go/src/github.com/src-d/gitbase/vendor/github.com/jessevdk/go-flags/parser.go:316 +0x800
github.com/src-d/gitbase/vendor/github.com/jessevdk/go-flags.(*Parser).Parse(0xc00015d2c0, 0x1100a43, 0x7, 0x11c7713, 0x1c, 0x11c7713)
        /home/francesc/go/src/github.com/src-d/gitbase/vendor/github.com/jessevdk/go-flags/parser.go:186 +0x71
main.main()
        /home/francesc/go/src/github.com/src-d/gitbase/cmd/gitbase/main.go:51 +0x39d

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions