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 committed Apr 6, 2020
1 parent c623f79 commit 73b936b
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 73b936b

Please sign in to comment.