Skip to content

testrace error: closing closed channel in multiraft.(*state).handleWriteResponse #307

@tbg

Description

@tbg

relevant bit, from local make testrace output (on my feature branch, but I think it's independent)

panic: close of closed channel
goroutine 229 [running]:
github.com/cockroachdb/cockroach/multiraft.(*state).handleWriteResponse(0xc2083a3b90, 0xc208044ad8, 0xc2085128d0)
        /home/tobias/Code/Go/src/github.com/cockroachdb/cockroach/multiraft/multiraft.go:706 +0x878
github.com/cockroachdb/cockroach/multiraft.(*state).start(0xc2083a3b90)
        /home/tobias/Code/Go/src/github.com/cockroachdb/cockroach/multiraft/multiraft.go:454 +0x1c35
created by github.com/cockroachdb/cockroach/multiraft.(*MultiRaft).Start
        /home/tobias/Code/Go/src/github.com/cockroachdb/cockroach/multiraft/multiraft.go:147 +0x60

full text here

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions