Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-601

ThrowArgumentOutOfRangeException in Couchbase.Core.VBucket.LocatePrimary() after failover nodes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 2.0 Beta
    • 2.0 DP3
    • library
    • None

    Description

      http://sdkbuilds.couchbase.com/job/.net-sdkdclient-ng2-andrei/66/console

      Running ReAdd2-HYBRID: 2014-08-24 03:25:00

      .....
      [592.87 DEBUG] (Handle receiveMessage:158) < NEWHANDLE@204.281
      [592.87 DEBUG] (Handle sendMessageAsync:183) > CB_VIEW_QUERY@204.282 => {DSType=DSTYPE_SEEDED, DS={}, ViewParameters=

      {limit=0}

      , DesignName=test_design, Options=

      {DelayMax=10, DelayMin=1, IterWait=1, ViewQueryCount=-1, ViewQueryDelay=0, TimeRes=1}

      , ViewName=test_view}
      [592.88 INFO] (SDKD log:137) [Sdkd.Handle|Warn] Got command CB_VIEW_QUERY 
      [592.88 INFO] (Scenario run:83) RAMP phase started. Waiting for 30 seconds
      [592.88 INFO] (SDKD log:137) [Sdkd.Handle|Warn] Command data: {
      [592.88 INFO] (SDKD log:137)  "DSType": "DSTYPE_SEEDED",
      [592.88 INFO] (SDKD log:137)  "DS": {},
      [592.88 INFO] (SDKD log:137)  "ViewParameters":

      { [592.88 INFO] (SDKD log:137)  "limit": 0 [592.88 INFO] (SDKD log:137)  }

      ,
      [592.88 INFO] (SDKD log:137)  "DesignName": "test_design",
      [592.88 INFO] (SDKD log:137)  "Options":

      { [592.88 INFO] (SDKD log:137)  "DelayMax": 10, [592.88 INFO] (SDKD log:137)  "DelayMin": 1, [592.89 INFO] (SDKD log:137)  "IterWait": 1, [592.89 INFO] (SDKD log:137)  "ViewQueryCount": -1, [592.89 INFO] (SDKD log:137)  "ViewQueryDelay": 0, [592.89 INFO] (SDKD log:137)  "TimeRes": 1 [592.89 INFO] (SDKD log:137)  }

      ,
      [592.89 INFO] (SDKD log:137)  "ViewName": "test_view"
      [592.89 INFO] (SDKD log:137) } 
      [622.88 INFO] (Scenario run:86) Starting CHANGE phase
      [622.88 INFO] (CBCluster failoverNodes:582) Failing over <URI:10.3.121.135:8091,ns_1@10.3.121.135>
      [623.18 INFO] (CBCluster failoverNodes:582) Failing over <URI:10.3.121.136:8091,ns_1@10.3.121.136>
      [623.38 INFO] (FailoverAction change:104) Nodes failed over. Requested sleep for 45 seconds
      [623.50 INFO] (SDKD log:137) [Sdkd.Result|Warn] Unrecognized return code 409 
      [623.60 INFO] (SDKD log:137) 
      [623.62 INFO] (SDKD log:137) Unhandled Exception: 
      [623.62 INFO] (SDKD log:137) Unhandled Exception: 
      [623.62 INFO] (SDKD log:137) Unhandled Exception: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
      [623.62 INFO] (SDKD log:137) Parameter name: index
      [623.63 INFO] (LineGobbler doFilter:115) +++ Following exception has internal ID: 1
      [623.63 INFO] (SDKD log:137)  at System.ThrowHelper.ThrowArgumentOutOfRangeException()
      at System.Collections.Generic.List`1.get_Item(Int32 index)
      at Couchbase.Core.VBucket.LocatePrimary() in c:\jenkins\workspace\.net-sdkdclient-ng2-andrei\couchbase-net-client\Src\Couchbase\Core\VBucket.cs:line 20
      at Couchbase.Core.Buckets.CouchbaseBucket.GetServer(String key, IVBucket& vBucket) in c:\jenkins\workspace\.net-sdkdclient-ng2-andrei\couchbase-net-client\Src\Couchbase\Core\Buckets\CouchbaseBucket.cs:line 86
      at Couchbase.Core.Buckets.CouchbaseBucket.SendWithRetry[T](IOperation`1 operation) in c:\jenkins\workspace\.net-sdkdclient-ng2-andrei\couchbase-net-client\Src\Couchbase\Core\Buckets\CouchbaseBucket.cs:line 96
      at Couchbase.Core.Buckets.CouchbaseBucket.Upsert[T](String key, T value) in c:\jenkins\workspace\.net-sdkdclient-ng2-andrei\couchbase-net-client\Src\Couchbase\Core\Buckets\CouchbaseBucket.cs:line 312
      at Sdkd.Commands.SetCommand.ExecuteSingle(String key, String value) in c:\jenkins\workspace\.net-sdkdclient-ng2-andrei\sdkd-net\src\Sdkd\Commands\SetCommand.cs:line 77
      at Sdkd.Commands.KVCommand.Run() in c:\jenkins\workspace\.net-sdkdclient-ng2-andrei\sdkd-net\src\Sdkd\Commands\KVCommand.cs:line 25
      at SdkdConsole.Daemon.Handle.DispatchCommand(Request req, CouchbaseBucket cli) in c:\jenkins\workspace\.net-sdkdclient-ng2-andrei\sdkd-net\src\SdkdConsole\Daemon\Handle.cs:line 235
      at SdkdConsole.Daemon.Handle.Run() in c:\jenkins\workspace\.net-sdkdclient-ng2-andrei\sdkd-net\src\SdkdConsole\Daemon\Handle.cs:line 156
      at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
      at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
      at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
      at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
      at System.Threading.ThreadHelper.ThreadStart()

      Attachments

        For Gerrit Dashboard: NCBC-601
        # Subject Branch Project Status CR V

        Activity

          People

            jmorris Jeff Morris
            andreibaranouski Andrei Baranouski
            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