Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-6840

GAT not populating proper error information

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0-beta-2
    • Component/s: couchbase-bucket
    • Security Level: Public
    • Labels:
      None

      Description

      /*

      • To change this template, choose Tools | Templates
      • and open the template in the editor.
        */
        package com.couchbase.sdkd;

      import com.couchbase.client.CouchbaseClient;
      import java.net.URI;
      import java.util.LinkedList;
      import java.util.List;
      import net.spy.memcached.CASValue;
      import net.spy.memcached.internal.OperationFuture;

      /**
      *

      • @author mnunberg
        */
        public class GatBug {
        public static void main(String[] args)
        throws Exception { URI url = new URI("http://localhost:8091/pools"); List<URI> ul = new LinkedList<URI>(); ul.add(url); CouchbaseClient cli = new CouchbaseClient(ul, "default", ""); OperationFuture gop = cli.asyncGetAndTouch("non-existent-key", 5); gop.get(); System.err.println(gop.getStatus()); }

        }

      /** output **/

      2012-09-12 16:28:28.855 INFO com.couchbase.client.CouchbaseConnection: Added

      {QA sa=/10.0.0.99:11210, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0}

      to connect queue
      2012-09-12 16:28:28.857 INFO com.couchbase.client.CouchbaseConnection: Added

      {QA sa=/10.0.0.20:11210, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0}

      to connect queue
      2012-09-12 16:28:29.166 INFO com.couchbase.client.CouchbaseConnection: Connection state changed for sun.nio.ch.SelectionKeyImpl@2cb0ce8f
      2012-09-12 16:28:29.167 INFO com.couchbase.client.CouchbaseConnection: Connection state changed for sun.nio.ch.SelectionKeyImpl@bc92535

      {OperationStatus success=false: }
      No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

        mnunberg Mark Nunberg created issue -
        ingenthr Matt Ingenthron made changes -
        Field Original Value New Value
        Fix Version/s 1.1 [ 10274 ]
        mikew Mike Wiederhold made changes -
        Assignee Raghavan Srinivas [ rags ] Mordechai Nunberg [ mnunberg ]
        mnunberg Mark Nunberg made changes -
        Assignee Mark Nunberg [ mnunberg ] Raghavan Srinivas [ rags ]
        mnunberg Mark Nunberg made changes -
        Assignee Raghavan Srinivas [ rags ] Mike Wiederhold [ mikew ]
        mikew Mike Wiederhold made changes -
        Project Couchbase Java Client [ 10080 ] Couchbase Server [ 10010 ]
        Key JCBC-111 MB-6840
        Affects Version/s 1.0.3 [ 10303 ]
        Fix Version/s .next [ 10342 ]
        Fix Version/s 1.1 [ 10274 ]
        Component/s couchbase-bucket [ 10173 ]
        Component/s library [ 10140 ]
        mikew Mike Wiederhold made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        kzeller kzeller made changes -
        Fix Version/s 2.0-beta-2 [ 10385 ]
        Fix Version/s .next [ 10342 ]
        mikew Mike Wiederhold made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            mikew Mike Wiederhold
            Reporter:
            mnunberg Mark Nunberg
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes