Skip to content

Instantly share code, notes, and snippets.

@dgnorton
Created July 22, 2015 23:44
Show Gist options
  • Save dgnorton/c11e59fecf2bcf367e76 to your computer and use it in GitHub Desktop.
Save dgnorton/c11e59fecf2bcf367e76 to your computer and use it in GitHub Desktop.
==================
WARNING: DATA RACE
Read by goroutine 16:
math/rand.(*rngSource).Int63()
/usr/local/go/src/math/rand/rng.go:233 +0x36
math/rand.(*Rand).Int63()
/usr/local/go/src/math/rand/rand.go:43 +0x5b
github.com/hashicorp/raft.randomTimeout()
/home/ubuntu/influxdb-build/src/github.com/hashicorp/raft/util.go:33 +0x65
github.com/hashicorp/raft.(*Raft).runSnapshots()
/home/ubuntu/influxdb-build/src/github.com/hashicorp/raft/raft.go:1595 +0x7e
github.com/hashicorp/raft.*Raft.(github.com/hashicorp/raft.runSnapshots)·fm()
/home/ubuntu/influxdb-build/src/github.com/hashicorp/raft/raft.go:243 +0x34
github.com/hashicorp/raft.func·011()
/home/ubuntu/influxdb-build/src/github.com/hashicorp/raft/state.go:152 +0x7f
Previous write by goroutine 14:
math/rand.(*rngSource).Int63()
/usr/local/go/src/math/rand/rng.go:233 +0x4c
math/rand.(*Rand).Int63()
/usr/local/go/src/math/rand/rand.go:43 +0x5b
github.com/hashicorp/raft.randomTimeout()
/home/ubuntu/influxdb-build/src/github.com/hashicorp/raft/util.go:33 +0x65
github.com/hashicorp/raft.(*Raft).runFollower()
/home/ubuntu/influxdb-build/src/github.com/hashicorp/raft/raft.go:585 +0x187
github.com/hashicorp/raft.(*Raft).run()
/home/ubuntu/influxdb-build/src/github.com/hashicorp/raft/raft.go:572 +0xc4
github.com/hashicorp/raft.*Raft.(github.com/hashicorp/raft.run)·fm()
/home/ubuntu/influxdb-build/src/github.com/hashicorp/raft/raft.go:241 +0x34
github.com/hashicorp/raft.func·011()
/home/ubuntu/influxdb-build/src/github.com/hashicorp/raft/state.go:152 +0x7f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment