Details
-
Task
-
Resolution: Fixed
-
Major
-
None
-
master
-
None
Description
When we see OnError() callbacks in the receiver like:
2017-05-02T17:44:28.418-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
can we safely ignore it? Eg, will the DCP stream get restarted and no mutations will be missed?
Also, if it can be safely ignored, this raises the question of how to differentiate between OnError() callbacks that can be ignored and ones that need to somehow be dealt with? One way of dealing with them for Sync Gateway is to put the database in "offline" state and stop accepting new writes.