Skip to content

Commit

Permalink
Merge pull request #9168 from gyuho/grpc-doc
Browse files Browse the repository at this point in the history
Documentation: add TCP RST flag on stream close
  • Loading branch information
gyuho authored Jan 18, 2018
2 parents 729eab9 + aac7e1c commit 955198d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Documentation/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,12 @@ To recover from the low space quota alarm:
2. [Defragment][maintenance-defragment] every etcd endpoint.
3. [Disarm][maintenance-disarm] the alarm.

### What does the etcd warning "etcdserver/api/v3rpc: transport: http2Server.HandleStreams failed to read frame: read tcp 127.0.0.1:2379->127.0.0.1:43020: read: connection reset by peer" mean?

This is gRPC-side warning when a server receives a TCP RST flag with client-side streams being prematurely closed. For example, a client closes its connection, while gRPC server has not yet processed all HTTP/2 frames in the TCP queue. Some data may have been lost in server side, but it is ok so long as client connection has already been closed.

Only [old versions of gRPC](https://github.com/grpc/grpc-go/issues/1362) log this. etcd [>=v3.2.13 by default log this with DEBUG level](https://github.com/coreos/etcd/pull/9080), thus only visible with `--debug` flag enabled.

## Performance

### How should I benchmark etcd?
Expand Down

0 comments on commit 955198d

Please sign in to comment.