go-zookeeper icon indicating copy to clipboard operation
go-zookeeper copied to clipboard

receiving more than 6 events at the same time causing events lost

Open teou opened this issue 7 years ago • 3 comments

https://github.com/samuel/go-zookeeper/blob/master/zk/conn.go#L297

receiving more than 6 events at the same time, the 7th event will be lost.

for example, receiving events in following order(processing events may be slow): StateConnected StateDisconnected StateDisconnected StateDisconnected StateDisconnected StateConnected StateHasSession

then StateHasSession will be lost.

teou avatar Jan 06 '17 16:01 teou