This repository was archived by the owner on Jul 21, 2021. It is now read-only.

Description
hi guys
data race is detected when we run go-zookeeper on : go build -race
WARNING: DATA RACE
Write at :
github.com/samuel/go-zookeeper/zk.(*Conn).recvLoop()
github.com/samuel/go-zookeeper/zk/conn.go:820
Previous read at :
github.com/samuel/go-zookeeper/zk.(*Conn).sendSetWatches()
github.com/samuel/go-zookeeper/zk/conn.go:567
maybe Conn.lastZxid needs to be lock protected?