Skip to content

Commit

Permalink
etcdserver: watch stream got closed once one request is not permitted (
Browse files Browse the repository at this point in the history
  • Loading branch information
polyrabbit authored and tangcong committed Apr 10, 2020
1 parent e34d570 commit 3c422a1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion etcdserver/api/v3rpc/watch.go
Original file line number Diff line number Diff line change
Expand Up @@ -255,9 +255,10 @@ func (sws *serverWatchStream) recvLoop() error {

select {
case sws.ctrlStream <- wr:
continue
case <-sws.closec:
return nil
}
return nil
}

filters := FiltersFromRequest(creq)
Expand Down

0 comments on commit 3c422a1

Please sign in to comment.