Fix race on getting close notifier channel
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
etcd (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Xenial |
Fix Released
|
Medium
|
Unassigned |
Bug Description
[OS]
Ubuntu Xenial
etcd 2.2.5
[Error Log]
Sep 2 16:08:16 ubuntu etcd[18180]: panic: net/http: CloseNotify called after ServeHTTP finished
Sep 2 16:08:16 ubuntu etcd[18180]: goroutine 421 [running]:
Sep 2 16:08:16 ubuntu etcd[18180]: net/http.
Sep 2 16:08:16 ubuntu etcd[18180]: #011/usr/
Sep 2 16:08:16 ubuntu etcd[18180]: github.
Sep 2 16:08:16 ubuntu etcd[18180]: #011/build/
Sep 2 16:08:16 ubuntu etcd[18180]: created by github.
Sep 2 16:08:16 ubuntu etcd[18180]: #011/build/
Sep 2 16:08:16 ubuntu systemd[1]: etcd.service: Main process exited, code=exited, status=
Sep 2 16:08:16 ubuntu systemd[1]: etcd.service: Unit entered failed state.
Sep 2 16:08:16 ubuntu systemd[1]: etcd.service: Failed with result 'exit-code'.
etcd proxy process dies and is not restarted by systemd, Components that depend on etcd report connection errors like this:
- Request to server http://
[Root Cause]
etcd proxy panic occur in etcd 2.2.5, which is fixed in etcd 2.3.4 (https:/
-------
[Impact]
This patch fix race on getting close notifier channel when a panic reported as 'net/http: CloseNotify called after ServeHTTP finished'.
[Test Case]
No special configuration, running etcd in proxy mode.
[Regression Potential]
etcd no longer crashes every so often while in proxy mode...
Changed in etcd (Ubuntu): | |
importance: | Undecided → Medium |
description: | updated |
description: | updated |
tags: | added: sts |
Status changed to 'Confirmed' because the bug affects multiple users.