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

incorrect connection type being served by ConnectionFactory


    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0, 1.0.1, 1.0.2
    • Fix Version/s: 1.0.3
    • Component/s: None
    • Security Level: Public
    • Labels:


      It's been found that the incorrect connection type is being served up for memcached bucket types. The CouchbaseConnection is being created by the ConnectionFactory not the MemcachedConnection.

      As a result, when the cluster is in a condition where the node responsible for a given operation is down, the alternate node would be correctly requested but upon the node map being rebuilt, no operations are sent back to that node and the connection is therefore never reestablished.

      Example Steps:
      1. Start the loadgen which will store keys in the cluster in "default" memcached bucket. The loadgen iterates through the keys to verify it is able to retrieve them.

      2. After a min, in UI console, "failover" one node and then rebalance

      3. After a min, in UI console, add the node back to the cluster using "Add server" and click on rebalance again.

      4. Verify the keys are getting stored on all nodes in cluster

      It's at step 4 things currently fail.

      # Subject Project Status CR V
      For Gerrit Dashboard: &For+JCBC-53=message:JCBC-53



          • Assignee:
            ingenthr Matt Ingenthron
            ingenthr Matt Ingenthron
          • Votes:
            0 Vote for this issue
            0 Start watching this issue


            • Created:

              Gerrit Reviews

              There are no open Gerrit changes