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 jingyih committed Apr 6, 2020
1 parent e694b7b commit 9c85545
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 @@ -259,9 +259,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 9c85545

Please sign in to comment.