Uploaded image for project: 'Couchbase Java Client'
  1. Couchbase Java Client
  2. JCBC-92

Java error when a node is removed - need to check for pending state on a bucket

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • 1.1-beta
    • 1.1dp
    • Core
    • Security Level: Public
    • None

    Description

      This is related to CBSE-187.

      While the test was running we removed a node from the cluster, there were failures due to operation cancelled and TimeoutException and the test didn't continue.
      Then we started the test again without adding back the removed node, it just threw:
      java.lang.ArrayIndexOutOfBoundsException: -1
      at java.util.ArrayList.get(Unknown Source)
      at com.couchbase.client.vbucket.config.DefaultConfig.getServer(DefaultConfig.java:81)
      at com.couchbase.client.vbucket.VBucketNodeLocator.getPrimary(VBucketNodeLocator.java:74)
      at com.couchbase.client.CouchbaseConnection.addOperation(CouchbaseConnection.java:143)
      at net.spy.memcached.MemcachedConnection.enqueueOperation(MemcachedConnection.java:639)
      at net.spy.memcached.MemcachedClient.asyncStore(MemcachedClient.java:296)
      at net.spy.memcached.MemcachedClient.set(MemcachedClient.java:727)
      <supressed>

      Attachments

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

        Activity

          People

            rags Raghavan Srinivas (Inactive)
            rags Raghavan Srinivas (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty