On Fri, Mar 25, 2022 at 11:41 AM 袁成若 <a572857...@gmail.com> wrote: > > I met a problem about etcd watch channel. seems that be closed, but i can > not reproduce it. > > like this: > > ``` > for { > ach := etcdClientV3.Watch(context.Background(), "/test", > clientv3.WithPrefix()) > for { > select { > case wch := <- ach { > fmt.Println("recv chan") > } > } > } > } > ``` > the program print recv chan all the time. but I cannot reproduce it , Is > there any way to reproduce it
It sounds like you are describing a problem with the https://github.com/etcd-io/etcd/ package. I suggest that you ask there. Ian -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CAOyqgcXeHHdVBmYj7FYL1yHSDW%2BvgyjPnFLR1EBxE6Ag3sSo%3DQ%40mail.gmail.com.