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

        marcus.nylander@gmail.com Marcus Nylander created issue -
        rags Raghavan Srinivas (Inactive) made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 1.1beta [ 10370 ]
        Resolution Fixed [ 1 ]
        rags Raghavan Srinivas (Inactive) made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Hide
        ingenthr Matt Ingenthron added a comment -

        This may have been fixed in configuraton changes in 1.0.3, but that should be verified.

        Show
        ingenthr Matt Ingenthron added a comment - This may have been fixed in configuraton changes in 1.0.3, but that should be verified.
        ingenthr Matt Ingenthron made changes -
        Assignee Raghavan Srinivas [ rags ] Michael Nitschinger [ daschl ]
        daschl Michael Nitschinger made changes -
        Priority Major [ 3 ] Blocker [ 1 ]
        daschl Michael Nitschinger made changes -
        Status Reopened [ 4 ] In Progress [ 3 ]
        Show
        daschl Michael Nitschinger added a comment - http://review.couchbase.org/#/c/22878/
        Hide
        daschl Michael Nitschinger added a comment -

        fixed and pushed to master, will be available in in dp5/beta.

        Show
        daschl Michael Nitschinger added a comment - fixed and pushed to master, will be available in in dp5/beta.
        daschl Michael Nitschinger made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Fix Version/s 1.1-dp5 [ 10410 ]
        Fix Version/s 1.1beta [ 10370 ]
        Resolution Fixed [ 1 ]
        daschl Michael Nitschinger made changes -
        Fix Version/s 1.1beta [ 10370 ]
        Fix Version/s 1.1-dp5 [ 10410 ]
        balak balak made changes -
        Status Resolved [ 5 ] Reopened [ 4 ]
        Resolution Fixed [ 1 ]
        skumar Saran Kumar (Inactive) made changes -
        Attachment log.txt [ 16908 ]
        Hide
        daschl Michael Nitschinger added a comment -

        Already fixes back in time, don't know why it is open.

        Show
        daschl Michael Nitschinger added a comment - Already fixes back in time, don't know why it is open.
        daschl Michael Nitschinger made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        ingenthr Matt Ingenthron made changes -
        Workflow jira [ 16732 ] Couchbase SDK Workflow [ 38319 ]

          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