k3s/pkg/client/cache
Dan Mace 0ad8342a55 Log ErrUnexpectedEOF from watches as warnings
Watches are often established via long-running HTTP GET requests which
will inevitably time out during the normal course of operations. When
the watches time out, an io.EOF or an io.ErrUnexpectedEOF will bubble
up to client components such as StreamWatcher and Reflector. Treat EOF
as a clean watch termination. Treat ErrUnexpectedEOF as a less-clean
but non-fatal watch termination and log the event at the warning level.

This greatly reduces the amount of log noise generated during what is
ultimately normal operation, and adds the flexibility for the operator
to make a distinction between the EOF conditions if so desired (by
adjusting the logging level).
2014-12-05 15:03:07 -05:00
..
doc.go finish testing client/cache 2014-08-04 14:50:01 -07:00
fifo.go Typo fix 2014-11-12 13:05:08 -05:00
fifo_test.go Fix line-jumping bug in FIFO implementation 2014-10-21 16:37:32 -04:00
poller.go Rename client/cache Store.Contains to ContainedIDs 2014-11-11 11:48:15 -05:00
poller_test.go Rename client/cache Store.Contains to ContainedIDs 2014-11-11 11:48:15 -05:00
reflector.go Log ErrUnexpectedEOF from watches as warnings 2014-12-05 15:03:07 -05:00
reflector_test.go Refactor tests to split ObjectMeta from TypeMeta 2014-10-24 11:22:21 -04:00
store.go Typo fix 2014-11-12 13:05:08 -05:00
store_test.go Rename client/cache Store.Contains to ContainedIDs 2014-11-11 11:48:15 -05:00