Details
-
Task
-
Resolution: Duplicate
-
Major
-
master
-
None
Description
In `Receiver`:
{{ // Invoked in advisory fashion by the BucketDataSource when it}}
{{ // encounters an error. The BucketDataSource will continue to try}}
{{ // to "heal" and restart connections, etc, as necessary. The}}
{{ // Receiver has a recourse during these error notifications of}}
{{ // simply Close()'ing the BucketDataSource.}}
{{ OnError(error)}}
How do we distinguish between actionable errors and ignorable errors?
More concretely, in Sync Gateway we are seeing this error come through:
2017-04-26T19:51:11.697-04:00 DCP: OnError: pkt.Receive, err: EOF
2017-04-26T19:51:11.697-04:00 WARNING: Feed%!(EXTRA string=Error processing DCP stream: %v, *errors.errorString=pkt.Receive, err: EOF) – base.(*DCPReceiver).OnError() at dcp_feed.go:123
and not sure of the cause and any action we should take, like restarting one more more vbucket streams or the entire DCP feed.