Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-24144

cbdatasource Receiver OnError() question

    XMLWordPrintable

Details

    • Task
    • Resolution: Duplicate
    • Major
    • 5.0.0
    • master
    • cbdatasource
    • 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.

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            steve Steve Yen
            traun Traun Leyden (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty