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

Gracefully handle cbauth errors from dcp client

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 5.0.0
    • 4.1.0, 4.5.0, 4.6.0, 4.6.2, 5.0.0
    • secondary-index
    • None
    • Untriaged
    • No

    Description

      panic: CBAuth database is stale: last reason: EOF
       
      goroutine 8 [running]:
      github.com/couchbase/indexing/secondary/common.(*CbAuthHandler).GetCredentials(0xc085aa0540, 0x0, 0x0, 0x0, 0x0)
              C:/Jenkins/workspace/sherlock-windows/couchbase/goproj/src/github.com/couchbase/indexing/secondary/common/util.go:220 +0xdb
      github.com/couchbase/indexing/secondary/dcp.maybeAddAuth(0xc08b4ff2b0, 0x2885280, 0xc085aa0540)
              C:/Jenkins/workspace/sherlock-windows/couchbase/goproj/src/github.com/couchbase/indexing/secondary/dcp/pools.go:250 +0x45
      github.com/couchbase/indexing/secondary/dcp.queryRestAPI(0xc08b915500, 0xc08b2ecba0, 0x58, 0x2885280, 0xc085aa0540, 0xe3ce80, 0xc0883b6900, 0x0, 0x0)
              C:/Jenkins/workspace/sherlock-windows/couchbase/goproj/src/github.com/couchbase/indexing/secondary/dcp/pools.go:274 +0x214
      github.com/couchbase/indexing/secondary/dcp.(*Client).parseURLResponse(0xc08c90a268, 0xc08b2ecba0, 0x58, 0xe3ce80, 0xc0883b6900, 0x0, 0x0)
              C:/Jenkins/workspace/sherlock-windows/couchbase/goproj/src/github.com/couchbase/indexing/secondary/dcp/pools.go:388 +0x7c
      github.com/couchbase/indexing/secondary/dcp.(*Bucket).Refresh(0xc0820c5e00, 0x0, 0x0)
              C:/Jenkins/workspace/sherlock-windows/couchbase/goproj/src/github.com/couchbase/indexing/secondary/dcp/pools.go:489 +0xd6
      github.com/couchbase/indexing/secondary/common.func·007()
              C:/Jenkins/workspace/sherlock-windows/couchbase/goproj/src/github.com/couchbase/indexing/secondary/common/dcp_seqno.go:287 +0xe9
      github.com/couchbase/indexing/secondary/common.pollForDeletedBuckets()
              C:/Jenkins/workspace/sherlock-windows/couchbase/goproj/src/github.com/couchbase/indexing/secondary/common/dcp_seqno.go:292 +0xac
      created by github.com/couchbase/indexing/secondary/common.init·1
              C:/Jenkins/workspace/sherlock-windows/couchbase/goproj/src/github.com/couchbase/indexing/secondary/common/dcp_seqno.go:23 +0xa0
      
      

      Attachments

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

        Activity

          People

            deepkaran.salooja Deepkaran Salooja
            deepkaran.salooja Deepkaran Salooja
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty