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

GAT not populating proper error information

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.0-beta-2
    • None
    • couchbase-bucket
    • Security Level: Public
    • 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: }

      Attachments

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

        Activity

          People

            mikew Mike Wiederhold [X] (Inactive)
            mnunberg Mark Nunberg (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