Uploaded image for project: 'Couchbase Go SDK'
  1. Couchbase Go SDK
  2. GOCBC-24

crash during failover of two nodes in a 4 node cluster

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 0.2.0
    • None
    • None
    • None

    Description

      panic: runtime error: index out of range

      goroutine 329 [running]:
      github.com/couchbaselabs/gocb/gocbcore.(*agent).routerequest(0xc208040a00, 0xc2087c2d80, 0xc2085e7700)
      /users/subhashni/sources/sdkd-go/sdkd-go/src/github.com/couchbaselabs/gocb/gocbcore/agentrouting.go:286 +0x179
      github.com/couchbaselabs/gocb/gocbcore.(*agent).dispatchdirect(0xc208040a00, 0xc2087c2d80, 0x0, 0x0)
      /users/subhashni/sources/sdkd-go/sdkd-go/src/github.com/couchbaselabs/gocb/gocbcore/agentrouting.go:294 +0x44
      github.com/couchbaselabs/gocb/gocbcore.(*agent).dispatchop(0xc208040a00, 0xc2087c2d80, 0x0, 0x0, 0x0, 0x0)
      /users/subhashni/sources/sdkd-go/sdkd-go/src/github.com/couchbaselabs/gocb/gocbcore/agentops.go:12 +0x56
      github.com/couchbaselabs/gocb/gocbcore.(*agent).store(0xc208040a00, 0x1, 0xc2087d7770, 0x22, 0x30, 0xc2087c2cf0, 0x83, 0x90, 0xc200000000, 0x0, ...)
      /users/subhashni/sources/sdkd-go/sdkd-go/src/github.com/couchbaselabs/gocb/gocbcore/agentops.go:215 +0x336
      github.com/couchbaselabs/gocb/gocbcore.(*agent).set(0xc208040a00, 0xc2087d7770, 0x22, 0x30, 0xc2087c2cf0, 0x83, 0x90, 0x0, 0xc2085e76e0, 0x0, ...)
      /users/subhashni/sources/sdkd-go/sdkd-go/src/github.com/couchbaselabs/gocb/gocbcore/agentops.go:223 +0xdd
      main.(*handle_v3).dsmutate(0xc208136e40)
      /users/subhashni/sources/sdkd-go/sdkd-go/handle.go:335 +0x234
      main.(*worker).processrequest(0xc20807a080)
      /users/subhashni/sources/sdkd-go/sdkd-go/worker.go:106 +0x968
      created by main.(*worker).requesthandler
      /users/subhashni/sources/sdkd-go/sdkd-go/worker.go:164 +0xc9

      Attachments

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

        Activity

          People

            brett19 Brett Lawson
            subhashni Subhashni Balakrishnan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty