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

ServerUnavailableException after rebalance (in CouchbaseBucket.Get)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • 2.0 Beta
    • 2.0 DP3
    • library
    • None

    Description

      git log
      commit 86219ee99ccafdd00c98d577c9bc2b97efef35bb
      Author: jeffrymorris <jeffrymorris@gmail.com>
      Date: Wed Aug 20 17:44:45 2014 -0700

      NCBC-592: AuthenticationException in CouchbaseBucket.SendWithRetry

      Running Rb2Out-KV: 2014-08-20 23:33:57
      .....

      [25.05 DEBUG] (Handle receiveMessage:158) < NEWHANDLE@121.33
      [25.05 DEBUG] (Handle sendMessageAsync:183) > MC_DS_GET@121.43 => {DSType=DSTYPE_SEEDED, DS=

      {KSeed=SimpleKey, VSeed=SimpleValue, Count=10, Continuous=true, VSize=128, Repeat=REP, KSize=32}

      , Options={DelayMax=10, DelayMin=1, IterWait=1, TimeRes=1}}
      [25.05 INFO] (SDKD log:137) [Sdkd.Handle|Warn] Got command MC_DS_GET 
      [25.06 INFO] (Scenario run:83) RAMP phase started. Waiting for 30 seconds
      [25.06 INFO] (SDKD log:137) [Sdkd.Handle|Warn] Command data: {
      [25.06 INFO] (SDKD log:137)  "DSType": "DSTYPE_SEEDED",
      [25.06 INFO] (SDKD log:137)  "DS":

      { [25.07 INFO] (SDKD log:137)  "KSeed": "SimpleKey", [25.07 INFO] (SDKD log:137)  "VSeed": "SimpleValue", [25.07 INFO] (SDKD log:137)  "Count": 10, [25.07 INFO] (SDKD log:137)  "Continuous": true, [25.07 INFO] (SDKD log:137)  "VSize": 128, [25.07 INFO] (SDKD log:137)  "Repeat": "REP", [25.07 INFO] (SDKD log:137)  "KSize": 32 [25.07 INFO] (SDKD log:137)  }

      ,
      [25.07 INFO] (SDKD log:137)  "Options":

      { [25.07 INFO] (SDKD log:137)  "DelayMax": 10, [25.07 INFO] (SDKD log:137)  "DelayMin": 1, [25.07 INFO] (SDKD log:137)  "IterWait": 1, [25.07 INFO] (SDKD log:137)  "TimeRes": 1 [25.09 INFO] (SDKD log:137)  }

      
      [25.09 INFO] (SDKD log:137) } 
      [55.06 INFO] (Scenario run:86) Starting CHANGE phase
      [55.08 DEBUG] (RebalanceWaiter sweepOnce:38) Rebalance Progress: 0%
      [56.10 DEBUG] (RebalanceWaiter sweepOnce:38) Rebalance Progress: 0%
      [57.12 DEBUG] (RebalanceWaiter sweepOnce:38) Rebalance Progress: 2%
      [58.13 DEBUG] (RebalanceWaiter sweepOnce:38) Rebalance Progress: 4%
      [59.14 DEBUG] (RebalanceWaiter sweepOnce:38) Rebalance Progress: 7%
      .................................
      [99.67 DEBUG] (RebalanceWaiter sweepOnce:38) Rebalance Progress: 94%
      [100.69 DEBUG] (RebalanceWaiter sweepOnce:38) Rebalance Progress: 96%
      [101.70 DEBUG] (RebalanceWaiter sweepOnce:38) Rebalance Progress: 98%
      [102.70 DEBUG] (RebalanceWaiter sweepOnce:38) Rebalance Progress: 100%
      [103.71 DEBUG] (RebalanceWaiter sweepOnce:38) Rebalance Progress: 100%
      [104.72 DEBUG] (RebalanceWaiter sweepOnce:38) Rebalance Progress: 100%
      [105.72 DEBUG] (RebalanceWaiter sweepOnce:38) Rebalance Progress: 100%
      [106.74 DEBUG] (RebalanceWaiter sweepOnce:38) Rebalance Progress: 100%
      [107.74 DEBUG] (RebalanceWaiter sweepOnce:38) Rebalance Progress: 100%
      [108.75 DEBUG] (RebalanceWaiter sweepOnce:38) Rebalance Progress: 100%
      [109.76 DEBUG] (RebalanceWaiter sweepOnce:38) Rebalance Progress: 100%
      [110.76 DEBUG] (RebalanceWaiter sweepOnce:38) Rebalance Progress: 100%
      [111.77 DEBUG] (RebalanceWaiter sweepOnce:38) Rebalance Progress: 100%
      [112.75 INFO] (SDKD log:137) [Sdkd.Result|Warn] Unrecognized return code 409 
      [112.78 INFO] (RebalanceWaiter sweepOnce:33) Rebalance complete
      [112.79 INFO] (Scenario run:97) CHANGE phase done
      [112.79 INFO] (Scenario run:103) Starting REBOUND for 90 seconds
      [113.23 INFO] (SDKD log:137) 
      [113.26 INFO] (SDKD log:137) Unhandled Exception: Couchbase.ServerUnavailableException: Exception of type 'Couchbase.ServerUnavailableException' was thrown.
      [125.87 INFO] (SDKD log:137) +++ Flushing remaining exception trace buffer
      [125.88 INFO] (SDKD log:137)  at Couchbase.Configuration.ConfigContextBase.GetServer() in c:\jenkins\workspace-net2\couchbase-net-client\Src\Couchbase\Configuration\ConfigContextBase.cs:line 212
      at Couchbase.Core.Buckets.CouchbaseBucket.HandleIOError[T](IOperation`1 operation, IServer server) in c:\jenkins\workspace-net2\couchbase-net-client\Src\Couchbase\Core\Buckets\CouchbaseBucket.cs:line 194
      at Couchbase.Core.Buckets.CouchbaseBucket.CanRetryOperation[T](IOperationResult`1 operationResult, IOperation`1 operation, IServer server) in c:\jenkins\workspace-net2\couchbase-net-client\Src\Couchbase\Core\Buckets\CouchbaseBucket.cs:line 179
      at Couchbase.Core.Buckets.CouchbaseBucket.SendWithRetry[T](IOperation`1 operation) in c:\jenkins\workspace-net2\couchbase-net-client\Src\Couchbase\Core\Buckets\CouchbaseBucket.cs:line 104
      at Couchbase.Core.Buckets.CouchbaseBucket.Get[T](String key) in c:\jenkins\workspace-net2\couchbase-net-client\Src\Couchbase\Core\Buckets\CouchbaseBucket.cs:line 888
      at Sdkd.Commands.GetCommand.ExecuteSingle(String key, String value) in c:\jenkins\workspace\.net-sdkdclient-ng2-andrei\sdkd-net\src\Sdkd\Commands\GetCommand.cs:line 18
      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()
      [125.89 ERROR] (BRun maybePropagate:243) Suppressing driver-related error
      com.couchbase.sdkdclient.context.HarnessException: Driver crashed
      at com.couchbase.sdkdclient.context.RunContext$5.call(RunContext.java:192) ~[sdkdclient-1.0-SNAPSHOT.jar:na]
      at com.couchbase.sdkdclient.context.RunContext$5.call(RunContext.java:183) ~[sdkdclient-1.0-SNAPSHOT.jar:na]
      at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) ~[na:1.6.0_27]
      at java.util.concurrent.FutureTask.run(Unknown Source) ~[na:1.6.0_27]
      at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[na:1.6.0_27]
      at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) ~[na:1.6.0_27]
      at java.util.concurrent.FutureTask.run(Unknown Source) ~[na:1.6.0_27]
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) ~[na:1.6.0_27]
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[na:1.6.0_27]
      at java.lang.Thread.run(Unknown Source) ~[na:1.6.0_27]
      [125.89 DEBUG] (Handle sendMessageAsync:183) > CLOSEHANDLE@102.44
      [125.90 WARN] (STester close:170) While stopping driver
      java.net.SocketException: Connection reset by peer: socket write error
      at java.net.SocketOutputStream.socketWrite0(Native Method) ~[na:1.6.0_27]
      at java.net.SocketOutputStream.socketWrite(Unknown Source) ~[na:1.6.0_27]
      at java.net.SocketOutputStream.write(Unknown Source) ~[na:1.6.0_27]
      at sun.nio.cs.StreamEncoder.writeBytes(Unknown Source) ~[na:1.6.0_27]
      at sun.nio.cs.StreamEncoder.implFlushBuffer(Unknown Source) ~[na:1.6.0_27]
      at sun.nio.cs.StreamEncoder.implFlush(Unknown Source) ~[na:1.6.0_27]
      at sun.nio.cs.StreamEncoder.flush(Unknown Source) ~[na:1.6.0_27]
      at java.io.OutputStreamWriter.flush(Unknown Source) ~[na:1.6.0_27]
      at java.io.BufferedWriter.flush(Unknown Source) ~[na:1.6.0_27]
      at com.couchbase.sdkdclient.handle.Handle.sendMessageAsync(Handle.java:188) ~[sdkdclient-1.0-SNAPSHOT.jar:na]
      at com.couchbase.sdkdclient.handle.Handle.close(Handle.java:254) ~[sdkdclient-1.0-SNAPSHOT.jar:na]
      at com.couchbase.sdkdclient.driver.HandleManager.stopAll(HandleManager.java:26) ~[sdkdclient-1.0-SNAPSHOT.jar:na]
      at com.couchbase.sdkdclient.driver.HostPortDriver.stop(HostPortDriver.java:118) ~[sdkdclient-1.0-SNAPSHOT.jar:na]
      at com.couchbase.sdkdclient.driver.ExecutingDriver.stop(ExecutingDriver.java:117) ~[sdkdclient-1.0-SNAPSHOT.jar:na]
      at com.couchbase.sdkdclient.stester.STester.close(STester.java:167) ~[sdkdclient-1.0-SNAPSHOT.jar:na]
      at com.couchbase.sdkdclient.batch.BRun.runHarness(BRun.java:287) [sdkdclient-1.0-SNAPSHOT.jar:na]
      at com.couchbase.sdkdclient.batch.BRun.runSingleTest(BRun.java:394) [sdkdclient-1.0-SNAPSHOT.jar:na]
      at com.couchbase.sdkdclient.batch.BRun.run(BRun.java:478) [sdkdclient-1.0-SNAPSHOT.jar:na]
      at com.couchbase.sdkdclient.batch.BRun.main(BRun.java:510) [sdkdclient-1.0-SNAPSHOT.jar:na]

      Attachments

        Issue Links

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

          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