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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 1.1dp
    • Fix Version/s: 1.1-beta
    • Component/s: Core
    • Security Level: Public
    • Labels:
      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>

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

        Activity

        Hide
        daschl Michael Nitschinger added a comment -

        This is a duplicate of JCBC-123 which has been pushed to master recently.

        See the description of the ticket for more details.

        Show
        daschl Michael Nitschinger added a comment - This is a duplicate of JCBC-123 which has been pushed to master recently. See the description of the ticket for more details.

          People

          • Assignee:
            rags Raghavan Srinivas (Inactive)
            Reporter:
            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