Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.0.2
    • Fix Version/s: 1.1-beta
    • Component/s: Core
    • Security Level: Public
    • Labels:
      None
    • Environment:

      Description

      Multiple different stackstraces below also see the following right before it starts to fail:

      "Node exepcted to receive data is inactive. This could be due to afailure within the cluster. Will check for updated configuration. Key without a configured node is: akey12324234"

      Then it's fails a number of times and

      Failed to reconfigure client, staying with previous configuration.
      java.lang.IllegalArgumentException: TODO: refactor this
      at com.couchbase.client.vbucket.config.CacheConfig.getVbucketsCount(CacheConfig.java:55)
      at com.couchbase.client.vbucket.config.DefaultConfig.compareTo(DefaultConfig.java:145)
      at com.couchbase.client.vbucket.VBucketNodeLocator.updateLocator(VBucketNodeLocator.java:133)
      at com.couchbase.client.CouchbaseConnection.reconfigure(CouchbaseConnection.java:120)
      at com.couchbase.client.CouchbaseClient.reconfigure(CouchbaseClient.java:176)
      at com.couchbase.client.vbucket.ReconfigurableObserver.update(ReconfigurableObserver.java:54)
      at java.util.Observable.notifyObservers(Observable.java:142)
      at com.couchbase.client.vbucket.BucketMonitor.setBucket(BucketMonitor.java:257)
      at com.couchbase.client.vbucket.BucketMonitor.startMonitor(BucketMonitor.java:187)
      at com.couchbase.client.vbucket.ConfigurationProviderHTTP.subscribe(ConfigurationProviderHTTP.java:243)
      at com.couchbase.client.vbucket.ConfigurationProviderHTTP.finishResubscribe(ConfigurationProviderHTTP.java:215)
      at com.couchbase.client.CouchbaseConnectionFactory.checkConfigUpdate(CouchbaseConnectionFactory.java:182)
      at com.couchbase.client.CouchbaseConnection.addOperation(CouchbaseConnection.java:165)
      at net.spy.memcached.MemcachedConnection.enqueueOperation(MemcachedConnection.java:639)
      at net.spy.memcached.MemcachedClient.asyncGet(MemcachedClient.java:835)
      at net.spy.memcached.MemcachedClient.get(MemcachedClient.java:997)

      Failed to reconfigure client, staying with previous configuration.
      java.lang.IllegalArgumentException: TODO: refactor this
      at com.couchbase.client.vbucket.config.CacheConfig.getVbucketsCount(CacheConfig.java:55)
      at com.couchbase.client.vbucket.config.DefaultConfig.compareTo(DefaultConfig.java:145)
      at com.couchbase.client.vbucket.VBucketNodeLocator.updateLocator(VBucketNodeLocator.java:133)
      at com.couchbase.client.CouchbaseConnection.reconfigure(CouchbaseConnection.java:120)
      at com.couchbase.client.CouchbaseClient.reconfigure(CouchbaseClient.java:176)
      at com.couchbase.client.vbucket.ReconfigurableObserver.update(ReconfigurableObserver.java:54)
      at java.util.Observable.notifyObservers(Observable.java:142)
      at com.couchbase.client.vbucket.BucketMonitor.setBucket(BucketMonitor.java:257)
      at com.couchbase.client.vbucket.BucketMonitor.replaceConfig(BucketMonitor.java:307)
      at com.couchbase.client.vbucket.BucketUpdateResponseHandler.messageReceived(BucketUpdateResponseHandler.java:81)
      at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:80)
      at com.couchbase.client.vbucket.BucketUpdateResponseHandler.handleUpstream(BucketUpdateResponseHandler.java:194)
      at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:545)
      at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:754)
      at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:302)
      at org.jboss.netty.handler.codec.replay.ReplayingDecoder.unfoldAndfireMessageReceived(ReplayingDecoder.java:513)
      at org.jboss.netty.handler.codec.replay.ReplayingDecoder.callDecode(ReplayingDecoder.java:497)
      at org.jboss.netty.handler.codec.replay.ReplayingDecoder.messageReceived(ReplayingDecoder.java:434)
      at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:80)
      at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:545)
      at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:540)
      at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:274)
      at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:261)
      at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:340)
      at org.jboss.netty.channel.socket.nio.NioWorker.processSelectedKeys(NioWorker.java:272)
      at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:192)
      at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)
      at org.jboss.netty.util.internal.IoWorkerRunnable.run(IoWorkerRunnable.java:46)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:662)

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

        Activity

          People

          • Assignee:
            daschl Michael Nitschinger
            Reporter:
            marcus.nylander@gmail.com Marcus Nylander
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes