<!--
RSS generated by JIRA (5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9) at Sat May 25 03:11:38 CDT 2013

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary add field=key&field=summary to the URL of your request.
For example:
http://www.couchbase.com/issues/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?jqlQuery=project+%3D+JCBC+ORDER+BY+updated+DESC%2C+priority+DESC%2C+created+ASC&tempMax=1000&field=key&field=summary
-->
<!-- If you wish to do custom client-side styling of RSS, uncomment this:
<?xml-stylesheet href="http://www.couchbase.com/issues/styles/jiraxml2html.xsl" type="text/xsl"?>
-->
<rss version="0.92">
    <channel>
        <title>Couchbase</title>
        <link>http://www.couchbase.com/issues/secure/IssueNavigator.jspa?reset=true&amp;jqlQuery=project+%3D+JCBC+ORDER+BY+updated+DESC%2C+priority+DESC%2C+created+ASC</link>
        <description>An XML representation of a search request</description>
                <language>en-us</language>
                        <issue start="0" end="302" total="302"/>
                <build-info>
            <version>5.2.4</version>
            <build-number>845</build-number>
            <build-date>26-12-2012</build-date>
        </build-info>
<item>
            <title>[JCBC-304] Client leads to a deadlock when all the servers are unavailable</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-304</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>Stack Trace :-&lt;br/&gt;
&lt;br/&gt;
&amp;quot;pool-17-thread-8&amp;quot; prio=10 tid=0x00007fdea007c800 nid=0xacac waiting on condition [0x00007fdf168e6000]&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;java.lang.Thread.State: WAITING (parking)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at sun.misc.Unsafe.park(Native Method)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;- parking to wait for &amp;lt;0x00000007f8d383f0&amp;gt; (a java.util.concurrent.CountDownLatch$Sync)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at java.util.concurrent.locks.LockSupport.park(LockSupport.java:186)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:834)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.jav&lt;br/&gt;
a:994)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:&lt;br/&gt;
1303)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at java.util.concurrent.CountDownLatch.await(CountDownLatch.java:236)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.couchbase.client.vbucket.BucketUpdateResponseHandler.getReceivedFuture(BucketUpdateResponseHandler.java:147)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.couchbase.client.vbucket.BucketUpdateResponseHandler.getLastResponse(BucketUpdateResponseHandler.java:127)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.couchbase.client.vbucket.BucketMonitor.startMonitor(BucketMonitor.java:212)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.couchbase.client.vbucket.ConfigurationProviderHTTP.subscribe(ConfigurationProviderHTTP.java:333)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;- locked &amp;lt;0x00000007f81cb9c0&amp;gt; (a com.couchbase.client.vbucket.ConfigurationProviderHTTP)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.couchbase.client.CouchbaseClient.&amp;lt;init&amp;gt;(CouchbaseClient.java:247)&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;</description>
                <environment></environment>
            <key id="24354">JCBC-304</key>
            <summary>Client leads to a deadlock when all the servers are unavailable</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="ingenthr">Matt Ingenthron</assignee>
                                <reporter username="deeptida">Deepti Dawar</reporter>
                        <labels>
                    </labels>
                <created>Tue, 21 May 2013 02:06:55 -0500</created>
                <updated>Fri, 24 May 2013 04:03:16 -0500</updated>
                                                                                    <votes>0</votes>
                        <watches>2</watches>
                                                    <comments>
                    <comment id="59113" author="deeptida" created="Thu, 23 May 2013 00:58:07 -0500"  >The usage of CountDownLatch here in BucketMonitor may not be quite justified in the case where the user application is calling this from a multi-threaded env in a non-synchronized manner.&lt;br/&gt;
Here either our code needs to be intelligent enough to avoid deadlocks or the calling application needs to be aware of the same.&lt;br/&gt;
&lt;br/&gt;
Looking at the customer issue which lead to this, their usage of the CouchbaseClient instance seems incorrect.&lt;br/&gt;
&lt;br/&gt;
Matt, Can you please suggest ?</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10000">
                <name>Dependency</name>
                                                <inwardlinks description="blocks">
                                    </inwardlinks>
                            </issuelinktype>
                    </issuelinks>
                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>11341</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-311] Expose the Server Error Code in the OperationStatus</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-311</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>The Java SDK does not use the Error Code from the server side, as documented here:&lt;br/&gt;
&lt;a href=&quot;http://blog.couchbase.com/handling-runtime-errors-ruby-python-and-c-clients&quot;&gt;http://blog.couchbase.com/handling-runtime-errors-ruby-python-and-c-clients&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
It would be very useful for the developer to be able to use the same code in Java. We could use the OperationStatus to expose this enumeration.</description>
                <environment></environment>
            <key id="24406">JCBC-311</key>
            <summary>Expose the Server Error Code in the OperationStatus</summary>
                <type id="2" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/newfeature.png">New Feature</type>
                                <priority id="4" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/minor.png">Minor</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="tgrall">Tug Grall</reporter>
                        <labels>
                    </labels>
                <created>Thu, 23 May 2013 11:05:18 -0500</created>
                <updated>Thu, 23 May 2013 11:05:18 -0500</updated>
                                    <version>1.1.6</version>
                                                <component>library</component>
                                <votes>0</votes>
                        <watches>1</watches>
                                                            <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>11397</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-310] Create a getBulk() operation that returns CASValue object</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-310</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>The current client.getBulk(keys) returns the values only,&lt;br/&gt;
&lt;br/&gt;
It would be useful to create an operation that returns the list of CASValue to allow developer to do CAS operations.&lt;br/&gt;
&lt;br/&gt;
This should also be supported by the views when doing a &amp;quot;includeDocs&amp;quot; operation</description>
                <environment></environment>
            <key id="24404">JCBC-310</key>
            <summary>Create a getBulk() operation that returns CASValue object</summary>
                <type id="2" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/newfeature.png">New Feature</type>
                                <priority id="4" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/minor.png">Minor</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="tgrall">Tug Grall</reporter>
                        <labels>
                    </labels>
                <created>Thu, 23 May 2013 10:37:27 -0500</created>
                <updated>Thu, 23 May 2013 10:37:57 -0500</updated>
                                    <version>1.1.6</version>
                                                                <votes>0</votes>
                        <watches>1</watches>
                                                            <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>11395</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-309] Catch ConcurrentModificationException in IO thread as safety net.</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-309</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description></description>
                <environment></environment>
            <key id="24401">JCBC-309</key>
            <summary>Catch ConcurrentModificationException in IO thread as safety net.</summary>
                <type id="3" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/task.png">Task</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="daschl">Michael Nitschinger</reporter>
                        <labels>
                    </labels>
                <created>Thu, 23 May 2013 01:53:24 -0500</created>
                <updated>Thu, 23 May 2013 01:53:24 -0500</updated>
                                    <version>1.1.6</version>
                                <fixVersion>1.1.7</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>1</watches>
                                                            <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>11393</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-305] Client does not recover with Memcached connection to the server and primary node goes down.</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-305</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>2013-05-21 12:59:04.158 ERROR net.spy.memcached.protocol.ascii.StoreOperationImpl:  Error:  SERVER_ERROR temporary failure&lt;br/&gt;
&amp;nbsp;Deepti Exception 1 java.util.concurrent.ExecutionException: OperationException: SERVER: SERVER_ERROR temporary failure&lt;br/&gt;
2013-05-21 12:59:04.158 INFO net.spy.memcached.MemcachedConnection:  Reconnection due to exception handling a memcached operation on {QA sa=/10.3.121.207:11211, #Rops=2, #Wops=0, #iq=0, topRop=Cmd: add Key: Emp0000000365cbc Flags: 0 Exp: 0 Data Length: 79, topWop=null, toWrite=0, interested=8}. This may be due to an authentication failure.&lt;br/&gt;
OperationException: SERVER: SERVER_ERROR temporary failure&lt;br/&gt;
	at net.spy.memcached.protocol.BaseOperationImpl.handleError(BaseOperationImpl.java:164)&lt;br/&gt;
	at net.spy.memcached.protocol.ascii.OperationImpl.readFromBuffer(OperationImpl.java:151)&lt;br/&gt;
	at net.spy.memcached.MemcachedConnection.handleReads(MemcachedConnection.java:537)&lt;br/&gt;
	at net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:430)&lt;br/&gt;
	at net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:247)&lt;br/&gt;
	at net.spy.memcached.MemcachedConnection.run(MemcachedConnection.java:915)&lt;br/&gt;
2013-05-21 12:59:04.159 WARN net.spy.memcached.MemcachedConnection:  Could not redistribute to another node, retrying primary node for Emp0000000366cbc.&lt;br/&gt;
2013-05-21 12:59:04.159 WARN net.spy.memcached.MemcachedConnection:  Closing, and reopening {QA sa=/10.3.121.207:11211, #Rops=2, #Wops=0, #iq=0, topRop=Cmd: add Key: Emp0000000365cbc Flags: 0 Exp: 0 Data Length: 79, topWop=null, toWrite=0, interested=8}, attempt 22.&lt;br/&gt;
2013-05-21 12:59:04.159 WARN net.spy.memcached.MemcachedConnection:  Could not redistribute to another node, retrying primary node for Emp0000000366cbc.&lt;br/&gt;
2013-05-21 12:59:04.159 WARN net.spy.memcached.protocol.ascii.AsciiMemcachedNodeImpl:  Discarding partially completed op: Cmd: add Key: Emp0000000365cbc Flags: 0 Exp: 0 Data Length: 79&lt;br/&gt;
2013-05-21 12:59:04.160 WARN net.spy.memcached.protocol.ascii.AsciiMemcachedNodeImpl:  Discarding partially completed op: Cmd: version&lt;br/&gt;
2013-05-21 12:59:04.160 WARN net.spy.memcached.MemcachedConnection:  Could not redistribute to another node, retrying primary node for Emp0000000366cbc.&lt;br/&gt;
2013-05-21 12:59:04.160 WARN net.spy.memcached.MemcachedConnection:  Could not redistribute to another node, retrying primary node for Emp0000000366cbc.&lt;br/&gt;
&amp;nbsp;Deepti Exception 1 java.lang.RuntimeException: Timed out waiting for operation&lt;br/&gt;
2013-05-21 12:59:06.660 WARN net.spy.memcached.MemcachedConnection:  Could not redistribute to another node, retrying primary node for Emp0000000367cbc.&lt;br/&gt;
2013-05-21 12:59:06.661 WARN net.spy.memcached.MemcachedConnection:  Could not redistribute to another node, retrying primary node for Emp0000000367cbc.&lt;br/&gt;
&amp;nbsp;Deepti Exception 1 java.lang.RuntimeException: Timed out waiting for operation&lt;br/&gt;
2013-05-21 12:59:09.163 WARN net.spy.memcached.MemcachedConnection:  Could not redistribute to another node, retrying primary node for Emp0000000368cbc.&lt;br/&gt;
2013-05-21 12:59:09.164 WARN net.spy.memcached.MemcachedConnection:  Could not redistribute to another node, retrying primary node for Emp0000000368cbc.&lt;br/&gt;
&amp;nbsp;Deepti Exception 1 java.lang.RuntimeException: Timed out waiting for operation&lt;br/&gt;
2013-05-21 12:59:11.666 WARN net.spy.memcached.MemcachedConnection:  Could not redistribute to another node, retrying primary node for Emp0000000369cbc.&lt;br/&gt;
2013-05-21 12:59:11.667 WARN net.spy.memcached.MemcachedConnection:  Could not redistribute to another node, retrying primary node for Emp0000000369cbc.&lt;br/&gt;
&amp;nbsp;Deepti Exception 1 java.lang.RuntimeException: Timed out waiting for operation&lt;br/&gt;
2013-05-21 12:59:14.168 WARN net.spy.memcached.MemcachedConnection:  Could not redistribute to another node, retrying primary node for Emp0000000370cbc.&lt;br/&gt;
2013-05-21 12:59:14.169 WARN net.spy.memcached.MemcachedConnection:  Could not redistribute to another node, retrying primary node for Emp0000000370cbc.&lt;br/&gt;
&amp;nbsp;Deepti Exception 1 java.lang.RuntimeException: Timed out waiting for operation&lt;br/&gt;
2013-05-21 12:59:16.671 WARN net.spy.memcached.MemcachedConnection:  Could not redistribute to another node, retrying primary node for Emp0000000371cbc.&lt;br/&gt;
2013-05-21 12:59:16.672 WARN net.spy.memcached.MemcachedConnection:  Could not redistribute to another node, retrying primary node for Emp0000000371cbc.&lt;br/&gt;
&amp;nbsp;Deepti Exception 1 java.lang.RuntimeException: Timed out waiting for operation&lt;br/&gt;
2013-05-21 12:59:19.174 WARN net.spy.memcached.MemcachedConnection:  Could not redistribute to another node, retrying primary node for Emp0000000372cbc.&lt;br/&gt;
2013-05-21 12:59:19.175 WARN net.spy.memcached.MemcachedConnection:  Could not redistribute to another node, retrying primary node for Emp0000000372cbc.&lt;br/&gt;
&amp;nbsp;Deepti Exception 1 java.lang.RuntimeException: Timed out waiting for operation&lt;br/&gt;
2013-05-21 12:59:21.677 WARN net.spy.memcached.MemcachedConnection:  Could not redistribute to another node, retrying primary node for Emp0000000373cbc.&lt;br/&gt;
2013-05-21 12:59:21.678 WARN net.spy.memcached.MemcachedConnection:  Could not redistribute to another node, retrying primary node for Emp0000000373cbc.&lt;br/&gt;
&amp;nbsp;Deepti Exception 1 java.lang.RuntimeException: Timed out waiting for operation&lt;br/&gt;
2013-05-21 12:59:24.179 WARN net.spy.memcached.MemcachedConnection:  Could not redistribute to another node, retrying primary node for Emp0000000374cbc.&lt;br/&gt;
2013-05-21 12:59:24.180 WARN net.spy.memcached.MemcachedConnection:  Could not redistribute to another node, retrying primary node for Emp0000000374cbc.</description>
                <environment></environment>
            <key id="24355">JCBC-305</key>
            <summary>Client does not recover with Memcached connection to the server and primary node goes down.</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="deeptida">Deepti Dawar</assignee>
                                <reporter username="deeptida">Deepti Dawar</reporter>
                        <labels>
                    </labels>
                <created>Tue, 21 May 2013 02:31:52 -0500</created>
                <updated>Tue, 21 May 2013 22:35:54 -0500</updated>
                                                                                    <votes>0</votes>
                        <watches>2</watches>
                                                    <comments>
                    <comment id="58875" author="deeptida" created="Tue, 21 May 2013 03:00:16 -0500"  >In this case, server is stopped one by one on all the server nodes starting with the primary node.&lt;br/&gt;
Even when the first node is brought up, the client does not recover. It recovers much after all the nodes are started and are active in the cluster.</comment>
                    <comment id="58877" author="deeptida" created="Tue, 21 May 2013 03:05:13 -0500"  >One more observation, the client is only trying to insert data to the server nodes. Even if the primary node fails, it should not wait for the recovery of this node, instead should point to the other active node of the cluster and add the data there.&lt;br/&gt;
Not sure of the behavior here. Matt, can you please help me in understanding what should be the correct behavior in this case.</comment>
                    <comment id="58970" author="deeptida" created="Tue, 21 May 2013 22:35:54 -0500"  >When all nodes are given as input, then also the behavior remains the same or even worse. Now getting the ConcurrentExecutionException while cancelling the connection to the primary node when it goes down. Attatched is the log.</comment>
                </comments>
                    <attachments>
                    <attachment id="17422" name="mem_all_nodes_input.log" size="83229" author="deeptida" created="Tue, 21 May 2013 22:35:54 -0500" />
                    <attachment id="17400" name="mem_primary_node_failure.log" size="94826" author="deeptida" created="Tue, 21 May 2013 02:40:30 -0500" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>11342</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-308] Trouble in resubscribing to primary node via cbc, when all servers go down one by one.</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-308</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>PFA the logs.&lt;br/&gt;
</description>
                <environment></environment>
            <key id="24384">JCBC-308</key>
            <summary>Trouble in resubscribing to primary node via cbc, when all servers go down one by one.</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="2" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/critical.png">Critical</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="deeptida">Deepti Dawar</assignee>
                                <reporter username="deeptida">Deepti Dawar</reporter>
                        <labels>
                    </labels>
                <created>Tue, 21 May 2013 22:05:26 -0500</created>
                <updated>Tue, 21 May 2013 22:06:57 -0500</updated>
                                    <version>1.1.6</version>
                                <fixVersion>.next</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>1</watches>
                                                            <attachments>
                    <attachment id="17421" name="cbc_server_all_nodes_failure.log" size="91806" author="deeptida" created="Tue, 21 May 2013 22:06:57 -0500" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>11375</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-307] Hybrid workload with rebalance scenario - error in accessing view</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-307</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>Attached is the log and following is the stack trace -&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
SDKD: May 10, 2013 1:32:51 AM com.couchbase.sdkd.cbclient.CommandResult warnAbout&lt;br/&gt;
SDKD: WARNING: Unknown exception encountered (for operation) future warnings will be suppressed&lt;br/&gt;
SDKD: java.lang.RuntimeException: Failed to access the view&lt;br/&gt;
SDKD: 	at com.couchbase.client.CouchbaseClient.query(CouchbaseClient.java:871)&lt;br/&gt;
SDKD: 	at com.couchbase.sdkd.cbclient.ViewQueryCommandContext.execIter(ViewQueryCommandContext.java:252)&lt;br/&gt;
SDKD: 	at com.couchbase.sdkd.cbclient.CommandContext.execute(CommandContext.java:374)&lt;br/&gt;
SDKD: 	at com.couchbase.sdkd.server.SdkServer.executeCommand(SdkServer.java:168)&lt;br/&gt;
SDKD: 	at com.couchbase.sdkd.server.SdkServer.handleRequest(SdkServer.java:189)&lt;br/&gt;
SDKD: 	at com.couchbase.sdkd.server.SdkServer.run(SdkServer.java:245)&lt;br/&gt;
SDKD: Caused by: java.util.concurrent.ExecutionException: OperationException: SERVER: error Reason: A view spec can not consist of merges exclusively.&lt;br/&gt;
SDKD: 	at com.couchbase.client.internal.HttpFuture.waitForAndCheckOperation(HttpFuture.java:90)&lt;br/&gt;
SDKD: 	at com.couchbase.client.internal.HttpFuture.get(HttpFuture.java:74)&lt;br/&gt;
SDKD: 	at com.couchbase.client.internal.HttpFuture.get(HttpFuture.java:64)&lt;br/&gt;
SDKD: 	at com.couchbase.client.CouchbaseClient.query(CouchbaseClient.java:864)&lt;br/&gt;
SDKD: 	... 5 more&lt;br/&gt;
SDKD: Caused by: OperationException: SERVER: error Reason: A view spec can not consist of merges exclusively.&lt;br/&gt;
SDKD: 	at com.couchbase.client.protocol.views.NoDocsOperationImpl.parseError(NoDocsOperationImpl.java:106)&lt;br/&gt;
SDKD: 	at com.couchbase.client.protocol.views.ViewOperationImpl.handleResponse(ViewOperationImpl.java:68)&lt;br/&gt;
SDKD: 	at com.couchbase.client.ViewNode$MyHttpRequestExecutionHandler.handleResponse(ViewNode.java:204)&lt;br/&gt;
SDKD: 	at org.apache.http.nio.protocol.AsyncNHttpClientHandler.processResponse(AsyncNHttpClientHandler.java:417)&lt;br/&gt;
SDKD: 	at org.apache.http.nio.protocol.AsyncNHttpClientHandler.inputReady(AsyncNHttpClientHandler.java:242)&lt;br/&gt;
SDKD: 	at com.couchbase.client.http.AsyncConnectionManager$ManagedClientHandler.inputReady(AsyncConnectionManager.java:249)&lt;br/&gt;
SDKD: 	at org.apache.http.impl.nio.DefaultNHttpClientConnection.consumeInput(DefaultNHttpClientConnection.java:172)&lt;br/&gt;
SDKD: 	at org.apache.http.impl.nio.DefaultClientIOEventDispatch.inputReady(DefaultClientIOEventDispatch.java:155)&lt;br/&gt;
SDKD: 	at org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:161)&lt;br/&gt;
SDKD: 	at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:335)&lt;br/&gt;
SDKD: 	at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:315)&lt;br/&gt;
SDKD: 	at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:275)&lt;br/&gt;
SDKD: 	at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:104)&lt;br/&gt;
SDKD: 	at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:542)&lt;br/&gt;
SDKD: 	at java.lang.Thread.run(Thread.java:619)</description>
                <environment></environment>
            <key id="24362">JCBC-307</key>
            <summary>Hybrid workload with rebalance scenario - error in accessing view</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="3">Duplicate</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="deeptida">Deepti Dawar</reporter>
                        <labels>
                    </labels>
                <created>Tue, 21 May 2013 05:26:06 -0500</created>
                <updated>Tue, 21 May 2013 05:47:04 -0500</updated>
                    <resolved>Tue, 21 May 2013 05:32:31 -0500</resolved>
                            <version>1.1.6</version>
                                                <component>library</component>
                                <votes>0</votes>
                        <watches>2</watches>
                                                    <comments>
                    <comment id="58891" author="daschl" created="Tue, 21 May 2013 05:32:31 -0500"  >Hey,&lt;br/&gt;
&lt;br/&gt;
this is a duplicate (tracked somewhere else, but I dont remeber the exact ticket)&lt;br/&gt;
&lt;br/&gt;
More importantly, this is a bug on the server side, we can&amp;#39;t do much about it at the moment. Anyway, closing this since we don&amp;#39;t want to track it twice!</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10001">
                <name>Duplicate</name>
                                <outwardlinks description="duplicates">
                            <issuelink>
            <issuekey id="22436">JCBC-231</issuekey>
        </issuelink>
                    </outwardlinks>
                                            </issuelinktype>
                    </issuelinks>
                <attachments>
                    <attachment id="17405" name="HYBRID_rb-2-out_1.1.6_views_access_error.log" size="192619" author="deeptida" created="Tue, 21 May 2013 05:26:06 -0500" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>11349</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-231] Handle View Errors (Vbucket &amp; Merge) appropriately</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-231</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>During rebalance out it can happen that the view node is still able to service http connections, but fails with the following errors:&lt;br/&gt;
&lt;br/&gt;
- error Reason: A view spec can not consist of merges exclusively. &lt;br/&gt;
or&lt;br/&gt;
-  no_active_vbuckets Reason: Cannot execute view query since the node has no active vbuckets &lt;br/&gt;
&lt;br/&gt;
If this is happening, the client needs to deal with it. Appropriate solution needs still to be dicussed, but one approach could be to retry on a different node. Note that this needs to work for both async and sync calls.</description>
                <environment></environment>
            <key id="22436">JCBC-231</key>
            <summary>Handle View Errors (Vbucket &amp; Merge) appropriately</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="2" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/critical.png">Critical</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="daschl">Michael Nitschinger</reporter>
                        <labels>
                    </labels>
                <created>Sat, 2 Feb 2013 01:56:37 -0600</created>
                <updated>Tue, 21 May 2013 05:42:57 -0500</updated>
                                    <version>1.1.0</version>
                <version>1.1.1</version>
                                <fixVersion>1.1.7</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>1</watches>
                                                    <comments>
                    <comment id="49572" author="daschl" created="Sat, 2 Feb 2013 01:57:12 -0600"  >The corresponding server ticket can be found here: &lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-7661&quot;&gt;http://www.couchbase.com/issues/browse/MB-7661&lt;/a&gt;</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10001">
                <name>Duplicate</name>
                                                <inwardlinks description="is duplicated by">
                            <issuelink>
            <issuekey id="24362">JCBC-307</issuekey>
        </issuelink>
                    </inwardlinks>
                            </issuelinktype>
                    </issuelinks>
                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8368</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-306] Add a method that returns the list of design document for a bucket</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-306</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>It would be great to add a method to return the list of design document for a bucket.&lt;br/&gt;
&lt;br/&gt;
We should do something like:&lt;br/&gt;
&lt;br/&gt;
List&amp;lt; DesignDocument &amp;gt; client.getDesignDocuments() </description>
                <environment></environment>
            <key id="24359">JCBC-306</key>
            <summary>Add a method that returns the list of design document for a bucket</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="4" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/minor.png">Minor</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="tgrall">Tug Grall</reporter>
                        <labels>
                    </labels>
                <created>Tue, 21 May 2013 03:40:06 -0500</created>
                <updated>Tue, 21 May 2013 03:40:34 -0500</updated>
                                    <version>1.1.6</version>
                                                <component>library</component>
                                <votes>0</votes>
                        <watches>1</watches>
                                                            <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>11346</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-300] Add as Example: Java/NoSQL Tricks</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-300</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>&lt;a href=&quot;http://www.infoworld.com/d/application-development/how-teach-java-ee-app-new-nosql-tricks-215277&quot;&gt;http://www.infoworld.com/d/application-development/how-teach-java-ee-app-new-nosql-tricks-215277&lt;/a&gt;</description>
                <environment></environment>
            <key id="23442">JCBC-300</key>
            <summary>Add as Example: Java/NoSQL Tricks</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="4" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/minor.png">Minor</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="kzeller">Karen Zeller</reporter>
                        <labels>
                    </labels>
                <created>Thu, 28 Mar 2013 17:38:16 -0500</created>
                <updated>Mon, 20 May 2013 14:35:47 -0500</updated>
                                                                                    <votes>0</votes>
                        <watches>1</watches>
                                                    <comments>
                    <comment id="57736" author="kzeller" created="Thu, 9 May 2013 15:59:20 -0500"  >I&amp;#39;m not sure i would take this request as high priority, but back in March, someone (I can&amp;#39;t remember) sent me an email saying we should add this type of content to our doc set.&lt;br/&gt;
&lt;br/&gt;
I would just keep this in your queue for now. It might just be more informational/inspirational......My suspicions is this is a priority 2.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>2945</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-204] document increment/decrement behavior with non-numeric value</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-204</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>Increment and decrement should document what happens if the key exists on the server, but the value is invalid. It should describe what a valid value is (and link to the Developer&amp;#39;s Guide page that describes the server-side behavior in greater detail).&lt;br/&gt;
&lt;br/&gt;
Valid value is a string. String is decimal representation of an unsigned 64-bit integer.</description>
                <environment>&lt;a href=&quot;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/couchbase-sdk-java-update-incr.html&quot;&gt;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/couchbase-sdk-java-update-incr.html&lt;/a&gt;</environment>
            <key id="21570">JCBC-204</key>
            <summary>document increment/decrement behavior with non-numeric value</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="TimSmith">Tim Smith</reporter>
                        <labels>
                    </labels>
                <created>Wed, 2 Jan 2013 16:31:08 -0600</created>
                <updated>Mon, 20 May 2013 14:32:05 -0500</updated>
                                    <version>1.1.0</version>
                                <fixVersion>1.1.7</fixVersion>
                                <component>docs</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="49159" author="daschl" created="Thu, 31 Jan 2013 08:51:18 -0600"  >Moving to 1.1.2, depending on the size of the change maybe will be 1.1.3 or in between.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>24</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                <customfield id="customfield_10080" key="com.pyxis.greenhopper.jira:gh-sprint">
                <customfieldname>Sprint</customfieldname>
                <customfieldvalues>
                        <customfieldvalue>13</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                    </customfields>
    </item>

<item>
            <title>[JCBC-11] Need more unit tests for couchbase-client </title>
                <link>http://www.couchbase.com/issues/browse/JCBC-11</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;CouchbaseConnectionFactoryBuilder cfb = new CouchbaseConnectionFactoryBuilder();&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;cfb.setOpTimeout(10000);  // wait up to 10 seconds for an operation to succeed&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;cfb.setOpQueueMaxBlockTime(5000); // wait up to 5 seconds when trying to enqueue an operation       &lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br/&gt;
&lt;br/&gt;
For example, will fill up the funnel (the blocking queue) to the rim, but not overflow (immediately timeout).  Once it&amp;#39;s at the rim, it&amp;#39;ll have to wait to wait until at least one operation flows out to add another operation.  This *will* slow down the callers (their async calls will actually block on this internal queue), but that&amp;#39;s okay in a bulk loader.&lt;br/&gt;
&lt;br/&gt;
However, there are no unit tests in couchbase-client to test this.&lt;br/&gt;
</description>
                <environment></environment>
            <key id="16086">JCBC-11</key>
            <summary>Need more unit tests for couchbase-client </summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="4" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/reopened.png">Reopened</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="rags">Raghavan Srinivas</reporter>
                        <labels>
                    </labels>
                <created>Fri, 3 Feb 2012 20:57:28 -0600</created>
                <updated>Mon, 20 May 2013 14:30:50 -0500</updated>
                                    <version>1.0.1</version>
                                <fixVersion>1.1.7</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                            <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8607</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-15] add showtype-options to documentation</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-15</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>Many of the Java docs should show the type in the options summary.  </description>
                <environment></environment>
            <key id="16195">JCBC-15</key>
            <summary>add showtype-options to documentation</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="4" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/reopened.png">Reopened</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="ingenthr">Matt Ingenthron</reporter>
                        <labels>
                    </labels>
                <created>Thu, 23 Feb 2012 14:44:06 -0600</created>
                <updated>Mon, 20 May 2013 14:30:50 -0500</updated>
                                                    <fixVersion>1.1.7</fixVersion>
                                <component>docs</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="44066" author="daschl" created="Thu, 15 Nov 2012 07:14:30 -0600"  >Can you give me a quick example on what you mean? Reassign it back to me then and I&amp;#39;ll fix it!</comment>
                    <comment id="44094" author="ingenthr" created="Thu, 15 Nov 2012 10:52:09 -0600"  >If you look at the docs, there are many places where we have types that are returned, but we don&amp;#39;t sufficiently describe those types.  For example:&lt;br/&gt;
&lt;a href=&quot;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/couchbase-sdk-java-set-add.html#table-couchbase-sdk_java_add&quot;&gt;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/couchbase-sdk-java-set-add.html#table-couchbase-sdk_java_add&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
It mentions the OperationFuture, but nowhere really tell how to use it (to my knowledge).&lt;br/&gt;
&lt;br/&gt;
You should be able to work with MC on the right way to fix these.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8606</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-89] re-enable optimization after error handling in binary optimized sets is fixed in dependent spymemcached</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-89</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description></description>
                <environment></environment>
            <key id="18727">JCBC-89</key>
            <summary>re-enable optimization after error handling in binary optimized sets is fixed in dependent spymemcached</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="2" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/critical.png">Critical</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="ingenthr">Matt Ingenthron</reporter>
                        <labels>
                    </labels>
                <created>Tue, 31 Jul 2012 01:28:17 -0500</created>
                <updated>Mon, 20 May 2013 14:30:49 -0500</updated>
                                    <version>1.0.3</version>
                                <fixVersion>1.1.7</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="46128" author="ingenthr" created="Mon, 17 Dec 2012 19:02:40 -0600"  >I do think this one needs to be addressed before 1.2.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8602</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-18] NPE if hostnames in server bootstrap list are mixed case</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-18</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>A user described a scenario where using mixed case in their URIs lead to an NPE.  This is from the map lookup, since  what the couchbase cluster sends us is different than what the user entered, I think.&lt;br/&gt;
&lt;br/&gt;
See: &lt;a href=&quot;http://www.couchbase.com/forums/thread/java-client-101-exception-using-couchbaseclient-servlet-filter&quot;&gt;http://www.couchbase.com/forums/thread/java-client-101-exception-using-couchbaseclient-servlet-filter&lt;/a&gt;</description>
                <environment></environment>
            <key id="16291">JCBC-18</key>
            <summary>NPE if hostnames in server bootstrap list are mixed case</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="4" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/reopened.png">Reopened</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="ingenthr">Matt Ingenthron</assignee>
                                <reporter username="ingenthr">Matt Ingenthron</reporter>
                        <labels>
                    </labels>
                <created>Mon, 12 Mar 2012 10:22:35 -0500</created>
                <updated>Mon, 20 May 2013 14:30:49 -0500</updated>
                                    <version>1.1-dp4</version>
                                <fixVersion>1.1.7</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                            <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8605</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-61] Expose returned CAS value in CASResponse when available from binary protocol</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-61</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>Customer request to add the capability to retrieve new cas value after a cas() operation to avoid a subsequent gets()</description>
                <environment></environment>
            <key id="17563">JCBC-61</key>
            <summary>Expose returned CAS value in CASResponse when available from binary protocol</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="4" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/reopened.png">Reopened</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="perry">Perry Krug</reporter>
                        <labels>
                    </labels>
                <created>Wed, 6 Jun 2012 12:03:11 -0500</created>
                <updated>Mon, 20 May 2013 14:30:49 -0500</updated>
                                    <version>1.1dp</version>
                                <fixVersion>1.1.7</fixVersion>
                                <component>library</component>
                                <votes>2</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="45022" author="daschl" created="Thu, 29 Nov 2012 13:43:54 -0600"  >This may already be implemented, need to check.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>32</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                <customfield id="customfield_10080" key="com.pyxis.greenhopper.jira:gh-sprint">
                <customfieldname>Sprint</customfieldname>
                <customfieldvalues>
                        <customfieldvalue>13</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                    </customfields>
    </item>

<item>
            <title>[JCBC-108] observe loop implementation behind mutations should be adaptive to server persistence latencies</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-108</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>The current observe loop implementation does not acknowledge the average persistence latency which is in the observe response.</description>
                <environment></environment>
            <key id="19700">JCBC-108</key>
            <summary>observe loop implementation behind mutations should be adaptive to server persistence latencies</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="ingenthr">Matt Ingenthron</reporter>
                        <labels>
                    </labels>
                <created>Tue, 11 Sep 2012 18:48:29 -0500</created>
                <updated>Mon, 20 May 2013 14:30:49 -0500</updated>
                                                    <fixVersion>1.1.7</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                            <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8601</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-76] Replica read command</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-76</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>Implement a simple replica read command</description>
                <environment></environment>
            <key id="18333">JCBC-76</key>
            <summary>Replica read command</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="4" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/minor.png">Minor</priority>
                    <status id="3" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/inprogress.png">In Progress</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="ingenthr">Matt Ingenthron</reporter>
                        <labels>
                    </labels>
                <created>Thu, 12 Jul 2012 00:13:11 -0500</created>
                <updated>Mon, 20 May 2013 14:30:49 -0500</updated>
                                                    <fixVersion>1.1.7</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>1</watches>
                                                    <comments>
                    <comment id="37289" author="ingenthr" created="Wed, 29 Aug 2012 18:56:22 -0500"  >See &lt;a href=&quot;http://www.couchbase.com/wiki/display/couchbase/Replica+Read&quot;&gt;http://www.couchbase.com/wiki/display/couchbase/Replica+Read&lt;/a&gt; for details on implementation.</comment>
                    <comment id="39078" author="rags" created="Fri, 14 Sep 2012 19:41:38 -0500"  >This will be experimental functionality for 1.1</comment>
                    <comment id="49165" author="daschl" created="Thu, 31 Jan 2013 09:16:15 -0600"  >Moving to .next until it is decided if this will make it into 1.2 or not.</comment>
                    <comment id="50396" author="ingenthr" created="Thu, 14 Feb 2013 02:13:17 -0600"  >Michael: this has come up again recently so if possible we&amp;#39;d like to get it in a build for testing soon and see about adding it as experimental, if not supported, in 1.1.3.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8824</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-83] replace use of java assert in tests with junit assertions, including messages</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-83</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description></description>
                <environment></environment>
            <key id="18387">JCBC-83</key>
            <summary>replace use of java assert in tests with junit assertions, including messages</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="4" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/minor.png">Minor</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="mikew">Mike Wiederhold</reporter>
                        <labels>
                    </labels>
                <created>Thu, 12 Jul 2012 13:20:44 -0500</created>
                <updated>Mon, 20 May 2013 14:30:49 -0500</updated>
                                                    <fixVersion>1.1.7</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="49169" author="daschl" created="Thu, 31 Jan 2013 09:22:22 -0600"  >Moving to 1.1.2 because its a smaller change.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>34</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                <customfield id="customfield_10080" key="com.pyxis.greenhopper.jira:gh-sprint">
                <customfieldname>Sprint</customfieldname>
                <customfieldvalues>
                        <customfieldvalue>13</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                    </customfields>
    </item>

<item>
            <title>[JCBC-114] Command Futures never receive results after rebalance-out (or other sorts of topology/network changes)</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-114</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description></description>
                <environment></environment>
            <key id="19782">JCBC-114</key>
            <summary>Command Futures never receive results after rebalance-out (or other sorts of topology/network changes)</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="4" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/reopened.png">Reopened</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="mnunberg">Mark Nunberg</reporter>
                        <labels>
                    </labels>
                <created>Mon, 17 Sep 2012 00:46:29 -0500</created>
                <updated>Mon, 20 May 2013 14:30:48 -0500</updated>
                                    <version>1.0.3</version>
                                <fixVersion>1.1.7</fixVersion>
                                <component>docs</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="40221" author="mnunberg" created="Wed, 3 Oct 2012 13:13:10 -0500"  >This is a real blocker, and seems to be related to a few vbuckets. This issue is preventing me from properly measuring command durations </comment>
                    <comment id="40230" author="farshid" created="Wed, 3 Oct 2012 14:21:48 -0500"  >Matt/Rags,&lt;br/&gt;
&lt;br/&gt;
This issue is a blocker for executing more integration tests on java sdk. are there workarounds to avoid this use case or a fix on the way ?&lt;br/&gt;
Please assign this back to Mark if more information or logs needed for this issue</comment>
                    <comment id="40442" author="ingenthr" created="Thu, 4 Oct 2012 17:57:14 -0500"  >Please have a look at this.</comment>
                    <comment id="40500" author="mnunberg" created="Fri, 5 Oct 2012 09:56:11 -0500"  >Michael,&lt;br/&gt;
&lt;br/&gt;
I would not try this test manually.. the use case in more detail is as follows:&lt;br/&gt;
&lt;br/&gt;
- Single CouchbaseClient object&lt;br/&gt;
- 20 user threads. 10 setting and 10 getting the same sorts of kv&lt;br/&gt;
- Operations are done asynchronously. They are submitted into a queue which is then checked periodically for isDone/isCancelled.&lt;br/&gt;
- 4 node cluster. Nodes are removed, connections are broken&lt;br/&gt;
&lt;br/&gt;
The issue is those polling methods never returning true, unless they are retrieved synchronously (i.e. ft.get()).. which is actually an accidental detail</comment>
                    <comment id="42383" author="ingenthr" created="Wed, 24 Oct 2012 08:44:39 -0500"  >We looked at this pretty closely today.  The issue here is that the client as designed relies on the get() from the caller to trigger the timeout.  An operation will, somewhat correctly, never transition to isDone() or isCancelled() unless someone cares to use it. &lt;br/&gt;
&lt;br/&gt;
The scenario that was likely in play over the WAN here is that the request was in flight to the server while the config was in flight down to the client.  It arrives at the server, but is never responded to.  Since the get() is never called, it&amp;#39;ll never time out and transition to the canceled state.&lt;br/&gt;
&lt;br/&gt;
We recommend you change the test code to use the queue more like a queue and just get() each one.  Iterating through the queue is a bit funny in the first place, but if using the get() on the Future objects, you&amp;#39;ll still have asynchronous behavior and much of the time the get() will be returning since the data is already there.</comment>
                    <comment id="42413" author="ingenthr" created="Wed, 24 Oct 2012 13:35:13 -0500"  >This behavior should be better documented, both in the javadoc and in the API reference.</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10000">
                <name>Dependency</name>
                                <outwardlinks description="depends on">
                            <issuelink>
            <issuekey id="19871">JCBC-117</issuekey>
        </issuelink>
                    </outwardlinks>
                                            </issuelinktype>
                    </issuelinks>
                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8599</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-115] thoroughly test on_error arguments</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-115</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>Support for on_error was recently added, but it does does not currently have a test for on_error=stop.</description>
                <environment></environment>
            <key id="19810">JCBC-115</key>
            <summary>thoroughly test on_error arguments</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="ingenthr">Matt Ingenthron</reporter>
                        <labels>
                    </labels>
                <created>Tue, 18 Sep 2012 01:51:15 -0500</created>
                <updated>Mon, 20 May 2013 14:30:48 -0500</updated>
                                                    <fixVersion>1.1.7</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="43659" author="daschl" created="Fri, 9 Nov 2012 11:13:25 -0600"  >Mark,&lt;br/&gt;
&lt;br/&gt;
Can you add this to your sdkd testsuite? Its hard to deal with this in unit tests (would require lots of mocking) and I assume you can shutdown nodes and verify the behavior is correct?&lt;br/&gt;
&lt;br/&gt;
Thanks,&lt;br/&gt;
Michael</comment>
                    <comment id="45021" author="daschl" created="Thu, 29 Nov 2012 13:41:16 -0600"  >We can do this in functional tests as well, there are easy ways to produce errors on the server.</comment>
                    <comment id="45028" author="mnunberg" created="Thu, 29 Nov 2012 14:33:51 -0600"  >Please share :)</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8598</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-116] Implement the ObserveSet for better observing of replication/persistence</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-116</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description></description>
                <environment></environment>
            <key id="19811">JCBC-116</key>
            <summary>Implement the ObserveSet for better observing of replication/persistence</summary>
                <type id="2" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/newfeature.png">New Feature</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="ingenthr">Matt Ingenthron</reporter>
                        <labels>
                    </labels>
                <created>Tue, 18 Sep 2012 02:37:30 -0500</created>
                <updated>Mon, 20 May 2013 14:30:48 -0500</updated>
                                                    <fixVersion>1.1.7</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                            <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8597</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-117] mention that OperationFuture.get(tmo) changes state when timeout has been reached</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-117</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>get(tmo) should not change the underlying state of the command to being timed out. It should simply respond with a TimeoutException but allow the command to continue.&lt;br/&gt;
&lt;br/&gt;
Specifically, when the arg-tmo (timeout passed as an argument) expires, the underlying command is marked as timed out. For example, if one waits for 50ms on the command and a response has not been received within that time, the command is now dead (&amp;#39;TIMEDOUT&amp;#39;, or similar) and waiting again will not help.&lt;br/&gt;
&lt;br/&gt;
It is understandable that some code might rely on the old behavior, so at the very least, this should be documented in &amp;#39;BIG RED LETTERS&amp;#39; in the get(tmo) method.</description>
                <environment></environment>
            <key id="19871">JCBC-117</key>
            <summary>mention that OperationFuture.get(tmo) changes state when timeout has been reached</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="4" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/reopened.png">Reopened</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="mnunberg">Mark Nunberg</reporter>
                        <labels>
                    </labels>
                <created>Mon, 24 Sep 2012 20:59:41 -0500</created>
                <updated>Mon, 20 May 2013 14:30:48 -0500</updated>
                                    <version>1.0.3</version>
                                <fixVersion>1.1.7</fixVersion>
                                <component>docs</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="40559" author="ingenthr" created="Fri, 5 Oct 2012 17:12:56 -0500"  >Please explain further.</comment>
                    <comment id="41472" author="daschl" created="Tue, 16 Oct 2012 06:52:53 -0500"  >Hey Mark,&lt;br/&gt;
&lt;br/&gt;
Can you explain in more detail what you want to see changed? When the argument is timed-out what should happen then with it?&lt;br/&gt;
&lt;br/&gt;
Thanks,&lt;br/&gt;
Michael</comment>
                    <comment id="42384" author="ingenthr" created="Wed, 24 Oct 2012 08:55:28 -0500"  >As currently designed, the client uses get() to determine timeout.  This is not going to change at the moment.  There&amp;#39;s no other appropriate place internal to the client to check for this timeout of the operation at the moment.</comment>
                    <comment id="42391" author="mnunberg" created="Wed, 24 Oct 2012 10:46:27 -0500"  >Moving this as a documentation bug</comment>
                    <comment id="43448" author="ingenthr" created="Tue, 6 Nov 2012 18:41:42 -0600"  >Michael, I&amp;#39;d like you to give this one a shot as your first docs bug, I&amp;#39;ll help you with this as needed.</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10000">
                <name>Dependency</name>
                                                <inwardlinks description="blocks">
                            <issuelink>
            <issuekey id="19782">JCBC-114</issuekey>
        </issuelink>
                    </inwardlinks>
                            </issuelinktype>
                    </issuelinks>
                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8596</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-113] code injection during development/debug causing IllegalStateException</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-113</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>Caused by: java.lang.IllegalStateException: Shutting down&lt;br/&gt;
at net.spy.memcached.MemcachedConnection.checkState(MemcachedConnection.java:824) ~[spymemcached-2.8.4.jar:2.8.4]&lt;br/&gt;
at net.spy.memcached.MemcachedConnection.enqueueOperation(MemcachedConnection.java:640) ~[spymemcached-2.8.4.jar:2.8.4]&lt;br/&gt;
at net.spy.memcached.MemcachedClient.asyncGet(MemcachedClient.java:841) ~[spymemcached-2.8.4.jar:2.8.4]&lt;br/&gt;
at net.spy.memcached.MemcachedClient.get(MemcachedClient.java:1003) ~[spymemcached-2.8.4.jar:2.8.4]&lt;br/&gt;
at net.spy.memcached.MemcachedClient.get(MemcachedClient.java:1024) ~[spymemcached-2.8.4.jar:2.8.4]&lt;br/&gt;
&lt;br/&gt;
It happens everytime I change the code in debug mode (JVM code injection)&lt;br/&gt;
&lt;br/&gt;
From thread: &lt;a href=&quot;http://www.couchbase.com/forums/thread/java-client-issue-after-code-injection&quot;&gt;http://www.couchbase.com/forums/thread/java-client-issue-after-code-injection&lt;/a&gt;</description>
                <environment></environment>
            <key id="19756">JCBC-113</key>
            <summary>code injection during development/debug causing IllegalStateException</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="4" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/minor.png">Minor</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="ingenthr">Matt Ingenthron</reporter>
                        <labels>
                    </labels>
                <created>Thu, 13 Sep 2012 18:25:28 -0500</created>
                <updated>Mon, 20 May 2013 14:30:48 -0500</updated>
                                    <version>1.1dp</version>
                <version>1.1dp2</version>
                <version>1.1.0</version>
                                <fixVersion>1.1.7</fixVersion>
                                <component>library</component>
                                <votes>1</votes>
                        <watches>1</watches>
                                                    <comments>
                    <comment id="44184" author="daschl" created="Fri, 16 Nov 2012 04:54:29 -0600"  >Asked &amp;quot;cb&amp;quot; on the forums for more information to be able to reproduce the issue.</comment>
                    <comment id="46542" author="cb" created="Sun, 23 Dec 2012 22:26:26 -0600"  >I tested on v1.1 and there are still issues:&lt;br/&gt;
&lt;br/&gt;
Caused by: java.lang.IllegalStateException: Shutting down&lt;br/&gt;
	at net.spy.memcached.MemcachedConnection.checkState(MemcachedConnection.java:825) ~[spymemcached-2.8.9.jar:2.8.9]&lt;br/&gt;
	at net.spy.memcached.MemcachedConnection.enqueueOperation(MemcachedConnection.java:641) ~[spymemcached-2.8.9.jar:2.8.9]&lt;br/&gt;
	at net.spy.memcached.MemcachedClient.asyncGetAndTouch(MemcachedClient.java:1284) ~[spymemcached-2.8.9.jar:2.8.9]&lt;br/&gt;
	at net.spy.memcached.MemcachedClient.getAndTouch(MemcachedClient.java:955) ~[spymemcached-2.8.9.jar:2.8.9]&lt;br/&gt;
	at net.spy.memcached.MemcachedClient.getAndTouch(MemcachedClient.java:978) ~[spymemcached-2.8.9.jar:2.8.9]&lt;br/&gt;
	at models.AdminUserSession.findByKey(AdminUserSession.java:35) ~[classes/:na]</comment>
                    <comment id="46547" author="daschl" created="Mon, 24 Dec 2012 01:11:45 -0600"  >Hi cb,&lt;br/&gt;
&lt;br/&gt;
thanks for responding. Would it be possible to help me out reproducing it? What kind of setup are you using? (OS, IDE, App Server) and so on? I never encountered this in my environments here... thanks very much!</comment>
                    <comment id="46548" author="cb" created="Mon, 24 Dec 2012 01:30:02 -0600"  >Play Framewok 1.0.4&lt;br/&gt;
Couchbase 2 GA&lt;br/&gt;
Java Client 1.1&lt;br/&gt;
&lt;br/&gt;
You can use the example app that you created in your Blog Post. (BTW - Still looking forward for the rest of the parts of this super good post!!)&lt;br/&gt;
Change something in the code - while running in sbt like this:&lt;br/&gt;
&lt;br/&gt;
~run   (note the &amp;quot;~&amp;quot;) which tells sbt to inject any change into the running process.&lt;br/&gt;
&lt;br/&gt;
Let me know if you can reproduce the bug.&lt;br/&gt;
&lt;br/&gt;
</comment>
                    <comment id="46549" author="daschl" created="Mon, 24 Dec 2012 01:33:21 -0600"  >You mean 2.0.4? &lt;br/&gt;
&lt;br/&gt;
Are you running on 1.6 or 1.7 java? Or which scala version? On which operating system are you running it?&lt;br/&gt;
&lt;br/&gt;
Never came across this (neither while working on the blog posts nor working on it from other apps).&lt;br/&gt;
&lt;br/&gt;
</comment>
                    <comment id="46555" author="cb" created="Mon, 24 Dec 2012 02:10:25 -0600"  >sorry 2.0.4&lt;br/&gt;
&lt;br/&gt;
Jave Version:&lt;br/&gt;
&lt;br/&gt;
Java(TM) SE Runtime Environment (build 1.6.0_37-b06-434-11M3909)&lt;br/&gt;
Java HotSpot(TM) 64-Bit Server VM (build 20.12-b01-434, mixed mode)&lt;br/&gt;
&lt;br/&gt;
OSX 10.8.2</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8600</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-151] Client does timeout on connect in specific java environments (was believed to be java7 related).</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-151</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>People report that the Client does not work with 1.7. Here is a sample stack trace:&lt;br/&gt;
&lt;br/&gt;
2012-11-20 00:29:11.228 INFO com.couchbase.client.CouchbaseConnection:  Added {QA sa=/127.0.0.1:11210, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0} to connect queue&lt;br/&gt;
2012-11-20 00:29:11.240 INFO com.couchbase.client.CouchbaseConnection:  Connection state changed for &lt;a href=&apos;mailto:sun.nio.ch.SelectionKeyImpl@3f757322&apos;&gt;sun.nio.ch.SelectionKeyImpl@3f757322&lt;/a&gt;&lt;br/&gt;
2012-11-20 00:29:11.502 INFO com.couchbase.client.ViewConnection:  Added localhost/127.0.0.1:8092 to connect queue&lt;br/&gt;
2012-11-20 00:29:11.505 INFO com.couchbase.client.CouchbaseClient:  viewmode property isn&amp;#39;t defined. Setting viewmode to production mode&lt;br/&gt;
2012-11-20 00:29:11.647 INFO net.spy.memcached.auth.AuthThread:  Authenticated to localhost/127.0.0.1:11210&lt;br/&gt;
2012-11-20 00:29:12.051 INFO com.couchbase.client.http.AsyncConnectionManager:  Opening new Couchbase HTTP connection&lt;br/&gt;
2012-11-20 00:29:12.060 INFO com.couchbase.client.http.AsyncConnectionManager$ConnRequestCallback:  localhost/127.0.0.1:8092 - Session request successful&lt;br/&gt;
2012-11-20 00:29:17.111 ERROR com.couchbase.client.ViewNode$EventLogger:  Connection timed out: [localhost/127.0.0.1:8092(closed)]&lt;br/&gt;
java.lang.RuntimeException: Timed out waiting for operation&lt;br/&gt;
at com.couchbase.client.internal.HttpFuture.get(HttpFuture.java:68)&lt;br/&gt;
at com.couchbase.client.CouchbaseClient.getView(CouchbaseClient.java:428)&lt;br/&gt;
at Example1.main(Example1.java:43)&lt;br/&gt;
Caused by: java.util.concurrent.TimeoutException: Timed out waiting for operation&lt;br/&gt;
at com.couchbase.client.internal.HttpFuture.get(HttpFuture.java:80)&lt;br/&gt;
at com.couchbase.client.internal.HttpFuture.get(HttpFuture.java:65)&lt;br/&gt;
... 2 more&lt;br/&gt;
2012-11-20 00:30:12.168 INFO com.couchbase.client.CouchbaseConnection:  Shut down Couchbase client&lt;br/&gt;
2012-11-20 00:30:12.177 INFO com.couchbase.client.ViewNode:  Couchbase I/O reactor terminated&lt;br/&gt;
Disconnected from the target VM, address: &amp;#39;127.0.0.1:65280&amp;#39;, transport: &amp;#39;socket&amp;#39;&lt;br/&gt;
&lt;br/&gt;
Process finished with exit code 0&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
Also See &lt;a href=&quot;http://www.couchbase.com/forums/thread/java-asyncconnectionmanager-timed-out-waiting-operation-please-help-console-log-included&quot;&gt;http://www.couchbase.com/forums/thread/java-asyncconnectionmanager-timed-out-waiting-operation-please-help-console-log-included&lt;/a&gt;&lt;br/&gt;
And &lt;a href=&quot;http://stackoverflow.com/questions/13466010/using-java-api-in-scala-to-query-views-in-couchbase-throws-timeout-exception?utm_source=twitterfeed&amp;utm_medium=twitter&quot;&gt;http://stackoverflow.com/questions/13466010/using-java-api-in-scala-to-query-views-in-couchbase-throws-timeout-exception?utm_source=twitterfeed&amp;amp;utm_medium=twitter&lt;/a&gt;</description>
                <environment></environment>
            <key id="20877">JCBC-151</key>
            <summary>Client does timeout on connect in specific java environments (was believed to be java7 related).</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="2" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/critical.png">Critical</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="daschl">Michael Nitschinger</reporter>
                        <labels>
                    </labels>
                <created>Wed, 21 Nov 2012 04:01:02 -0600</created>
                <updated>Mon, 20 May 2013 14:30:47 -0500</updated>
                                    <version>1.1-dp4</version>
                                <fixVersion>1.1.7</fixVersion>
                                <component>library</component>
                                <votes>2</votes>
                        <watches>6</watches>
                                                    <comments>
                    <comment id="44834" author="sqs" created="Tue, 27 Nov 2012 03:40:26 -0600"  >This doesn&amp;#39;t appear to be strictly related to Java7. I was able to get similar code to work on Java7. I even simulated loading a Play2 environment with other JARs that could potentially cause conflicts. It&amp;#39;s possible that my simulation of the Play2 environment was insufficient and that Play2 does other stuff...&lt;br/&gt;
&lt;br/&gt;
Code at &lt;a href=&quot;https://github.com/sqs/couchbase-scala-example&quot;&gt;https://github.com/sqs/couchbase-scala-example&lt;/a&gt;. Run with:&lt;br/&gt;
&lt;br/&gt;
CBURL=&lt;a href=&quot;http://localhost:8091/pools&quot;&gt;http://localhost:8091/pools&lt;/a&gt; CBPASSWORD=mypassword sbt -Dconfig.file=conf/application.conf &amp;#39;~run&amp;#39;&lt;br/&gt;
&lt;br/&gt;
Here is the output on my system that shows it&amp;#39;s on Java7 (openjdk) and that shows the expected output from the views:&lt;br/&gt;
&lt;br/&gt;
on java version 1.7.0_09&lt;br/&gt;
[info] play - Application started (Prod)&lt;br/&gt;
2012-11-27 01:34:27.115 INFO com.couchbase.client.CouchbaseConnection:  Added {QA sa=/127.0.0.1:11210, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0} to connect queue&lt;br/&gt;
2012-11-27 01:34:27.120 INFO com.couchbase.client.CouchbaseConnection:  Connection state changed for &lt;a href=&apos;mailto:sun.nio.ch.SelectionKeyImpl@6267e5a2&apos;&gt;sun.nio.ch.SelectionKeyImpl@6267e5a2&lt;/a&gt;&lt;br/&gt;
2012-11-27 01:34:27.147 INFO com.couchbase.client.ViewConnection:  Added localhost/127.0.0.1:8092 to connect queue&lt;br/&gt;
2012-11-27 01:34:27.149 INFO com.couchbase.client.CouchbaseClient:  viewmode property isn&amp;#39;t defined. Setting viewmode to production mode&lt;br/&gt;
2012-11-27 01:34:27.176 INFO net.spy.memcached.auth.AuthThread:  Authenticated to localhost/127.0.0.1:11210&lt;br/&gt;
2012-11-27 01:34:27.282 INFO com.couchbase.client.http.AsyncConnectionManager:  Opening new Couchbase HTTP connection&lt;br/&gt;
2012-11-27 01:34:27.288 INFO com.couchbase.client.http.AsyncConnectionManager$ConnRequestCallback:  localhost/127.0.0.1:8092 - Session request successful&lt;br/&gt;
Res = List(&lt;a href=&apos;mailto:com.couchbase.client.protocol.views.ViewRowNoDocs@4667820f&apos;&gt;com.couchbase.client.protocol.views.ViewRowNoDocs@4667820f&lt;/a&gt;, &lt;a href=&apos;mailto:com.couchbase.client.protocol.views.ViewRowNoDocs@358bcae5&apos;&gt;com.couchbase.client.protocol.views.ViewRowNoDocs@358bcae5&lt;/a&gt;, &lt;a href=&apos;mailto:com.couchbase.client.protocol.views.ViewRowNoDocs@6cb59bd9&apos;&gt;com.couchbase.client.protocol.views.ViewRowNoDocs@6cb59bd9&lt;/a&gt;, &lt;a href=&apos;mailto:com.couchbase.client.protocol.views.ViewRowNoDocs@70afb51&apos;&gt;com.couchbase.client.protocol.views.ViewRowNoDocs@70afb51&lt;/a&gt;, &lt;a href=&apos;mailto:com.couchbase.client.protocol.views.ViewRowNoDocs@61f98673&apos;&gt;com.couchbase.client.protocol.views.ViewRowNoDocs@61f98673&lt;/a&gt;)&lt;br/&gt;
2012-11-27 01:34:27.396 INFO com.couchbase.client.CouchbaseConnection:  Shut down Couchbase client&lt;br/&gt;
2012-11-27 01:34:27.403 INFO com.couchbase.client.ViewNode:  Couchbase I/O reactor terminated&lt;br/&gt;
</comment>
                    <comment id="44844" author="daschl" created="Tue, 27 Nov 2012 09:27:32 -0600"  >Are you running on jdk7 on mac? Also, when you use play 2.1 it should work. Play2-related issues more were because of netty version incompatibilities.</comment>
                    <comment id="44865" author="sqs" created="Tue, 27 Nov 2012 14:24:50 -0600"  >This is jdk7 on Arch Linux and Play 2.1-RC1.&lt;br/&gt;
&lt;br/&gt;
I tried using a different netty, but no luck. What worked for me was moving calls to &amp;quot;new CouchbaseClient&amp;quot; out of static &amp;quot;object&amp;quot; initializers, since they appeared to be getting called in the Netty I/O thread (I got this exception in new CouchbaseClient: java.lang.IllegalStateException: await*() in I/O thread causes a dead lock or sudden performance drop. Use addListener() instead or call await*() from a different thread).</comment>
                    <comment id="44914" author="daschl" created="Wed, 28 Nov 2012 02:45:32 -0600"  >Hi Quinn, this issue is a different one! The issue described here is that people seem to find connection timeouts with java 7.</comment>
                    <comment id="44974" author="sqs" created="Wed, 28 Nov 2012 18:30:53 -0600"  >They may be related--or may just have similar symptoms. I was not getting timeout exceptions, but I was seeing view requests hang indefinitely until I made the fix described above.</comment>
                    <comment id="52650" author="dragos" created="Wed, 13 Mar 2013 06:49:42 -0500"  >Hi Michael, can you help with this error ? I am trying to find a workaround or something to work. This is the only thing which is keeping us from using Couchbase. I also posted here : &lt;a href=&quot;http://www.couchbase.com/forums/thread/couchbase-connectivity-problem-aws-vpc&quot;&gt;http://www.couchbase.com/forums/thread/couchbase-connectivity-problem-aws-vpc&lt;/a&gt; . As you can see in the times the timeout is received really fast.&lt;br/&gt;
&lt;br/&gt;
2013-03-13 11:40:47.702 INFO com.couchbase.client.CouchbaseConnection:  Added {QA sa=/10.0.X.XXX:11210, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0} to connect queue&lt;br/&gt;
2013-03-13 11:40:52.712 INFO com.couchbase.client.CouchbaseConnection:  Connection state changed for &lt;a href=&apos;mailto:sun.nio.ch.SelectionKeyImpl@5cbfe9d&apos;&gt;sun.nio.ch.SelectionKeyImpl@5cbfe9d&lt;/a&gt;&lt;br/&gt;
2013-03-13 11:40:52.840 INFO net.spy.memcached.auth.AuthThread:  Authenticated to 10.0.X.XXX/10.0.X.XXX:11210&lt;br/&gt;
2013-03-13 11:40:57.860 INFO com.couchbase.client.ViewConnection:  Added 10.0.X.XXX to connect queue&lt;br/&gt;
2013-03-13 11:40:57.863 INFO com.couchbase.client.CouchbaseClient:  viewmode property isn&amp;#39;t defined. Setting viewmode to production mode&lt;br/&gt;
2013-03-13 11:40:58.070 INFO com.couchbase.client.http.AsyncConnectionManager:  Opening new Couchbase HTTP connection&lt;br/&gt;
2013-03-13 11:40:58.077 INFO com.couchbase.client.http.AsyncConnectionManager$ConnRequestCallback:  /10.0.X.XXX:8092 - Session request successful&lt;br/&gt;
2013-03-13 11:41:03.113 ERROR com.couchbase.client.ViewNode$EventLogger:  Connection timed out: [10.0.X.XXX/10.0.X.XXX:8092]&lt;br/&gt;
Exception in thread &amp;quot;main&amp;quot; java.lang.RuntimeException: Timed out waiting for operation&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.couchbase.client.internal.HttpFuture.get(HttpFuture.java:67)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.couchbase.client.CouchbaseClient.getView(CouchbaseClient.java:475)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at couchbase.training.view.poc.CouchbasePOC.main(CouchbasePOC.java:63)&lt;br/&gt;
Caused by: java.util.concurrent.TimeoutException: Timed out waiting for operation&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.couchbase.client.internal.HttpFuture.waitForAndCheckOperation(HttpFuture.java:85)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.couchbase.client.internal.HttpFuture.get(HttpFuture.java:74)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.couchbase.client.internal.HttpFuture.get(HttpFuture.java:64)&lt;br/&gt;
</comment>
                    <comment id="52651" author="daschl" created="Wed, 13 Mar 2013 07:35:43 -0500"  >Hi dragos,&lt;br/&gt;
&lt;br/&gt;
can you please post the full code where you connect to couchbase? (including factories and such)&lt;br/&gt;
&lt;br/&gt;
Thanks!</comment>
                    <comment id="52652" author="dragos" created="Wed, 13 Mar 2013 07:38:51 -0500"  >Hi Mike, this is the POC client for Couchbase:&lt;br/&gt;
package couchbase.training.view.poc;&lt;br/&gt;
&lt;br/&gt;
import java.io.FileInputStream;&lt;br/&gt;
import java.io.FileNotFoundException;&lt;br/&gt;
import java.io.IOException;&lt;br/&gt;
import java.net.URI;&lt;br/&gt;
import java.util.LinkedList;&lt;br/&gt;
import java.util.List;&lt;br/&gt;
import java.util.concurrent.TimeUnit;&lt;br/&gt;
&lt;br/&gt;
import org.apache.commons.io.IOUtils;&lt;br/&gt;
import org.json.JSONException;&lt;br/&gt;
import org.json.XML;&lt;br/&gt;
&lt;br/&gt;
import com.couchbase.client.CouchbaseClient;&lt;br/&gt;
import com.couchbase.client.CouchbaseConnectionFactory;&lt;br/&gt;
import com.couchbase.client.CouchbaseConnectionFactoryBuilder;&lt;br/&gt;
import com.couchbase.client.protocol.views.ComplexKey;&lt;br/&gt;
import com.couchbase.client.protocol.views.Query;&lt;br/&gt;
import com.couchbase.client.protocol.views.Stale;&lt;br/&gt;
import com.couchbase.client.protocol.views.View;&lt;br/&gt;
import com.couchbase.client.protocol.views.ViewResponse;&lt;br/&gt;
import com.couchbase.client.protocol.views.ViewRow;&lt;br/&gt;
&lt;br/&gt;
public class CouchbasePOC&lt;br/&gt;
{&lt;br/&gt;
	public static void main(String[] args) throws FileNotFoundException, JSONException, IOException&lt;br/&gt;
	{&lt;br/&gt;
		System.out.println(&amp;quot;Hello from CouchBase&amp;quot;);&lt;br/&gt;
		&lt;br/&gt;
		// Set the URIs and get a client&lt;br/&gt;
	    final List&amp;lt;URI&amp;gt; uris = new LinkedList&amp;lt;URI&amp;gt;();&lt;br/&gt;
	    &lt;br/&gt;
	    // Connect to localhost or to the appropriate URI(s)&lt;br/&gt;
	    uris.add(URI.create(&amp;quot;&lt;a href=&quot;http://10.0.7.164:8091/pools&quot;&gt;http://10.0.7.164:8091/pools&lt;/a&gt;&amp;quot;));	    &lt;br/&gt;
	    	    	    &lt;br/&gt;
	    final String mappedName=&amp;quot;problems&amp;quot;;&lt;br/&gt;
	    long start = System.currentTimeMillis();&lt;br/&gt;
&lt;br/&gt;
	    CouchbaseConnectionFactoryBuilder m_couchbaseConnectionFactoryBuilder = new CouchbaseConnectionFactoryBuilder();&lt;br/&gt;
		m_couchbaseConnectionFactoryBuilder.setMaxReconnectDelay(10000);&lt;br/&gt;
		m_couchbaseConnectionFactoryBuilder.setOpQueueMaxBlockTime(100);&lt;br/&gt;
		m_couchbaseConnectionFactoryBuilder.setOpTimeout(20000);&lt;br/&gt;
		m_couchbaseConnectionFactoryBuilder.setShouldOptimize(true);&lt;br/&gt;
		m_couchbaseConnectionFactoryBuilder.setViewTimeout(300000);&lt;br/&gt;
	    &lt;br/&gt;
		CouchbaseConnectionFactory connFactory = m_couchbaseConnectionFactoryBuilder.buildCouchbaseConnection(uris, mappedName, &amp;quot;&amp;quot;);&lt;br/&gt;
		&lt;br/&gt;
	    CouchbaseClient client = null;	    &lt;br/&gt;
		try&lt;br/&gt;
		{&lt;br/&gt;
			client = new CouchbaseClient(connFactory);			&lt;br/&gt;
		}&lt;br/&gt;
		catch (IOException e)&lt;br/&gt;
		{&lt;br/&gt;
			System.err.println(&amp;quot;IOException connecting to Couchbase: &amp;quot; + e.getMessage());&lt;br/&gt;
			System.exit(1);&lt;br/&gt;
		} &lt;br/&gt;
		&lt;br/&gt;
		final View view = client.getView(mappedName, mappedName);		&lt;br/&gt;
		final Query query = new Query();	&lt;br/&gt;
&lt;br/&gt;
		final ComplexKey key = ComplexKey.of(&amp;quot;problem&amp;quot;,null,null,null,null);&lt;br/&gt;
		query.setKey(key);		&lt;br/&gt;
		query.setStale( Stale.UPDATE_AFTER );&lt;br/&gt;
		int counter=0;&lt;br/&gt;
		try&lt;br/&gt;
		{&lt;br/&gt;
			final ViewResponse result = client.query(view, query);			&lt;br/&gt;
			for(ViewRow row : result) &lt;br/&gt;
			{&lt;br/&gt;
				counter++;&lt;br/&gt;
				System.out.println(row.getId());&lt;br/&gt;
			}&lt;br/&gt;
		}&lt;br/&gt;
		catch(java.lang.VerifyError e)&lt;br/&gt;
		{&lt;br/&gt;
			System.out.println(&amp;quot;Error: &amp;quot; + e.getMessage());&lt;br/&gt;
		} 			&lt;br/&gt;
		 &lt;br/&gt;
		System.out.println(&amp;quot;time: &amp;quot; + (System.currentTimeMillis()-start) );&lt;br/&gt;
		System.out.println(&amp;quot;documents: &amp;quot; + counter );&lt;br/&gt;
		&lt;br/&gt;
		client.shutdown(3, TimeUnit.SECONDS);&lt;br/&gt;
		System.exit(0);&lt;br/&gt;
	}&lt;br/&gt;
}&lt;br/&gt;
</comment>
                    <comment id="52653" author="dragos" created="Wed, 13 Mar 2013 07:40:24 -0500"  >I hope you would not mind that i called you Mike and not Michael. </comment>
                    <comment id="52654" author="daschl" created="Wed, 13 Mar 2013 07:46:17 -0500"  >Hehe no worries.&lt;br/&gt;
&lt;br/&gt;
Can you do me a favor and remove the factory for a second and just use CouchbaseClient() without anything else? Let me know if the problem still persists or not! Thanks</comment>
                    <comment id="52656" author="dragos" created="Wed, 13 Mar 2013 07:53:50 -0500"  >Hi Michael, &lt;br/&gt;
First i want to thank you for the quick feed-back. Your owesome !!!&lt;br/&gt;
&lt;br/&gt;
Before using the factory i used the CouchbaseClient(uris, bucketName, &amp;quot;&amp;quot;)  which is also timing out. I added the factory to be able increase the timeout times for the connection but still the same problem.</comment>
                    <comment id="52658" author="daschl" created="Wed, 13 Mar 2013 08:01:12 -0500"  >Hmm okay, so its not the factory (we had some issues with default values in the past, thats why I&amp;#39;m asking).&lt;br/&gt;
&lt;br/&gt;
Can you pin me down your operating system and exact java version you&amp;#39;re using?Thanks for your help!</comment>
                    <comment id="52659" author="daschl" created="Wed, 13 Mar 2013 08:06:02 -0500"  >Also, since you&amp;#39;re so responsive (I hope we can pin this down finally!).. Can you run the same code with DEBUG log enabled (see &lt;a href=&quot;https://code.google.com/p/spymemcached/wiki/Logging)&quot;&gt;https://code.google.com/p/spymemcached/wiki/Logging)&lt;/a&gt;.. just use Logger.getLogger(&amp;quot;com.couchbase.client&amp;quot;).setLevel(Level.FINEST); instead of Logger.getLogger(&amp;quot;net.spy.memcached&amp;quot;).setLevel(Level.FINEST);&lt;br/&gt;
&lt;br/&gt;
Thanks!</comment>
                    <comment id="52661" author="dragos" created="Wed, 13 Mar 2013 08:11:13 -0500"  >This is my test environment for the client which will be similar for production.&lt;br/&gt;
OS Ubuntu Server 11.10 x64&lt;br/&gt;
java -version result:&lt;br/&gt;
java version &amp;quot;1.6.0_26&amp;quot;&lt;br/&gt;
Java(TM) SE Runtime Environment (build 1.6.0_26-b03)&lt;br/&gt;
Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02, mixed mode)&lt;br/&gt;
&lt;br/&gt;
My network infrastructure is like this:&lt;br/&gt;
In an AWS virtual private center (VPC) i have a subnet and in this subnet there are 2 machines. The client machine and the Couchbase server. The machines have identical OS and java version as mentioned above. I have open the ports and also checked the network ACL. The traffic is free to go,no restriction. If i am using a rest query with curl for the view i receive the result, the problem is only in the java SDK.&lt;br/&gt;
If needed more information please ask. I will gladly offer it.&lt;br/&gt;
&lt;br/&gt;
</comment>
                    <comment id="52662" author="daschl" created="Wed, 13 Mar 2013 08:15:18 -0500"  >Hi Dragos,&lt;br/&gt;
&lt;br/&gt;
yes, if you can please rerun the script with DEBUG logging enabled (see last comment).. Thanks very much in advance!</comment>
                    <comment id="52663" author="dragos" created="Wed, 13 Mar 2013 08:38:03 -0500"  >I&amp;#39;ve setted the logger to finest and this is the error log obtained. Also i tested again the connection with curl and no problemes.&lt;br/&gt;
&lt;br/&gt;
Mar 13, 2013 1:30:14 PM com.couchbase.client.CouchbaseProperties setPropertyFile&lt;br/&gt;
INFO: Could not load properties file &amp;quot;cbclient.properties&amp;quot; because: File not found with system classloader.&lt;br/&gt;
2013-03-13 13:30:14.679 INFO com.couchbase.client.CouchbaseConnection:  Added {QA sa=/10.0.7.164:11210, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0} to connect queue&lt;br/&gt;
2013-03-13 13:30:19.689 INFO com.couchbase.client.CouchbaseConnection:  Connection state changed for &lt;a href=&apos;mailto:sun.nio.ch.SelectionKeyImpl@4e99353f&apos;&gt;sun.nio.ch.SelectionKeyImpl@4e99353f&lt;/a&gt;&lt;br/&gt;
2013-03-13 13:30:19.810 INFO net.spy.memcached.auth.AuthThread:  Authenticated to 10.0.7.164/10.0.7.164:11210&lt;br/&gt;
2013-03-13 13:30:24.828 INFO com.couchbase.client.ViewConnection:  Added 10.0.7.164 to connect queue&lt;br/&gt;
2013-03-13 13:30:24.830 INFO com.couchbase.client.CouchbaseClient:  viewmode property isn&amp;#39;t defined. Setting viewmode to production mode&lt;br/&gt;
2013-03-13 13:30:25.025 INFO com.couchbase.client.http.AsyncConnectionManager:  Opening new Couchbase HTTP connection&lt;br/&gt;
2013-03-13 13:30:25.033 INFO com.couchbase.client.http.AsyncConnectionManager$ConnRequestCallback:  /10.0.7.164:8092 - Session request successful&lt;br/&gt;
2013-03-13 13:30:30.083 ERROR com.couchbase.client.ViewNode$EventLogger:  Connection timed out: [10.0.7.164/10.0.7.164:8092]&lt;br/&gt;
Exception in thread &amp;quot;main&amp;quot; java.lang.RuntimeException: Timed out waiting for operation&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.couchbase.client.internal.HttpFuture.get(HttpFuture.java:67)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.couchbase.client.CouchbaseClient.getView(CouchbaseClient.java:475)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at couchbase.training.view.poc.CouchbasePOC.main(CouchbasePOC.java:68)&lt;br/&gt;
Caused by: java.util.concurrent.TimeoutException: Timed out waiting for operation&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.couchbase.client.internal.HttpFuture.waitForAndCheckOperation(HttpFuture.java:85)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.couchbase.client.internal.HttpFuture.get(HttpFuture.java:74)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.couchbase.client.internal.HttpFuture.get(HttpFuture.java:64)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;... 2 more&lt;br/&gt;
&lt;br/&gt;
curl result&lt;br/&gt;
&lt;br/&gt;
curl &lt;a href=&quot;http://10.0.7.164:8092/problems/_design/dev_problems/_view/problems?stale=false&quot;&gt;http://10.0.7.164:8092/problems/_design/dev_problems/_view/problems?stale=false&lt;/a&gt;\&amp;amp;connection_timeout=60000\&amp;amp;limit=10\&amp;amp;skip=0&lt;br/&gt;
{&amp;quot;total_rows&amp;quot;:0,&amp;quot;rows&amp;quot;:[&lt;br/&gt;
]&lt;br/&gt;
}&lt;br/&gt;
[4]+  Done&lt;br/&gt;
</comment>
                    <comment id="52664" author="dragos" created="Wed, 13 Mar 2013 08:39:38 -0500"  >I am available for next steps in debuging. With what can i help next ? </comment>
                    <comment id="52666" author="daschl" created="Wed, 13 Mar 2013 08:49:10 -0500"  >Hi, hmm no there should be more output (DEBUG), not just info... you need to copy this whole snippet before your code actually executes:&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// Tell spy to use the SunLogger&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Properties systemProperties = System.getProperties();&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;systemProperties.put(&amp;quot;net.spy.log.LoggerImpl&amp;quot;, &amp;quot;net.spy.memcached.compat.log.SunLogger&amp;quot;);&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;System.setProperties(systemProperties);&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Logger.getLogger(&amp;quot;com.couchbase.client&amp;quot;).setLevel(Level.FINEST);&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//get the top Logger&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Logger topLogger = java.util.logging.Logger.getLogger(&amp;quot;&amp;quot;);&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// Handler for console (reuse it if it already exists)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Handler consoleHandler = null;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//see if there is already a console handler&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;for (Handler handler : topLogger.getHandlers()) {&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (handler instanceof ConsoleHandler) {&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//found the console handler&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;consoleHandler = handler;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;break;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (consoleHandler == null) {&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//there was no console handler found, create a new one&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;consoleHandler = new ConsoleHandler();&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;topLogger.addHandler(consoleHandler);&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//set the console handler to fine:&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;consoleHandler.setLevel(java.util.logging.Level.FINEST);&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
I guess you&amp;#39;re running it from your IDE?</comment>
                    <comment id="52667" author="dragos" created="Wed, 13 Mar 2013 09:00:01 -0500"  >I am building the client on local IDE then uploading it to EC2 test machine. The snipped of code word and now i have a full log.&lt;br/&gt;
&lt;br/&gt;
Mar 13, 2013 1:53:10 PM com.couchbase.client.CouchbaseProperties setPropertyFile&lt;br/&gt;
INFO: Could not load properties file &amp;quot;cbclient.properties&amp;quot; because: File not found with system classloader.&lt;br/&gt;
Mar 13, 2013 1:53:11 PM com.couchbase.client.vbucket.ConfigurationProviderHTTP readToString&lt;br/&gt;
FINE: Attempting to read configuration from URI: &lt;a href=&quot;http://10.0.7.164:8091/pools&quot;&gt;http://10.0.7.164:8091/pools&lt;/a&gt;&lt;br/&gt;
Mar 13, 2013 1:53:11 PM com.couchbase.client.vbucket.ConfigurationProviderHTTP readToString&lt;br/&gt;
FINE: Attempting to read configuration from URI: &lt;a href=&quot;http://10.0.7.164:8091/pools/default?uuid=44b1e62dd7e65cd38ae7faaabe5ebb64&quot;&gt;http://10.0.7.164:8091/pools/default?uuid=44b1e62dd7e65cd38ae7faaabe5ebb64&lt;/a&gt;&lt;br/&gt;
Mar 13, 2013 1:53:11 PM com.couchbase.client.vbucket.ConfigurationProviderHTTP readToString&lt;br/&gt;
FINE: Attempting to read configuration from URI: &lt;a href=&quot;http://10.0.7.164:8091/pools/default/buckets?v=120523822&amp;uuid=44b1e62dd7e65cd38ae7faaabe5ebb64&quot;&gt;http://10.0.7.164:8091/pools/default/buckets?v=120523822&amp;amp;uuid=44b1e62dd7e65cd38ae7faaabe5ebb64&lt;/a&gt;&lt;br/&gt;
Mar 13, 2013 1:53:11 PM net.spy.memcached.MemcachedConnection createConnections&lt;br/&gt;
INFO: Added {QA sa=/10.0.7.164:11210, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0} to connect queue&lt;br/&gt;
Mar 13, 2013 1:53:11 PM com.couchbase.client.vbucket.VBucketNodeLocator fillNodesEntries&lt;br/&gt;
FINE: Updating nodesMap in VBucketNodeLocator.&lt;br/&gt;
Mar 13, 2013 1:53:16 PM com.couchbase.client.vbucket.VBucketNodeLocator fillNodesEntries&lt;br/&gt;
FINE: Adding node with address 10.0.7.164:11210.&lt;br/&gt;
Mar 13, 2013 1:53:16 PM com.couchbase.client.vbucket.VBucketNodeLocator fillNodesEntries&lt;br/&gt;
FINE: Node added is {QA sa=10.0.7.164/10.0.7.164:11210, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=8}.&lt;br/&gt;
Mar 13, 2013 1:53:16 PM net.spy.memcached.MemcachedConnection handleIO&lt;br/&gt;
FINE: Done dealing with queue.&lt;br/&gt;
Mar 13, 2013 1:53:16 PM net.spy.memcached.MemcachedConnection handleIO&lt;br/&gt;
FINE: Selecting with delay of 0ms&lt;br/&gt;
Mar 13, 2013 1:53:16 PM net.spy.memcached.MemcachedConnection handleIO&lt;br/&gt;
FINE: Selected 1, selected 1 keys&lt;br/&gt;
Mar 13, 2013 1:53:16 PM net.spy.memcached.MemcachedConnection handleIO&lt;br/&gt;
FINE: Handling IO for:  &lt;a href=&apos;mailto:sun.nio.ch.SelectionKeyImpl@2c76e369&apos;&gt;sun.nio.ch.SelectionKeyImpl@2c76e369&lt;/a&gt; (r=false, w=false, c=true, op={QA sa=10.0.7.164/10.0.7.164:11210, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=8})&lt;br/&gt;
Mar 13, 2013 1:53:16 PM net.spy.memcached.MemcachedConnection handleIO&lt;br/&gt;
INFO: Connection state changed for &lt;a href=&apos;mailto:sun.nio.ch.SelectionKeyImpl@2c76e369&apos;&gt;sun.nio.ch.SelectionKeyImpl@2c76e369&lt;/a&gt;&lt;br/&gt;
Mar 13, 2013 1:53:16 PM net.spy.memcached.MemcachedConnection insertOperation&lt;br/&gt;
FINE: Added Cmd: 10 Opaque: 1 to {QA sa=10.0.7.164/10.0.7.164:11210, #Rops=0, #Wops=0, #iq=1, topRop=null, topWop=null, toWrite=0, interested=8}&lt;br/&gt;
Mar 13, 2013 1:53:16 PM net.spy.memcached.MemcachedConnection handleReads&lt;br/&gt;
FINE: Read 24 bytes&lt;br/&gt;
Mar 13, 2013 1:53:16 PM net.spy.memcached.MemcachedConnection handleReads&lt;br/&gt;
FINE: Completed read op: Cmd: 10 Opaque: 1 and giving the next 0 bytes&lt;br/&gt;
Mar 13, 2013 1:53:16 PM net.spy.memcached.MemcachedConnection handleInputQueue&lt;br/&gt;
FINE: Handling queue&lt;br/&gt;
Mar 13, 2013 1:53:16 PM net.spy.memcached.MemcachedConnection handleIO&lt;br/&gt;
FINE: Done dealing with queue.&lt;br/&gt;
Mar 13, 2013 1:53:16 PM net.spy.memcached.MemcachedConnection handleIO&lt;br/&gt;
FINE: Selecting with delay of 0ms&lt;br/&gt;
Mar 13, 2013 1:53:16 PM net.spy.memcached.MemcachedConnection handleIO&lt;br/&gt;
FINE: No selectors ready, interrupted: false&lt;br/&gt;
Mar 13, 2013 1:53:16 PM net.spy.memcached.MemcachedConnection handleIO&lt;br/&gt;
FINE: Done dealing with queue.&lt;br/&gt;
Mar 13, 2013 1:53:16 PM net.spy.memcached.MemcachedConnection handleIO&lt;br/&gt;
FINE: Selecting with delay of 0ms&lt;br/&gt;
Mar 13, 2013 1:53:16 PM net.spy.memcached.MemcachedConnection handleIO&lt;br/&gt;
FINE: No selectors ready, interrupted: false&lt;br/&gt;
Mar 13, 2013 1:53:16 PM net.spy.memcached.MemcachedConnection handleInputQueue&lt;br/&gt;
FINE: Handling queue&lt;br/&gt;
Mar 13, 2013 1:53:16 PM net.spy.memcached.MemcachedConnection handleIO&lt;br/&gt;
FINE: Done dealing with queue.&lt;br/&gt;
Mar 13, 2013 1:53:16 PM net.spy.memcached.MemcachedConnection handleIO&lt;br/&gt;
FINE: Selecting with delay of 0ms&lt;br/&gt;
Mar 13, 2013 1:53:16 PM net.spy.memcached.MemcachedConnection handleIO&lt;br/&gt;
FINE: Selected 1, selected 1 keys&lt;br/&gt;
Mar 13, 2013 1:53:16 PM net.spy.memcached.MemcachedConnection insertOperation&lt;br/&gt;
FINE: Added SASL auth operation to {QA sa=10.0.7.164/10.0.7.164:11210, #Rops=0, #Wops=1, #iq=0, topRop=null, topWop=SASL auth operation, toWrite=0, interested=4}&lt;br/&gt;
Mar 13, 2013 1:53:16 PM net.spy.memcached.MemcachedConnection handleIO&lt;br/&gt;
FINE: Handling IO for:  &lt;a href=&apos;mailto:sun.nio.ch.SelectionKeyImpl@2c76e369&apos;&gt;sun.nio.ch.SelectionKeyImpl@2c76e369&lt;/a&gt; (r=false, w=true, c=false, op={QA sa=10.0.7.164/10.0.7.164:11210, #Rops=0, #Wops=1, #iq=0, topRop=null, topWop=SASL auth operation, toWrite=0, interested=4})&lt;br/&gt;
Mar 13, 2013 1:53:16 PM net.spy.memcached.MemcachedConnection handleIO&lt;br/&gt;
FINE: Done dealing with queue.&lt;br/&gt;
Mar 13, 2013 1:53:16 PM net.spy.memcached.MemcachedConnection handleIO&lt;br/&gt;
FINE: Selecting with delay of 0ms&lt;br/&gt;
Mar 13, 2013 1:53:16 PM net.spy.memcached.MemcachedConnection handleIO&lt;br/&gt;
FINE: Selected 1, selected 1 keys&lt;br/&gt;
Mar 13, 2013 1:53:16 PM net.spy.memcached.MemcachedConnection handleIO&lt;br/&gt;
FINE: Handling IO for:  &lt;a href=&apos;mailto:sun.nio.ch.SelectionKeyImpl@2c76e369&apos;&gt;sun.nio.ch.SelectionKeyImpl@2c76e369&lt;/a&gt; (r=true, w=false, c=false, op={QA sa=10.0.7.164/10.0.7.164:11210, #Rops=1, #Wops=0, #iq=0, topRop=SASL auth operation, topWop=null, toWrite=0, interested=1})&lt;br/&gt;
Mar 13, 2013 1:53:16 PM net.spy.memcached.MemcachedConnection handleReads&lt;br/&gt;
FINE: Read 37 bytes&lt;br/&gt;
Mar 13, 2013 1:53:16 PM net.spy.memcached.auth.AuthThread$1 receivedStatus&lt;br/&gt;
INFO: Authenticated to 10.0.7.164/10.0.7.164:11210&lt;br/&gt;
Mar 13, 2013 1:53:16 PM net.spy.memcached.MemcachedConnection handleReads&lt;br/&gt;
FINE: Completed read op: SASL auth operation and giving the next 0 bytes&lt;br/&gt;
Mar 13, 2013 1:53:16 PM net.spy.memcached.MemcachedConnection handleIO&lt;br/&gt;
FINE: Done dealing with queue.&lt;br/&gt;
Mar 13, 2013 1:53:16 PM net.spy.memcached.MemcachedConnection handleIO&lt;br/&gt;
FINE: Selecting with delay of 0ms&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.ViewConnection createConnections&lt;br/&gt;
INFO: Added 10.0.7.164 to connect queue&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.CouchbaseClient &amp;lt;init&amp;gt;&lt;br/&gt;
INFO: viewmode property isn&amp;#39;t defined. Setting viewmode to production mode&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.vbucket.ConfigurationProviderHTTP subscribe&lt;br/&gt;
FINE: Subscribing an object for reconfiguration updates com.couchbase.client.CouchbaseClient&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.vbucket.BucketUpdateResponseHandler handleUpstream&lt;br/&gt;
FINEST: Channel state changed: [id: 0x2e273686] OPEN&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.vbucket.BucketUpdateResponseHandler handleUpstream&lt;br/&gt;
FINER: Channel state change is not a disconnect. Event value is true and Channel State is OPEN.&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.vbucket.BucketUpdateResponseHandler handleUpstream&lt;br/&gt;
FINEST: Channel state changed: [id: 0x2e273686, /10.0.7.213:55729 =&amp;gt; /10.0.7.164:8091] BOUND: /10.0.7.213:55729&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.vbucket.BucketUpdateResponseHandler handleUpstream&lt;br/&gt;
FINER: Channel state change is not a disconnect. Event value is /10.0.7.213:55729 and Channel State is BOUND.&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.vbucket.BucketUpdateResponseHandler handleUpstream&lt;br/&gt;
FINEST: Channel state changed: [id: 0x2e273686, /10.0.7.213:55729 =&amp;gt; /10.0.7.164:8091] CONNECTED: /10.0.7.164:8091&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.vbucket.BucketUpdateResponseHandler handleUpstream&lt;br/&gt;
FINER: Channel state change is not a disconnect. Event value is /10.0.7.164:8091 and Channel State is CONNECTED.&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.vbucket.BucketUpdateResponseHandler finerLog&lt;br/&gt;
FINER: STATUS: 200 OK&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.vbucket.BucketUpdateResponseHandler finerLog&lt;br/&gt;
FINER: VERSION: HTTP/1.1&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.vbucket.BucketUpdateResponseHandler finerLog&lt;br/&gt;
FINER: HEADER: Cache-Control = no-cache&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.vbucket.BucketUpdateResponseHandler finerLog&lt;br/&gt;
FINER: HEADER: Content-Type = application/json; charset=utf-8&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.vbucket.BucketUpdateResponseHandler finerLog&lt;br/&gt;
FINER: HEADER: Date = Wed, 13 Mar 2013 13:55:42 GMT&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.vbucket.BucketUpdateResponseHandler finerLog&lt;br/&gt;
FINER: HEADER: Pragma = no-cache&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.vbucket.BucketUpdateResponseHandler finerLog&lt;br/&gt;
FINER: HEADER: Server = Couchbase Server 2.0.0-1976-rel-enterprise&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.vbucket.BucketUpdateResponseHandler finerLog&lt;br/&gt;
FINER: HEADER: Transfer-Encoding = chunked&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.vbucket.BucketUpdateResponseHandler finerLog&lt;br/&gt;
FINER:&lt;br/&gt;
&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.vbucket.BucketUpdateResponseHandler finerLog&lt;br/&gt;
FINER: CHUNKED CONTENT {&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.vbucket.BucketUpdateResponseHandler finerLog&lt;br/&gt;
FINER: {&amp;quot;name&amp;quot;:&amp;quot;problems&amp;quot;,&amp;quot;bucketType&amp;quot;:&amp;quot;membase&amp;quot;,&amp;quot;authType&amp;quot;:&amp;quot;sasl&amp;quot;,&amp;quot;saslPassword&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;proxyPort&amp;quot;:0,&amp;quot;replicaIndex&amp;quot;:false,&amp;quot;uri&amp;quot;:&amp;quot;/pools/default/buckets/problems?bucket_uuid=7675b7791efe17220792c2b41ff6c824&amp;quot;,&amp;quot;streamingUri&amp;quot;:&amp;quot;/pools/default/bucketsStreaming/problems?bucket_uuid=7675b7791efe17220792c2b41ff6c824&amp;quot;,&amp;quot;localRandomKeyUri&amp;quot;:&amp;quot;/pools/default/buckets/problems/localRandomKey&amp;quot;,&amp;quot;controllers&amp;quot;:{&amp;quot;compactAll&amp;quot;:&amp;quot;/pools/default/buckets/problems/controller/compactBucket&amp;quot;,&amp;quot;compactDB&amp;quot;:&amp;quot;/pools/default/buckets/problems/controller/compactDatabases&amp;quot;},&amp;quot;nodes&amp;quot;:[{&amp;quot;couchApiBase&amp;quot;:&amp;quot;&lt;a href=&quot;http://10.0.7.164:8092/problems&quot;&gt;http://10.0.7.164:8092/problems&lt;/a&gt;&amp;quot;,&amp;quot;replication&amp;quot;:0.0,&amp;quot;clusterMembership&amp;quot;:&amp;quot;active&amp;quot;,&amp;quot;status&amp;quot;:&amp;quot;healthy&amp;quot;,&amp;quot;thisNode&amp;quot;:true,&amp;quot;hostname&amp;quot;:&amp;quot;10.0.7.164:8091&amp;quot;,&amp;quot;clusterCompatibility&amp;quot;:131072,&amp;quot;version&amp;quot;:&amp;quot;2.0.0-1976-rel-enterprise&amp;quot;,&amp;quot;os&amp;quot;:&amp;quot;x86_64-unknown-linux-gnu&amp;quot;,&amp;quot;ports&amp;quot;:{&amp;quot;proxy&amp;quot;:11211,&amp;quot;direct&amp;quot;:11210}}],&amp;quot;stats&amp;quot;:{&amp;quot;uri&amp;quot;:&amp;quot;/pools/default/buckets/problems/stats&amp;quot;,&amp;quot;directoryURI&amp;quot;:&amp;quot;/pools/default/buckets/problems/statsDirectory&amp;quot;,&amp;quot;nodeStatsListURI&amp;quot;:&amp;quot;/pools/default/buckets/problems/nodes&amp;quot;},&amp;quot;ddocs&amp;quot;:{&amp;quot;uri&amp;quot;:&amp;quot;/pools/default/buckets/problems/ddocs&amp;quot;},&amp;quot;nodeLocator&amp;quot;:&amp;quot;vbucket&amp;quot;,&amp;quot;autoCompactionSettings&amp;quot;:false,&amp;quot;fastWarmupSettings&amp;quot;:false,&amp;quot;uuid&amp;quot;:&amp;quot;7675b7791efe17220792c2b41ff6c824&amp;quot;,&amp;quot;vBucketServerMap&amp;quot;:{&amp;quot;hashAlgorithm&amp;quot;:&amp;quot;CRC&amp;quot;,&amp;quot;numReplicas&amp;quot;:1,&amp;quot;serverList&amp;quot;:[&amp;quot;10.0.7.164:11210&amp;quot;],&amp;quot;vBucketMap&amp;quot;:[[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.vbucket.BucketUpdateResponseHandler finerLog&lt;br/&gt;
FINER: Chunk length is: 3066&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.vbucket.BucketUpdateResponseHandler finerLog&lt;br/&gt;
FINER: 0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.vbucket.BucketUpdateResponseHandler finerLog&lt;br/&gt;
FINER: Chunk length is: 2048&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.vbucket.BucketUpdateResponseHandler finerLog&lt;br/&gt;
FINER: ],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.vbucket.BucketUpdateResponseHandler finerLog&lt;br/&gt;
FINER: Chunk length is: 3072&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.vbucket.BucketUpdateResponseHandler finerLog&lt;br/&gt;
FINER: 1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1]]},&amp;quot;bucketCapabilitiesVer&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;bucketCapabilities&amp;quot;:[&amp;quot;touch&amp;quot;,&amp;quot;couchapi&amp;quot;]}&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.vbucket.BucketUpdateResponseHandler finerLog&lt;br/&gt;
FINER: Chunk length is: 361&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.vbucket.BucketMonitor logFiner&lt;br/&gt;
FINER: Getting server list returns this last chunked response:&lt;br/&gt;
{&amp;quot;name&amp;quot;:&amp;quot;problems&amp;quot;,&amp;quot;bucketType&amp;quot;:&amp;quot;membase&amp;quot;,&amp;quot;authType&amp;quot;:&amp;quot;sasl&amp;quot;,&amp;quot;saslPassword&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;proxyPort&amp;quot;:0,&amp;quot;replicaIndex&amp;quot;:false,&amp;quot;uri&amp;quot;:&amp;quot;/pools/default/buckets/problems?bucket_uuid=7675b7791efe17220792c2b41ff6c824&amp;quot;,&amp;quot;streamingUri&amp;quot;:&amp;quot;/pools/default/bucketsStreaming/problems?bucket_uuid=7675b7791efe17220792c2b41ff6c824&amp;quot;,&amp;quot;localRandomKeyUri&amp;quot;:&amp;quot;/pools/default/buckets/problems/localRandomKey&amp;quot;,&amp;quot;controllers&amp;quot;:{&amp;quot;compactAll&amp;quot;:&amp;quot;/pools/default/buckets/problems/controller/compactBucket&amp;quot;,&amp;quot;compactDB&amp;quot;:&amp;quot;/pools/default/buckets/problems/controller/compactDatabases&amp;quot;},&amp;quot;nodes&amp;quot;:[{&amp;quot;couchApiBase&amp;quot;:&amp;quot;&lt;a href=&quot;http://10.0.7.164:8092/problems&quot;&gt;http://10.0.7.164:8092/problems&lt;/a&gt;&amp;quot;,&amp;quot;replication&amp;quot;:0.0,&amp;quot;clusterMembership&amp;quot;:&amp;quot;active&amp;quot;,&amp;quot;status&amp;quot;:&amp;quot;healthy&amp;quot;,&amp;quot;thisNode&amp;quot;:true,&amp;quot;hostname&amp;quot;:&amp;quot;10.0.7.164:8091&amp;quot;,&amp;quot;clusterCompatibility&amp;quot;:131072,&amp;quot;version&amp;quot;:&amp;quot;2.0.0-1976-rel-enterprise&amp;quot;,&amp;quot;os&amp;quot;:&amp;quot;x86_64-unknown-linux-gnu&amp;quot;,&amp;quot;ports&amp;quot;:{&amp;quot;proxy&amp;quot;:11211,&amp;quot;direct&amp;quot;:11210}}],&amp;quot;stats&amp;quot;:{&amp;quot;uri&amp;quot;:&amp;quot;/pools/default/buckets/problems/stats&amp;quot;,&amp;quot;directoryURI&amp;quot;:&amp;quot;/pools/default/buckets/problems/statsDirectory&amp;quot;,&amp;quot;nodeStatsListURI&amp;quot;:&amp;quot;/pools/default/buckets/problems/nodes&amp;quot;},&amp;quot;ddocs&amp;quot;:{&amp;quot;uri&amp;quot;:&amp;quot;/pools/default/buckets/problems/ddocs&amp;quot;},&amp;quot;nodeLocator&amp;quot;:&amp;quot;vbucket&amp;quot;,&amp;quot;autoCompactionSettings&amp;quot;:false,&amp;quot;fastWarmupSettings&amp;quot;:false,&amp;quot;uuid&amp;quot;:&amp;quot;7675b7791efe17220792c2b41ff6c824&amp;quot;,&amp;quot;vBucketServerMap&amp;quot;:{&amp;quot;hashAlgorithm&amp;quot;:&amp;quot;CRC&amp;quot;,&amp;quot;numReplicas&amp;quot;:1,&amp;quot;serverList&amp;quot;:[&amp;quot;10.0.7.164:11210&amp;quot;],&amp;quot;vBucketMap&amp;quot;:[[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1]]},&amp;quot;bucketCapabilitiesVer&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;bucketCapabilities&amp;quot;:[&amp;quot;touch&amp;quot;,&amp;quot;couchapi&amp;quot;]}&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.vbucket.ReconfigurableObserver update&lt;br/&gt;
FINEST: Received an update, notifying reconfigurables about a &lt;a href=&apos;mailto:com.couchbase.client.vbucket.config.Bucketcom.couchbase.client.vbucket.config.Bucket@4cf3fdc4&apos;&gt;com.couchbase.client.vbucket.config.Bucketcom.couchbase.client.vbucket.config.Bucket@4cf3fdc4&lt;/a&gt;&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.vbucket.ReconfigurableObserver update&lt;br/&gt;
FINEST: It says it is problems and it&amp;#39;s talking to /pools/default/bucketsStreaming/problems?bucket_uuid=7675b7791efe17220792c2b41ff6c824&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.CouchbaseConnection reconfigure&lt;br/&gt;
FINE: Node 10.0.7.164/10.0.7.164:11210 will stay in cluster config after reconfiguration.&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.vbucket.VBucketNodeLocator updateLocator&lt;br/&gt;
FINE: Received updated configuration with insignificant changes.&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.vbucket.ReconfigurableObserver update&lt;br/&gt;
FINEST: Received an update, notifying reconfigurables about a &lt;a href=&apos;mailto:com.couchbase.client.vbucket.config.Bucketcom.couchbase.client.vbucket.config.Bucket@fadb83cf&apos;&gt;com.couchbase.client.vbucket.config.Bucketcom.couchbase.client.vbucket.config.Bucket@fadb83cf&lt;/a&gt;&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.vbucket.ReconfigurableObserver update&lt;br/&gt;
FINEST: It says it is problems and it&amp;#39;s talking to /pools/default/bucketsStreaming/problems?bucket_uuid=7675b7791efe17220792c2b41ff6c824&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.CouchbaseConnection reconfigure&lt;br/&gt;
FINE: Node 10.0.7.164/10.0.7.164:11210 will stay in cluster config after reconfiguration.&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.vbucket.VBucketNodeLocator updateLocator&lt;br/&gt;
FINE: Received updated configuration with insignificant changes.&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.http.AsyncConnectionManager processConnectionRequests&lt;br/&gt;
INFO: Opening new Couchbase HTTP connection&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.http.AsyncConnectionManager$ConnRequestCallback completed&lt;br/&gt;
INFO: /10.0.7.164:8092 - Session request successful&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.ViewNode$EventLogger connectionOpen&lt;br/&gt;
FINE: Connection open: [/10.0.7.164:8092]&lt;br/&gt;
Mar 13, 2013 1:53:26 PM com.couchbase.client.ViewNode$EventLogger connectionTimeout&lt;br/&gt;
SEVERE: Connection timed out: [10.0.7.164/10.0.7.164:8092]&lt;br/&gt;
Mar 13, 2013 1:53:26 PM com.couchbase.client.ViewNode$EventLogger connectionClosed&lt;br/&gt;
FINE: Connection closed: [10.0.7.164/10.0.7.164:8092(closed)]&lt;br/&gt;
</comment>
                    <comment id="52669" author="daschl" created="Wed, 13 Mar 2013 09:05:01 -0500"  >Hi, thanks for the log..&lt;br/&gt;
&lt;br/&gt;
interestingly, there is nothing unusual in this.. I&amp;#39;ll investigate further and come back to you if I need more info..&lt;br/&gt;
&lt;br/&gt;
thanks so far!</comment>
                    <comment id="52670" author="dragos" created="Wed, 13 Mar 2013 09:08:40 -0500"  >Thank you for spending time on this. Looking forward for a fix :) .</comment>
                    <comment id="52671" author="daschl" created="Wed, 13 Mar 2013 09:10:16 -0500"  >interestingly, the connection is open and then times out...&lt;br/&gt;
&lt;br/&gt;
INFO: /10.0.7.164:8092 - Session request successful&lt;br/&gt;
Mar 13, 2013 1:53:21 PM com.couchbase.client.ViewNode$EventLogger connectionOpen&lt;br/&gt;
FINE: Connection open: [/10.0.7.164:8092]&lt;br/&gt;
Mar 13, 2013 1:53:26 PM com.couchbase.client.ViewNode$EventLogger connectionTimeout&lt;br/&gt;
SEVERE: Connection timed out: [10.0.7.164/10.0.7.164:8092]&lt;br/&gt;
Mar 13, 2013 1:53:26 PM com.couchbase.client.ViewNode$EventLogger connectionClosed&lt;br/&gt;
FINE: Connection closed: [10.0.7.164/10.0.7.164:8092(closed)]&lt;br/&gt;
&lt;br/&gt;
this sounds highly suspicious to me, maybe this is a bug in apache httpcore-nio...</comment>
                    <comment id="52672" author="dragos" created="Wed, 13 Mar 2013 09:17:06 -0500"  >The time out is displayed after 5 seconds. As you suggested i removed the factory and the detailed logged above i obtained with using CouchbaseClient(uris, mappedName, &amp;quot;&amp;quot;). Do you have some way of testing the httpCore-nio ? Should i try to look for latest version of httpCore-nio.. ?</comment>
                    <comment id="52673" author="daschl" created="Wed, 13 Mar 2013 09:58:59 -0500"  >Hi,&lt;br/&gt;
&lt;br/&gt;
yes you could try that.. I ran the test suite with 4.2.3 which is the latest one and there were no errors, so our code should work with it. You need to exchange the httpcore and httpcore-nio with the latest 4.2.3 jars&lt;br/&gt;
&lt;br/&gt;
I don&amp;#39;t think this is 100% the issue, but it helps us get rid of one more factor!&lt;br/&gt;
&lt;br/&gt;
Thanks!&lt;br/&gt;
Michael</comment>
                    <comment id="52676" author="daschl" created="Wed, 13 Mar 2013 10:21:30 -0500"  >Okay, the 5 second period can come from this: &lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;HttpParams params = new SyncBasicHttpParams();&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;params.setIntParameter(CoreConnectionPNames.SO_TIMEOUT, 5000)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;.setIntParameter(CoreConnectionPNames.CONNECTION_TIMEOUT, 5000)&lt;br/&gt;
....&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
SO_TIMEOUT is: Defines the socket timeout (SO_TIMEOUT) in milliseconds, which is the timeout for waiting for data or, put differently, a maximum period inactivity between two consecutive data packets).&lt;br/&gt;
&lt;br/&gt;
and CONNECTION_TIMEOUT is: Determines the timeout in milliseconds until a connection is established.&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
Dragos, can it be the case that it takes more than 5 seconds to return a result when using curl or so? That would explain the &amp;quot;fail fast&amp;quot; timeout here.. not saying that these times are okay this way, just to find the root cause..&lt;br/&gt;
&lt;br/&gt;
Thanks!</comment>
                    <comment id="52679" author="dragos" created="Wed, 13 Mar 2013 11:01:10 -0500"  >Hi Michael,&lt;br/&gt;
I&amp;#39;ve made a test with httpcore-nio-4.2.jar and with httpcore-4.2.1.jar and your intuition is good. The httpcore is not the problem because the timeout is still there. With curl the results is back fast, in less then half a second. So the problem must be somewhere in the java SDK in the way the view is retrieved. </comment>
                    <comment id="52682" author="dragos" created="Wed, 13 Mar 2013 11:23:26 -0500"  >I&amp;#39;ve moved the Couchbase server to the same machine as the client to have all in same environment for testing. Now all is working fine but it is not possible for our product to stay on the same machine as Couchbase server for obvious reasons. In production we will have more then one app machine which we will try to access the Couchbase cluster. </comment>
                    <comment id="52688" author="daschl" created="Wed, 13 Mar 2013 11:56:22 -0500"  >Hi Dragos,&lt;br/&gt;
&lt;br/&gt;
okay so its definitely something with those timeouts.. The thing is we can increase them for sure, but the question is if it would work for your application given the long network latency - and if your application stays performant that way.&lt;br/&gt;
&lt;br/&gt;
When you&amp;#39;re running curl on a request, how long does it take?</comment>
                    <comment id="52779" author="dragos" created="Thu, 14 Mar 2013 04:05:56 -0500"  >The curl request is very fast (a few milliseconds, and less then 0.5 seconds i am sure) and the network latency it is not a problem. Some how the couchbase client is taking to much time connecting. When it need to connect to a network machine in the same lan it takes more then 10 seconds. I experimented this in EC2 environment and on my local machine with a VM. If couchbase is local with the test app, the couchbase client is connecting fast.&lt;br/&gt;
Do you have any points on how a connection should be setup for couchbase client ? I am trying to use the factory builder and the connection factory from java sdk but still with no success.</comment>
                    <comment id="52801" author="TimSmith" created="Thu, 14 Mar 2013 11:00:05 -0500"  >Dragos,&lt;br/&gt;
&lt;br/&gt;
I can think of two separate things to try. One is to increase the SO_TIMEOUT to 8000, CONNECTION_TIMEOUT to 12000. Identify what&amp;#39;s being hit.&lt;br/&gt;
&lt;br/&gt;
Probably more effective would be to use Wireshark to capture all traffic on the client machine, and see what is really happening. Start the capture (with tshark command-line tool, for example), then run the test client, let it time out, then run the curl command, let it succeed, then stop the capture. Gzip the capture data and attach it to this issue.&lt;br/&gt;
&lt;br/&gt;
Tim</comment>
                    <comment id="52804" author="dragos" created="Thu, 14 Mar 2013 11:52:44 -0500"  >Hi Tim, &lt;br/&gt;
I&amp;#39;ve started some load tests to be able to evaluate Couchbase, so this means i moved Couchbase server on the same machine as the load test client. I tried to use a pool of couchbase clients always connected to the server, and after a while the test failed because couldn&amp;#39;t create more connections. From my initial research i seen that couchbase client is managing his own connection can you tell me how this is done or what are the policies of shutting down connections ? Can you point me to some best practices for couchbase client connectivity ?</comment>
                    <comment id="52823" author="TimSmith" created="Thu, 14 Mar 2013 13:19:03 -0500"  >I will handle that question about connection pooling, etc., separately, since it is unrelated to this bug about timeouts.&lt;br/&gt;
&lt;br/&gt;
On this specific bug report, the current state as I understand it is that:  curl returns very quickly with the correct results. The Java client times out after 5 seconds without returning the results.&lt;br/&gt;
&lt;br/&gt;
My suggestion is to set up a very simple Java client that performs a single view query, and to get a packet capture of both curl and the Java client, to identify what the two are doing differently and why the curl succeeds but the Java client fails.</comment>
                    <comment id="53564" author="jzinedine" created="Wed, 27 Mar 2013 01:01:03 -0500"  >Hi Michael,&lt;br/&gt;
&lt;br/&gt;
Any update on this issue?&lt;br/&gt;
I faced the same issue and here is my environment:&lt;br/&gt;
JRuby 1.7.3&lt;br/&gt;
Oracle JDK 1.7(with 1.6 the same thing happened)&lt;br/&gt;
Couchbase 2.0.1&lt;br/&gt;
Java SDK 1.1.3(with 1.1.4 the same thing happened)&lt;br/&gt;
And latest netty and http-core and other jar files.&lt;br/&gt;
&lt;br/&gt;
Appreciate your help.&lt;br/&gt;
&lt;br/&gt;
Thanks,&lt;br/&gt;
Jani</comment>
                    <comment id="53855" author="dragos" created="Mon, 1 Apr 2013 01:04:37 -0500"  >Hi All,&lt;br/&gt;
Finally after a long time i found the workaround needed for the java client to not timeout. As has been suggested by the Couchbase team to use a host name for the Couchabase server i applied the same fix but to the client machine. Meaning on the client machine were the java Couchbase client was timing out ( in Amazon VPC ) we added a hostname for the Couchbase server. Our test URI from &lt;a href=&quot;http://10.0.7.164:8091/pools&quot;&gt;http://10.0.7.164:8091/pools&lt;/a&gt; has become &lt;a href=&quot;http://couchbase:8091/pools&quot;&gt;http://couchbase:8091/pools&lt;/a&gt;. This workaround is also fixing a 10 seconds connectivity for the client.&lt;br/&gt;
&lt;br/&gt;
On Ubuntu the hostname file is at: /etc/hosts&lt;br/&gt;
On Windows 7 the hostname file is at: C:\Windows\system32\drivers\etc\hosts &lt;br/&gt;
&lt;br/&gt;
Example of host name entry in client machine:&lt;br/&gt;
10.0.7.146     couchbase&lt;br/&gt;
</comment>
                    <comment id="53980" author="daschl" created="Tue, 2 Apr 2013 00:38:48 -0500"  >Thanks very much dragos for tracking this down!&lt;br/&gt;
&lt;br/&gt;
Does this mean that in your environment after the change, you&amp;#39;re not seeing any performance impact anymore? Everything works as expected and performant?&lt;br/&gt;
&lt;br/&gt;
Thanks!&lt;br/&gt;
</comment>
                    <comment id="53983" author="dragos" created="Tue, 2 Apr 2013 00:59:14 -0500"  >Hi Michael,&lt;br/&gt;
In this moment the client does not time out and the time taken by java couchbase client to connect takes around 1.5 seconds from 10 seconds which we can consider a normal behavior. As for performance with this workaround we can continue the POC and evaluate the performance. As a first impression i can say that we see a good speed but i will keep my reservation until final POC is tested and we can achieve a full load test.&lt;br/&gt;
&lt;br/&gt;
What i want to emphasize that this is a welcomed workaround but it is not a solution on a longer term for our cloud production site. In a scenario where we need to create new machines and maybe new couchbase clusters it involves manual or specific automatic changes to the hosts file and of course extra managing of this. Bottom line is that we are waiting the fix on the couchbase java sdk 1.1.5 which will make this workaround obsolete.&lt;br/&gt;
&lt;br/&gt;
Also i feel the need to mention that this workaround was found in collaboration with the Couchbase team which provided the basic information for the workaround to be found, so thank you guys.</comment>
                    <comment id="53985" author="daschl" created="Tue, 2 Apr 2013 01:21:57 -0500"  >Hi Dragos,&lt;br/&gt;
&lt;br/&gt;
I&amp;#39;m not sure if there is a thing that we can fix inside the client when this is a DNS/hostname resolution issue with the OS and amazon?&lt;br/&gt;
&lt;br/&gt;
We would definitely need to investigate further, but all that the client does is try to use the hostname/IP provided during bootstrap. If nothing comes back or the host can&amp;#39;t be found, we can&amp;#39;t do much about it. Anyway, I think we need to do some more investigation here to really see whats the problem.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                <customfield id="customfield_10010" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                <customfieldname>Flagged</customfieldname>
                <customfieldvalues>
                        <customfieldvalue key="10010"><![CDATA[Release Note]]></customfieldvalue>
    
                </customfieldvalues>
            </customfield>
                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8593</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-138] Java Client does not recover when only bootstrap node provided and failovered</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-138</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>Within the current implementation, when the bootstrap node is failovered/removed (and only that one is provided in the list) it gets correctly removed from the SDK, but either a new try to get a different streaming connection fails or something else is wrong.&lt;br/&gt;
&lt;br/&gt;
Even when the node is added back into the cluster no new view connection is created (most arguably because no map updates are received anymore).&lt;br/&gt;
&lt;br/&gt;
This issue may also be the cause for other bugs related to failover scenarios reported.</description>
                <environment></environment>
            <key id="20541">JCBC-138</key>
            <summary>Java Client does not recover when only bootstrap node provided and failovered</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="daschl">Michael Nitschinger</reporter>
                        <labels>
                    </labels>
                <created>Mon, 5 Nov 2012 04:51:04 -0600</created>
                <updated>Mon, 20 May 2013 14:30:47 -0500</updated>
                                    <version>1.1-dp3</version>
                <version>1.1-dp4</version>
                                <fixVersion>1.1.7</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                            <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8594</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-164] Support CAS for delete operation</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-164</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>It would be nice if the DELETE operation would support a CAS parameter, a feature which is available in e. g. the Ruby client library. Without the possibility for checking for a given CAS value it may happen that a DELETE removes a key-value pair which was just updated by an other thread.</description>
                <environment></environment>
            <key id="21107">JCBC-164</key>
            <summary>Support CAS for delete operation</summary>
                <type id="2" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/newfeature.png">New Feature</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="schp">schp</reporter>
                        <labels>
                    </labels>
                <created>Tue, 4 Dec 2012 08:48:37 -0600</created>
                <updated>Mon, 20 May 2013 14:30:47 -0500</updated>
                                    <version>1.1-beta</version>
                                <fixVersion>1.1.7</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>1</watches>
                                                    <comments>
                    <comment id="45326" author="daschl" created="Tue, 4 Dec 2012 09:14:16 -0600"  >Thanks for your input!&lt;br/&gt;
&lt;br/&gt;
I&amp;#39;ll discuss this and then get back to you in this ticket!</comment>
                    <comment id="46337" author="daschl" created="Wed, 19 Dec 2012 11:40:27 -0600"  >What do you think about this?</comment>
                    <comment id="46339" author="ingenthr" created="Wed, 19 Dec 2012 11:47:01 -0600"  >I do think it makes sense, and it&amp;#39;s in there actually for operations with durability requirements.</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10001">
                <name>Duplicate</name>
                                                <inwardlinks description="is duplicated by">
                            <issuelink>
            <issuekey id="14970">JCBC-193</issuekey>
        </issuelink>
                    </inwardlinks>
                            </issuelinktype>
                    </issuelinks>
                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>31</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                <customfield id="customfield_10080" key="com.pyxis.greenhopper.jira:gh-sprint">
                <customfieldname>Sprint</customfieldname>
                <customfieldvalues>
                        <customfieldvalue>13</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                    </customfields>
    </item>

<item>
            <title>[JCBC-166] sync up the getting started guide on the web page to the docs</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-166</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>&lt;a href=&quot;http://www.couchbase.com/develop/java/current&quot;&gt;http://www.couchbase.com/develop/java/current&lt;/a&gt; should be a perfect subset of the getting started in the docs repo</description>
                <environment></environment>
            <key id="21166">JCBC-166</key>
            <summary>sync up the getting started guide on the web page to the docs</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="ingenthr">Matt Ingenthron</reporter>
                        <labels>
                    </labels>
                <created>Wed, 5 Dec 2012 12:32:39 -0600</created>
                <updated>Mon, 20 May 2013 14:30:47 -0500</updated>
                                    <version>1.1.0</version>
                                <fixVersion>1.1.7</fixVersion>
                                <component>docs</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                            <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8592</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-169] add overloaded methods for various types to the Query class</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-169</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>Currently, all types other than strings must go through the ComplexKey class.  This may not be the best approach since it leads to a bit of oddness with needing to tell the ComplexKey class to handle a single element differently.&lt;br/&gt;
&lt;br/&gt;
One alternative is to improve the Query class to handle other types, then deprecate the special handling in the ComplexKey class and change the behavior for a single element.  This would be a small API change, but maybe small enough that with sufficient warning, we can do it in a minor release.</description>
                <environment></environment>
            <key id="21176">JCBC-169</key>
            <summary>add overloaded methods for various types to the Query class</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="ingenthr">Matt Ingenthron</reporter>
                        <labels>
                    </labels>
                <created>Thu, 6 Dec 2012 00:56:59 -0600</created>
                <updated>Mon, 20 May 2013 14:30:47 -0500</updated>
                                    <version>1.1.0</version>
                                <fixVersion>1.1.7</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                            <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8591</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-161] Remove Duplication in Observe checks</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-161</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>The fix for &lt;a href=&quot;http://www.couchbase.com/issues/browse/JCBC-148&quot; title=&quot;Issue with Observe API Persist.TWO and 1 dead node: Time Out when doing set operation&quot;&gt;&lt;strike&gt;JCBC-148&lt;/strike&gt;&lt;/a&gt; works, but it checks against all nodes in the cluster. If you have a larger cluster, you have much more nodes than there could be assigned to a specific key. As an enhancement, the code in checkConfigAgainstPersistence should check against the nodes for the given key, not for everything.</description>
                <environment></environment>
            <key id="21070">JCBC-161</key>
            <summary>Remove Duplication in Observe checks</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="4" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/minor.png">Minor</priority>
                    <status id="3" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/inprogress.png">In Progress</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="daschl">Michael Nitschinger</reporter>
                        <labels>
                    </labels>
                <created>Mon, 3 Dec 2012 03:33:46 -0600</created>
                <updated>Mon, 20 May 2013 14:30:47 -0500</updated>
                                    <version>1.1.0</version>
                                <fixVersion>1.1.7</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>1</watches>
                                                    <comments>
                    <comment id="57998" author="daschl" created="Mon, 13 May 2013 05:17:40 -0500"  >&lt;a href=&quot;http://review.couchbase.org/#/c/26261/&quot;&gt;http://review.couchbase.org/#/c/26261/&lt;/a&gt;</comment>
                    <comment id="58000" author="daschl" created="Mon, 13 May 2013 05:26:53 -0500"  >Note that the new mechanism was implemented in a different changeset, and by now we had both in place behind one after another. since the other one was more accurate, the general one will be removed in favor of the other one.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>27</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                <customfield id="customfield_10080" key="com.pyxis.greenhopper.jira:gh-sprint">
                <customfieldname>Sprint</customfieldname>
                <customfieldvalues>
                        <customfieldvalue>13</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                    </customfields>
    </item>

<item>
            <title>[JCBC-196] append/incr/decr/add/replace should not require CAS value to be passed</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-196</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>In the current implementation, there is no method for a non-CAS version of the append/prepend/incr/decr/add/replace operations.  As per the memcached protocol, these operations do not require (but may be used with) a CAS id and requiring one greatly reduces the performance available by requiring a gets prior to the operation.&lt;br/&gt;
&lt;br/&gt;
Perry</description>
                <environment></environment>
            <key id="17923">JCBC-196</key>
            <summary>append/incr/decr/add/replace should not require CAS value to be passed</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="2" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/critical.png">Critical</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="perry">Perry Krug</reporter>
                        <labels>
                    </labels>
                <created>Thu, 21 Jun 2012 08:41:39 -0500</created>
                <updated>Mon, 20 May 2013 14:30:46 -0500</updated>
                                                    <fixVersion>1.1.7</fixVersion>
                                <component>docs</component>
                <component>library</component>
                                <votes>0</votes>
                        <watches>1</watches>
                                                    <comments>
                    <comment id="36504" author="rags" created="Wed, 22 Aug 2012 11:00:30 -0500"  >The incr, decr, add and replace do have calls that do not require CAS Id. For the append and prepend methods&lt;br/&gt;
&lt;br/&gt;
you could do something like this&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;c.prepend(0, &amp;quot;prepend-key&amp;quot;, &amp;quot;value&amp;quot;);&lt;br/&gt;
&lt;br/&gt;
which would not require a CAS to be supplied/fetched. Will this suffice for now?&lt;br/&gt;
&lt;br/&gt;
My suggestion would be to close this issue and open a separate issue for just append and prepend if it&amp;#39;s still deemed a bug.&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;</comment>
                    <comment id="46470" author="daschl" created="Fri, 21 Dec 2012 02:30:43 -0600"  >&lt;a href=&quot;http://review.couchbase.org/#/c/23486/&quot;&gt;http://review.couchbase.org/#/c/23486/&lt;/a&gt;</comment>
                    <comment id="46481" author="perry" created="Fri, 21 Dec 2012 05:13:49 -0600"  >This will need a docs update as well...</comment>
                    <comment id="49832" author="perry" created="Wed, 6 Feb 2013 05:18:38 -0600"  >Michael, just to add here, I think it would be sufficient to document this rather than changing the API itself.  Documenting that you can (and should!) pass 0 for the CAS value when using these operations.</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10001">
                <name>Duplicate</name>
                                                <inwardlinks description="is duplicated by">
                            <issuelink>
            <issuekey id="20622">JCBC-143</issuekey>
        </issuelink>
                    </inwardlinks>
                            </issuelinktype>
                    </issuelinks>
                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>30</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                <customfield id="customfield_10080" key="com.pyxis.greenhopper.jira:gh-sprint">
                <customfieldname>Sprint</customfieldname>
                <customfieldvalues>
                        <customfieldvalue>13</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                    </customfields>
    </item>

<item>
            <title>[JCBC-171] document how to set config options in xml config files, and all config options available</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-171</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>I can&amp;#39;t find any info on our web site, docs, tutorials, etc. for how how to set config options for Java client usage in an xml config file. Need examples of that, and exhaustive reference of all the options that can go in a config, along the lines of what we have for the CouchbaseConnectionFactoryBuilder class at:&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/couchbase-sdk-ccfb.html&quot;&gt;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/couchbase-sdk-ccfb.html&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
Also, it&amp;#39;s very confusing to have 1.1 docs with useful info that applies to 1.0 docs, too, but have the 1.0 docs not updated. For example, there&amp;#39;s no mention in the 1.0 docs of any of the stuff that is mentioned on the 1.1 sdk-ccfb page, even though lots of that would be relevant to 1.0 too.&lt;br/&gt;
&lt;br/&gt;
</description>
                <environment></environment>
            <key id="21195">JCBC-171</key>
            <summary>document how to set config options in xml config files, and all config options available</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="TimSmith">Tim Smith</reporter>
                        <labels>
                    </labels>
                <created>Thu, 6 Dec 2012 19:46:52 -0600</created>
                <updated>Mon, 20 May 2013 14:30:46 -0500</updated>
                                    <version>1.0.3</version>
                                <fixVersion>1.1.7</fixVersion>
                                <component>docs</component>
                                <votes>0</votes>
                        <watches>0</watches>
                          <timeoriginalestimate seconds="288000">80h</timeoriginalestimate>
                    <timeestimate seconds="288000">80h</timeestimate>
                                          <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8590</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-173] flush will not work owing to MB-7381</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-173</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>During development of 1.1, RESTful flush was written, but it turns out that there is an issue with the server implementation of flush, and it requires Administrator level credentials.  This makes it impractical for clients that don&amp;#39;t have those credentials, like a default CouchbaseClient.&lt;br/&gt;
&lt;br/&gt;
This means the flush implementation is done, but won&amp;#39;t work for now.</description>
                <environment></environment>
            <key id="21212">JCBC-173</key>
            <summary>flush will not work owing to MB-7381</summary>
                <type id="3" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/task.png">Task</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="ingenthr">Matt Ingenthron</reporter>
                        <labels>
                    </labels>
                <created>Fri, 7 Dec 2012 21:12:33 -0600</created>
                <updated>Mon, 20 May 2013 14:30:46 -0500</updated>
                                    <version>1.1.0</version>
                                <fixVersion>1.1.7</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="45666" author="ingenthr" created="Fri, 7 Dec 2012 21:15:00 -0600"  >Using the ClusterManager interface, one can work around this issue for now if using the Administrator creds is acceptable.</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10000">
                <name>Dependency</name>
                                <outwardlinks description="depends on">
                            <issuelink>
            <issuekey id="21211">MB-7381</issuekey>
        </issuelink>
                    </outwardlinks>
                                            </issuelinktype>
                        <issuelinktype id="10001">
                <name>Duplicate</name>
                                                <inwardlinks description="is duplicated by">
                            <issuelink>
            <issuekey id="22591">JCBC-242</issuekey>
        </issuelink>
                    </inwardlinks>
                            </issuelinktype>
                    </issuelinks>
                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                <customfield id="customfield_10010" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                <customfieldname>Flagged</customfieldname>
                <customfieldvalues>
                        <customfieldvalue key="10010"><![CDATA[Release Note]]></customfieldvalue>
    
                </customfieldvalues>
            </customfield>
                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8589</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-183] Many methods in api reference don&apos;t link to corresponding documentation page</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-183</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>Many of the links in the api-reference-summary.html don&amp;#39;t go anywhere. They should all link to the detail page for the particular method.&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/api-reference-summary.html&quot;&gt;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/api-reference-summary.html&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
It *may* be just the ones with durability requirements (persistto, replicateto) in the signature.</description>
                <environment>&lt;a href=&quot;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/api-reference-summary.html&quot;&gt;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/api-reference-summary.html&lt;/a&gt;</environment>
            <key id="21331">JCBC-183</key>
            <summary>Many methods in api reference don&apos;t link to corresponding documentation page</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="TimSmith">Tim Smith</reporter>
                        <labels>
                    </labels>
                <created>Fri, 14 Dec 2012 12:55:04 -0600</created>
                <updated>Mon, 20 May 2013 14:30:46 -0500</updated>
                                    <version>1.1.0</version>
                                <fixVersion>1.1.7</fixVersion>
                                <component>docs</component>
                                <votes>0</votes>
                        <watches>0</watches>
                          <timeoriginalestimate seconds="1800">0.5h</timeoriginalestimate>
                    <timeestimate seconds="1800">0.5h</timeestimate>
                                          <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8587</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-184] API reference should show return types</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-184</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>The return type is critical for understanding how to use a function. In particular with the Java client library, it&amp;#39;s critical to know if a function returns a Future (i.e., it&amp;#39;s an async function) or not. Otherwise it&amp;#39;s impossible to use it correctly.&lt;br/&gt;
&lt;br/&gt;
Currently one must click through, scroll around, and pick out the return value somewhere in a list of parameters on the details page. It would be worth the extra screen real estate on the api reference page to show the return value as well.&lt;br/&gt;
&lt;br/&gt;
</description>
                <environment>&lt;a href=&quot;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/api-reference-summary.html&quot;&gt;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/api-reference-summary.html&lt;/a&gt;</environment>
            <key id="21332">JCBC-184</key>
            <summary>API reference should show return types</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="TimSmith">Tim Smith</reporter>
                        <labels>
                    </labels>
                <created>Fri, 14 Dec 2012 12:57:41 -0600</created>
                <updated>Mon, 20 May 2013 14:30:46 -0500</updated>
                                    <version>1.1.0</version>
                                <fixVersion>1.1.7</fixVersion>
                                <component>docs</component>
                                <votes>0</votes>
                        <watches>0</watches>
                          <timeoriginalestimate seconds="28800">8h</timeoriginalestimate>
                    <timeestimate seconds="28800">8h</timeestimate>
                                          <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8586</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-189] Views having odd timeout issues on some clusters</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-189</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>We&amp;#39;re seeing really strange timeout issues which seem to affect only this specific cluster and only in terms of views. We&amp;#39;ve re-installed this cluster time and time again, and we&amp;#39;ve had similar configurations run successfully as well.&lt;br/&gt;
&lt;br/&gt;
More details in comment..</description>
                <environment></environment>
            <key id="21413">JCBC-189</key>
            <summary>Views having odd timeout issues on some clusters</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="3" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/inprogress.png">In Progress</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="mnunberg">Mark Nunberg</reporter>
                        <labels>
                    </labels>
                <created>Tue, 18 Dec 2012 21:44:37 -0600</created>
                <updated>Mon, 20 May 2013 14:30:46 -0500</updated>
                                    <version>1.1.0</version>
                                <fixVersion>1.1.7</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="46263" author="mnunberg" created="Tue, 18 Dec 2012 21:55:02 -0600"  >Just try to do this with a simple java script (i.e. connect and query the view)</comment>
                    <comment id="46401" author="deeptida" created="Thu, 20 Dec 2012 04:20:13 -0600"  >This issue persists when the view retrieval is ran from standalone java program as well.&lt;br/&gt;
I tried this on both the VMs - 10.3.3.203, 10.3.3.209.</comment>
                    <comment id="46403" author="deeptida" created="Thu, 20 Dec 2012 05:35:07 -0600"  >Its working fine for server deployed on localhost.</comment>
                    <comment id="46915" author="ingenthr" created="Wed, 2 Jan 2013 16:51:07 -0600"  >Michael: found out today that this is a large issue for SDKQE.  Can you have a quick look at this in the next day?  You may find the underlying issue.</comment>
                    <comment id="46971" author="daschl" created="Thu, 3 Jan 2013 09:57:11 -0600"  >Please pass me the script as commented and then (or if you can&amp;#39;t) please assign it back to me! Thanks</comment>
                    <comment id="48045" author="daschl" created="Fri, 18 Jan 2013 02:39:59 -0600"  >According to the posted logs, it looks like debugging was not turned on. Can you please run this again with debugging turned on? To get the full logs to STDOUT, use this before initializing the CouchbaseClient in The App:&lt;br/&gt;
&lt;br/&gt;
&amp;#xA0; &amp;#xA0; &amp;#xA0; // Tell spy to use the SunLogger&lt;br/&gt;
&amp;nbsp;&amp;#xA0; &amp;#xA0; &amp;#xA0; &amp;#xA0;Properties systemProperties = System.getProperties();&lt;br/&gt;
&amp;nbsp;&amp;#xA0; &amp;#xA0; &amp;#xA0; &amp;#xA0;systemProperties.put(&amp;quot;net.spy.log.LoggerImpl&amp;quot;, &amp;quot;net.spy.memcached.compat.log.SunLogger&amp;quot;);&lt;br/&gt;
&amp;nbsp;&amp;#xA0; &amp;#xA0; &amp;#xA0; &amp;#xA0;System.setProperties(systemProperties);&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;#xA0; &amp;#xA0; &amp;#xA0; &amp;#xA0;Logger.getLogger(&amp;quot;com.couchbase.client&amp;quot;).setLevel(Level.FINEST);&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;#xA0; &amp;#xA0; &amp;#xA0; &amp;#xA0;//get the top Logger&lt;br/&gt;
&amp;nbsp;&amp;#xA0; &amp;#xA0; &amp;#xA0; &amp;#xA0;Logger topLogger = java.util.logging.Logger.getLogger(&amp;quot;&amp;quot;);&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;#xA0; &amp;#xA0; &amp;#xA0; &amp;#xA0;// Handler for console (reuse it if it already exists)&lt;br/&gt;
&amp;nbsp;&amp;#xA0; &amp;#xA0; &amp;#xA0; &amp;#xA0;Handler consoleHandler = null;&lt;br/&gt;
&amp;nbsp;&amp;#xA0; &amp;#xA0; &amp;#xA0; &amp;#xA0;//see if there is already a console handler&lt;br/&gt;
&amp;nbsp;&amp;#xA0; &amp;#xA0; &amp;#xA0; &amp;#xA0;for (Handler handler : topLogger.getHandlers()) {&lt;br/&gt;
&amp;nbsp;&amp;#xA0; &amp;#xA0; &amp;#xA0; &amp;#xA0; &amp;#xA0; &amp;#xA0;if (handler instanceof ConsoleHandler) {&lt;br/&gt;
&amp;nbsp;&amp;#xA0; &amp;#xA0; &amp;#xA0; &amp;#xA0; &amp;#xA0; &amp;#xA0; &amp;#xA0; &amp;#xA0;//found the console handler&lt;br/&gt;
&amp;nbsp;&amp;#xA0; &amp;#xA0; &amp;#xA0; &amp;#xA0; &amp;#xA0; &amp;#xA0; &amp;#xA0; &amp;#xA0;consoleHandler = handler;&lt;br/&gt;
&amp;nbsp;&amp;#xA0; &amp;#xA0; &amp;#xA0; &amp;#xA0; &amp;#xA0; &amp;#xA0; &amp;#xA0; &amp;#xA0;break;&lt;br/&gt;
&amp;nbsp;&amp;#xA0; &amp;#xA0; &amp;#xA0; &amp;#xA0; &amp;#xA0; &amp;#xA0;}&lt;br/&gt;
&amp;nbsp;&amp;#xA0; &amp;#xA0; &amp;#xA0; &amp;#xA0;}&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;#xA0; &amp;#xA0; &amp;#xA0; &amp;#xA0;if (consoleHandler == null) {&lt;br/&gt;
&amp;nbsp;&amp;#xA0; &amp;#xA0; &amp;#xA0; &amp;#xA0; &amp;#xA0; &amp;#xA0;//there was no console handler found, create a new one&lt;br/&gt;
&amp;nbsp;&amp;#xA0; &amp;#xA0; &amp;#xA0; &amp;#xA0; &amp;#xA0; &amp;#xA0;consoleHandler = new ConsoleHandler();&lt;br/&gt;
&amp;nbsp;&amp;#xA0; &amp;#xA0; &amp;#xA0; &amp;#xA0; &amp;#xA0; &amp;#xA0;topLogger.addHandler(consoleHandler);&lt;br/&gt;
&amp;nbsp;&amp;#xA0; &amp;#xA0; &amp;#xA0; &amp;#xA0;}&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;#xA0; &amp;#xA0; &amp;#xA0; &amp;#xA0;//set the console handler to fine:&lt;br/&gt;
&amp;nbsp;&amp;#xA0; &amp;#xA0; &amp;#xA0; &amp;#xA0;consoleHandler.setLevel(java.util.logging.Level.FINEST);&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
Would be great if we can get all the output so we can investigate where the timeouts come from. I&amp;#39;m sure with a debug log it will be much easier. Thanks!</comment>
                    <comment id="48453" author="mnunberg" created="Wed, 23 Jan 2013 20:28:29 -0600"  >So this bug isn&amp;#39;t such an &amp;quot;unknown&amp;quot; anymore, and has exposed itself in 1.1.0 as well as 1.1.1 and isn&amp;#39;t limited to particular clusters - (it just seems that some clusters are more likely than others to trigger this bug).&lt;br/&gt;
&lt;br/&gt;
However this still needs a lot of care and analysis</comment>
                    <comment id="49377" author="daschl" created="Fri, 1 Feb 2013 06:26:32 -0600"  >This is &amp;quot;kinda&amp;quot; blocker.</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10000">
                <name>Dependency</name>
                                <outwardlinks description="depends on">
                            <issuelink>
            <issuekey id="22230">MB-7661</issuekey>
        </issuelink>
                    </outwardlinks>
                                                <inwardlinks description="blocks">
                            <issuelink>
            <issuekey id="21220">JCBC-176</issuekey>
        </issuelink>
                    </inwardlinks>
                            </issuelinktype>
                    </issuelinks>
                <attachments>
                    <attachment id="16112" name="failover-debug.args" size="435" author="deeptida" created="Fri, 4 Jan 2013 02:44:13 -0600" />
                    <attachment id="16032" name="fo-dbg.log.txt" size="20447" author="mnunberg" created="Tue, 18 Dec 2012 21:55:56 -0600" />
                    <attachment id="16111" name="vm-4nodes-2.ini" size="179" author="deeptida" created="Fri, 4 Jan 2013 02:44:13 -0600" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8584</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-199] constructor documented as client method returning &quot;(none)&quot;</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-199</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>The constructor is documented to return &amp;quot;(none)&amp;quot;, which isn&amp;#39;t really correct.&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/api-reference-connection.html&quot;&gt;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/api-reference-connection.html&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
Also, the docs make it look like it&amp;#39;s a method call on an existing client object (&amp;quot;client.new&amp;quot;), which isn&amp;#39;t accurate:&lt;br/&gt;
&lt;br/&gt;
&amp;quot;client.new CouchbaseClient([ url ] [, urls ] [, username ] [, password ])&amp;quot;&lt;br/&gt;
&lt;br/&gt;
</description>
                <environment>&lt;a href=&quot;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/api-reference-connection.html&quot;&gt;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/api-reference-connection.html&lt;/a&gt;</environment>
            <key id="21557">JCBC-199</key>
            <summary>constructor documented as client method returning &quot;(none)&quot;</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="TimSmith">Tim Smith</reporter>
                        <labels>
                    </labels>
                <created>Wed, 2 Jan 2013 14:03:04 -0600</created>
                <updated>Mon, 20 May 2013 14:30:45 -0500</updated>
                                    <version>1.1.0</version>
                                <fixVersion>1.1.7</fixVersion>
                                <component>docs</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="49162" author="daschl" created="Thu, 31 Jan 2013 08:51:18 -0600"  >Moving to 1.1.2, depending on the size of the change maybe will be 1.1.3 or in between.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8582</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-201] All async ops should link to the Asynchronous Operations page</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-201</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>There are a lot of async operations. They return *Future&amp;lt;*&amp;gt;. They should all have a link back to the overview of how Asynchronous Operations work, at &lt;a href=&quot;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/couchbase-sdk-java-summary-asynchronous.html&quot;&gt;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/couchbase-sdk-java-summary-asynchronous.html&lt;/a&gt;</description>
                <environment>&lt;a href=&quot;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/couchbase-sdk-java-set-add.html&quot;&gt;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/couchbase-sdk-java-set-add.html&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/couchbase-sdk-java-retrieve-get-async.html&quot;&gt;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/couchbase-sdk-java-retrieve-get-async.html&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
Etc., there are a bunch of these.&lt;br/&gt;
</environment>
            <key id="21560">JCBC-201</key>
            <summary>All async ops should link to the Asynchronous Operations page</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="TimSmith">Tim Smith</reporter>
                        <labels>
                    </labels>
                <created>Wed, 2 Jan 2013 14:16:52 -0600</created>
                <updated>Mon, 20 May 2013 14:30:45 -0500</updated>
                                                    <fixVersion>1.1.7</fixVersion>
                                <component>docs</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="49161" author="daschl" created="Thu, 31 Jan 2013 08:51:18 -0600"  >Moving to 1.1.2, depending on the size of the change maybe will be 1.1.3 or in between.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8581</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-203] append/prepend are ASYNC, and can specify 0 for casunique</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-203</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>This is a two-for-one bug report for the docs. First, the return value of append/prepend is Future&amp;lt;Boolean&amp;gt;, not &amp;quot;Object ( Binary object )&amp;quot;. These are async ops, and need to be documented as such.&lt;br/&gt;
&lt;br/&gt;
Next, the append and prepend methods say that the casunique argument must be specified, but don&amp;#39;t mention that it is OK to pass 0 here if you just want to append to whatever is there.&lt;br/&gt;
&lt;br/&gt;
In fact, using 0 for casunique is going to be the normal use case for these functions, since memcached (and Couchbase) defines them to be atomic. It&amp;#39;s too bad that spymemcached made this interface clunky, but we can at least document this normal use case.</description>
                <environment>&lt;a href=&quot;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/couchbase-sdk-java-update-append.html&quot;&gt;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/couchbase-sdk-java-update-append.html&lt;/a&gt;</environment>
            <key id="21566">JCBC-203</key>
            <summary>append/prepend are ASYNC, and can specify 0 for casunique</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="TimSmith">Tim Smith</reporter>
                        <labels>
                    </labels>
                <created>Wed, 2 Jan 2013 15:55:52 -0600</created>
                <updated>Mon, 20 May 2013 14:30:45 -0500</updated>
                                                    <fixVersion>1.1.7</fixVersion>
                                <component>docs</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="49157" author="daschl" created="Thu, 31 Jan 2013 08:51:17 -0600"  >Moving to 1.1.2, depending on the size of the change maybe will be 1.1.3 or in between.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>29</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                <customfield id="customfield_10080" key="com.pyxis.greenhopper.jira:gh-sprint">
                <customfieldname>Sprint</customfieldname>
                <customfieldvalues>
                        <customfieldvalue>13</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                    </customfields>
    </item>

<item>
            <title>[JCBC-206] Need clear info and examples on proper error handling</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-206</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>It&amp;#39;s very difficult for people to understand the error handling behavior of the client library, and how to properly handle errors. The async methods make it even more difficult. Information is spread across multiple sections, hidden in individual method descriptions, or else not mentioned at all. The docs should provide a clear description of how to use the API correctly, including example code that does correct error handling that can be cut-and-pasted.&lt;br/&gt;
&lt;br/&gt;
There is a brief mention of error handling here, but it&amp;#39;s hidden and very cursory, with no example code:&lt;br/&gt;
&lt;a href=&quot;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/create-update-docs.html&quot;&gt;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/create-update-docs.html&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
This doc mentions that .get() returns null on failure, but gives no hints on how to determine why, or what the right way to recover is:&lt;br/&gt;
&lt;a href=&quot;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/read-docs.html&quot;&gt;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/read-docs.html&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
This gives a very cursory mention of failure, but no way to get further details:&lt;br/&gt;
&lt;a href=&quot;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/delete-docs.html&quot;&gt;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/delete-docs.html&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
No mention of JSON encoding errors or what to expect:&lt;br/&gt;
&lt;a href=&quot;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/json-handling-docs.html&quot;&gt;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/json-handling-docs.html&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
Mentions that OperationFuture may return false even if operation succeeds due to durability requirement failure, but no clear example of how to tell the difference, what status codes to expect in each case, etc.:&lt;br/&gt;
&lt;a href=&quot;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/advanced-persistence.html&quot;&gt;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/advanced-persistence.html&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
Mentions that synchronous call may return an exception, but no info on what the exception would be, or in what circumstances it may return null with no exception:&lt;br/&gt;
&lt;a href=&quot;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/couchbase-sdk-java-summary-synchronous.html&quot;&gt;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/couchbase-sdk-java-summary-synchronous.html&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
No mention of .isSuccess() method, or any info on how errors are reported via *Future objects. Also no mention of when the async method may fail immediately vs. when the failure will be reported only after checking .isSuccess() or another method on the future. No mention of what errors are reported as exceptions vs. what errors are reported only via the future object&amp;#39;s methods.:&lt;br/&gt;
&lt;a href=&quot;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/couchbase-sdk-java-summary-asynchronous.html&quot;&gt;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/couchbase-sdk-java-summary-asynchronous.html&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
No mention of when the constructor might fail or what exceptions might be thrown:&lt;br/&gt;
&lt;a href=&quot;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/api-reference-connection.html&quot;&gt;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/api-reference-connection.html&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
No mention of how to tell if the FALSE result is due to timeout, impossible persistence requirements, or other problem:&lt;br/&gt;
&lt;a href=&quot;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/couchbase-sdk-java-set-observe.html&quot;&gt;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/couchbase-sdk-java-set-observe.html&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
Not clear enough that .add(), .set(), .replace() are an async methods, too easy for new user to misunderstand how to use them:&lt;br/&gt;
&lt;a href=&quot;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/couchbase-sdk-java-set-add.html&quot;&gt;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/couchbase-sdk-java-set-add.html&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/couchbase-sdk-java-set-set.html&quot;&gt;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/couchbase-sdk-java-set-set.html&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/couchbase-sdk-java-update-replace.html&quot;&gt;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/couchbase-sdk-java-update-replace.html&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
No mention that .get() may throw an exception, or how errors other than NotFound may be reported:&lt;br/&gt;
&lt;a href=&quot;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/couchbase-sdk-java-retrieve-get.html&quot;&gt;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/couchbase-sdk-java-retrieve-get.html&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
Yay, here is an example that has a bit of error handling! Unfortunately, it is a &amp;quot;catch(Exception)&amp;quot; (i.e., very generic, and not intended to catch Couchbase-specific errors or timeouts), and no indication of how to handle actual Couchbase errors. Also gives false impression that get() will throw an exception on all failure, when in fact you need to check for failure with .isSuccess() or something.:&lt;br/&gt;
&lt;a href=&quot;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/couchbase-sdk-java-retrieve-get-async.html&quot;&gt;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/couchbase-sdk-java-retrieve-get-async.html&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
Also on that page (async get), mentions that a TimeoutException may be thrown. But that won&amp;#39;t happen on asyncGet() call, instead it will be when checking .get() on the Future result. I think. It is welcome to list exceptions that can be thrown, but I think this one is incorrect.&lt;br/&gt;
&lt;a href=&quot;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/couchbase-sdk-java-retrieve-get-async.html&quot;&gt;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/couchbase-sdk-java-retrieve-get-async.html&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
.getBulk() and .asyncGetBulk() are complicated enough that they deserve their own example of proper error handling, and what happens when one server node is down and other nodes are up, so partial results are available, etc.:&lt;br/&gt;
&lt;a href=&quot;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/couchbase-sdk-java-retrieve-bulk.html&quot;&gt;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/couchbase-sdk-java-retrieve-bulk.html&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
Nice that these pages mention what exceptions can be thrown, so I can infer how to tell a timeout from a not found, etc. But why only here? Shouldn&amp;#39;t these exceptions be more generally described elsewhere as applying to all operations (RuntimeException, InterruptedException, OperationTimeoutException)?:&lt;br/&gt;
&lt;a href=&quot;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/couchbase-sdk-java-retrieve-get-and-lock.html&quot;&gt;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/couchbase-sdk-java-retrieve-get-and-lock.html&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/couchbase-sdk-java-retrieve-unlock.html&quot;&gt;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/couchbase-sdk-java-retrieve-unlock.html&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
Append and Prepend should normally use 0 for the casunique, and then I would not expect an EXISTS error. The example code is clunky, less efficient (suggests doing a .gets() call just to get the cas id), and likely to fail much more often. The example code does not do proper retry handling on an EXISTS error. It does not show how to distinguish an EXISTS, NOTFOUND, or server down error.:&lt;br/&gt;
&lt;a href=&quot;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/couchbase-sdk-java-update-append.html&quot;&gt;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/couchbase-sdk-java-update-append.html&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/couchbase-sdk-java-update-prepend.html&quot;&gt;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/couchbase-sdk-java-update-prepend.html&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
View queries might time out, on all or some servers. Should document how the client should handle errors from view queries. Also, if client requests a view that doesn&amp;#39;t exist, how is that handled:&lt;br/&gt;
&lt;a href=&quot;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/api-reference-view.html&quot;&gt;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/api-reference-view.html&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
There is no mention of error handling in the &amp;quot;Using the APIs&amp;quot; nor &amp;quot;Java Troubleshooting&amp;quot; sections, either:&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/api-reference-started.html&quot;&gt;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/api-reference-started.html&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/api-reference-troubleshooting.html&quot;&gt;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/api-reference-troubleshooting.html&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
There is a brief mention of RuntimeException being &amp;quot;returned&amp;quot; (should say &amp;quot;thrown&amp;quot;) in the section on handling timeouts, but this is too buried and too specific to be of real use. And there is no example code:&lt;br/&gt;
&lt;a href=&quot;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/api-reference-troubleshooting.html&quot;&gt;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/api-reference-troubleshooting.html&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
Also, the tutorial doesn&amp;#39;t do error handling at all, for example:&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/managing-beers.html&quot;&gt;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/managing-beers.html&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
Look for &amp;quot;client.set&amp;quot; and &amp;quot;client.query&amp;quot; on that page and you&amp;#39;ll see it ignores error handling entirely. I think this is a mistake in tutorial code, it should be complete and correct, or at least it should provide a warning saying that there is no error handling, with a link to the docs that describe how to do proper error handling.&lt;br/&gt;
&lt;br/&gt;
</description>
                <environment>&lt;a href=&quot;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/getting-started.html&quot;&gt;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/getting-started.html&lt;/a&gt;&lt;br/&gt;
</environment>
            <key id="21573">JCBC-206</key>
            <summary>Need clear info and examples on proper error handling</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="TimSmith">Tim Smith</reporter>
                        <labels>
                    </labels>
                <created>Wed, 2 Jan 2013 16:47:42 -0600</created>
                <updated>Mon, 20 May 2013 14:30:45 -0500</updated>
                                    <version>1.1.0</version>
                                <fixVersion>1.1.7</fixVersion>
                                <component>docs</component>
                                <votes>0</votes>
                        <watches>1</watches>
                                                    <comments>
                    <comment id="49160" author="daschl" created="Thu, 31 Jan 2013 08:51:18 -0600"  >Moving to 1.1.2, depending on the size of the change maybe will be 1.1.3 or in between.</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10001">
                <name>Duplicate</name>
                                <outwardlinks description="duplicates">
                                    </outwardlinks>
                                                <inwardlinks description="is duplicated by">
                            <issuelink>
            <issuekey id="22509">JCBC-236</issuekey>
        </issuelink>
                    </inwardlinks>
                            </issuelinktype>
                    </issuelinks>
                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8580</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-205] docs for touch() should mention getAndTouch()</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-205</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>It would be nice for the touch() docs to mention getAndTouch() as a common optimization:&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/couchbase-sdk-java-retrieve-gat.html&quot;&gt;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/couchbase-sdk-java-retrieve-gat.html&lt;/a&gt;</description>
                <environment>&lt;a href=&quot;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/couchbase-sdk-java-update-touch.html&quot;&gt;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/couchbase-sdk-java-update-touch.html&lt;/a&gt;</environment>
            <key id="21571">JCBC-205</key>
            <summary>docs for touch() should mention getAndTouch()</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="4" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/minor.png">Minor</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="TimSmith">Tim Smith</reporter>
                        <labels>
                    </labels>
                <created>Wed, 2 Jan 2013 16:36:18 -0600</created>
                <updated>Mon, 20 May 2013 14:30:45 -0500</updated>
                                                    <fixVersion>1.1.7</fixVersion>
                                <component>docs</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                            <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8753</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-217] Create Source-Code Styleguide</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-217</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>A style guide for all java applications should be developed and paired with checkstyle rules. If possible, also provide a howto on IDE integration and git hooks.</description>
                <environment></environment>
            <key id="21919">JCBC-217</key>
            <summary>Create Source-Code Styleguide</summary>
                <type id="2" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/newfeature.png">New Feature</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="daschl">Michael Nitschinger</reporter>
                        <labels>
                    </labels>
                <created>Wed, 23 Jan 2013 04:15:27 -0600</created>
                <updated>Mon, 20 May 2013 14:30:44 -0500</updated>
                                    <version>1.1.0</version>
                                <fixVersion>1.1.7</fixVersion>
                                <component>docs</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="49158" author="daschl" created="Thu, 31 Jan 2013 08:51:18 -0600"  >Moving to 1.1.2, depending on the size of the change maybe will be 1.1.3 or in between.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8578</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-228] a no-args constructor and an init method are needed</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-228</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>Currently, the CouchbaseClient does a number of things that are not so pretty, like spinning up a thread from it&amp;#39;s ctor.  It would be better to add an additional, optional no-args constructor which expects an init method to be called with the other params needed, start thread, etc.</description>
                <environment></environment>
            <key id="22101">JCBC-228</key>
            <summary>a no-args constructor and an init method are needed</summary>
                <type id="2" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/newfeature.png">New Feature</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="ingenthr">Matt Ingenthron</reporter>
                        <labels>
                    </labels>
                <created>Thu, 31 Jan 2013 02:51:03 -0600</created>
                <updated>Mon, 20 May 2013 14:30:44 -0500</updated>
                                    <version>1.1.0</version>
                <version>1.1.1</version>
                                <fixVersion>1.1.7</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="49154" author="daschl" created="Thu, 31 Jan 2013 08:44:21 -0600"  >Assigning towards 1.1.2 but we can defer it to 1.1.3 as well.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8576</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-233] Write the Java on Windows with Eclipse installation instructions for essentials guide</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-233</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>Write the Java on Windows using Eclipse section of the Essentials Guide&lt;br/&gt;
&lt;br/&gt;
Needs to cover: &lt;br/&gt;
&lt;br/&gt;
Basic Installation/Setup of Eclipse&lt;br/&gt;
Adding the Couchbase Java components to Eclipse&lt;br/&gt;
Writing your first (small) app using Couchbase within Eclipse&lt;br/&gt;
&lt;br/&gt;
Submissions should be to MC, either through the couchbase/docs repo, or direct to MC in whatever format suits. Must include both the text and images. &lt;br/&gt;
</description>
                <environment></environment>
            <key id="22456">JCBC-233</key>
            <summary>Write the Java on Windows with Eclipse installation instructions for essentials guide</summary>
                <type id="2" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/newfeature.png">New Feature</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="mccouch">MC Brown</reporter>
                        <labels>
                    </labels>
                <created>Mon, 4 Feb 2013 11:09:32 -0600</created>
                <updated>Mon, 20 May 2013 14:30:44 -0500</updated>
                                                    <fixVersion>1.1.7</fixVersion>
                                <component>docs</component>
                                <votes>0</votes>
                        <watches>1</watches>
                                                            <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8407</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-234] Write the Java on Mac OS X using Eclipse section of the Essentials Guide</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-234</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>Write the Java on Mac OS X using Eclipse section of the Essentials Guide&lt;br/&gt;
&lt;br/&gt;
Needs to cover: &lt;br/&gt;
&lt;br/&gt;
Basic Installation/Setup of Eclipse&lt;br/&gt;
Adding the Couchbase Java components to Eclipse&lt;br/&gt;
Writing your first (small) app using Couchbase within Eclipse&lt;br/&gt;
&lt;br/&gt;
Submissions should be to MC, either through the couchbase/docs repo, or direct to MC in whatever format suits. Must include both the text and images. &lt;br/&gt;
</description>
                <environment></environment>
            <key id="22457">JCBC-234</key>
            <summary>Write the Java on Mac OS X using Eclipse section of the Essentials Guide</summary>
                <type id="2" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/newfeature.png">New Feature</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="mccouch">MC Brown</reporter>
                        <labels>
                    </labels>
                <created>Mon, 4 Feb 2013 11:10:16 -0600</created>
                <updated>Mon, 20 May 2013 14:30:44 -0500</updated>
                                                    <fixVersion>1.1.7</fixVersion>
                                <component>docs</component>
                                <votes>0</votes>
                        <watches>1</watches>
                                                            <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8409</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-235] Write the Java on Linux using Eclipse section of the Essentials Guide</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-235</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>Write the Java on Linux using Eclipse section of the Essentials Guide&lt;br/&gt;
&lt;br/&gt;
Needs to cover: &lt;br/&gt;
&lt;br/&gt;
Basic Installation/Setup of Eclipse&lt;br/&gt;
Adding the Couchbase Java components to Eclipse&lt;br/&gt;
Writing your first (small) app using Couchbase within Eclipse&lt;br/&gt;
&lt;br/&gt;
Submissions should be to MC, either through the couchbase/docs repo, or direct to MC in whatever format suits. Must include both the text and images. </description>
                <environment></environment>
            <key id="22458">JCBC-235</key>
            <summary>Write the Java on Linux using Eclipse section of the Essentials Guide</summary>
                <type id="2" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/newfeature.png">New Feature</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="mccouch">MC Brown</reporter>
                        <labels>
                    </labels>
                <created>Mon, 4 Feb 2013 11:11:06 -0600</created>
                <updated>Mon, 20 May 2013 14:30:44 -0500</updated>
                                                    <fixVersion>1.1.7</fixVersion>
                                <component>docs</component>
                                <votes>0</votes>
                        <watches>2</watches>
                                                        <issuelinks>
                        <issuelinktype id="10001">
                <name>Duplicate</name>
                                                <inwardlinks description="is duplicated by">
                            <issuelink>
            <issuekey id="22607">JCBC-243</issuekey>
        </issuelink>
                    </inwardlinks>
                            </issuelinktype>
                    </issuelinks>
                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8408</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-258] documentation needs to be much clearer about Query.setKey() requiring JSON encoded strings or use of ComplexKey</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-258</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>Neither the javadoc nor the existing documentation really cover the potential issues with setKey using a number or something that will autobox into a string value.  This should be much clearer.</description>
                <environment></environment>
            <key id="23058">JCBC-258</key>
            <summary>documentation needs to be much clearer about Query.setKey() requiring JSON encoded strings or use of ComplexKey</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="2" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/critical.png">Critical</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="ingenthr">Matt Ingenthron</reporter>
                        <labels>
                    </labels>
                <created>Wed, 6 Mar 2013 13:45:05 -0600</created>
                <updated>Mon, 20 May 2013 14:30:43 -0500</updated>
                                    <version>1.1.3</version>
                                <fixVersion>1.1.7</fixVersion>
                                <component>docs</component>
                                <votes>0</votes>
                        <watches>1</watches>
                                                            <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                            <customfield id="customfield_10284" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                <customfieldname>Planned End</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Wed, 6 Mar 2013 12:00:00 -0600</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10283" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                <customfieldname>Planned Start</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Wed, 6 Mar 2013 12:00:00 -0600</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>9277</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-269] subsequent resubscribers should not run if a resubscriber is successful</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-269</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>When investigating a case recently, I noticed many resubscribers running once a second.  Looking at the code, it appears the kind of threadpool being used would just queue more and more up, but only run one at a time.&lt;br/&gt;
&lt;br/&gt;
The subsequent resubscribers should exit immediately if resubscribe is no longer needed.  Or the threadpool could be changed so we can&amp;#39;t queue another while one is running.</description>
                <environment></environment>
            <key id="23200">JCBC-269</key>
            <summary>subsequent resubscribers should not run if a resubscriber is successful</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="2" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/critical.png">Critical</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="ingenthr">Matt Ingenthron</reporter>
                        <labels>
                    </labels>
                <created>Wed, 13 Mar 2013 10:43:15 -0500</created>
                <updated>Mon, 20 May 2013 14:30:43 -0500</updated>
                                    <version>1.1.2</version>
                                <fixVersion>1.1.7</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>1</watches>
                                                            <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                            <customfield id="customfield_10284" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                <customfieldname>Planned End</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Wed, 13 Mar 2013 12:00:00 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10283" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                <customfieldname>Planned Start</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Wed, 13 Mar 2013 12:00:00 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>9446</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-270] client does not handle failure of EPT node with memcached bucket</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-270</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>When investigating a case, it seems that the dropped configuration when using a memcached bucket is never reestablished.  I&amp;#39;m not sure if this is because we rely on timeouts (which we won&amp;#39;t get in this case) or something else.&lt;br/&gt;
&lt;br/&gt;
Steps to reproduce:&lt;br/&gt;
1. Set up three node cluster&lt;br/&gt;
2. Run a constant workload, starting off of one of the nodes (192.168.1.200 in my config)&lt;br/&gt;
3. Remove that node from the cluster&lt;br/&gt;
&lt;br/&gt;
Observed behavior: &lt;br/&gt;
The client sees the config dropped, but doesn&amp;#39;t reconfigure.&lt;br/&gt;
&lt;br/&gt;
Expected behavior: &lt;br/&gt;
Client bootstraps off of one of the other nodes.&lt;br/&gt;
&lt;br/&gt;
Attached file shows the config log in this case.</description>
                <environment>3 node cluster of 2.0, one memcached bucket authenticated, Couchbase Java Client 1.1.2 with required spymemcached 2.8.11</environment>
            <key id="23211">JCBC-270</key>
            <summary>client does not handle failure of EPT node with memcached bucket</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="2" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/critical.png">Critical</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="ingenthr">Matt Ingenthron</reporter>
                        <labels>
                    </labels>
                <created>Wed, 13 Mar 2013 21:17:55 -0500</created>
                <updated>Mon, 20 May 2013 14:30:43 -0500</updated>
                                    <version>1.1.2</version>
                                <fixVersion>1.1.7</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>4</watches>
                                                    <comments>
                    <comment id="52776" author="daschl" created="Thu, 14 Mar 2013 02:47:50 -0500"  >Hey Matt,&lt;br/&gt;
&lt;br/&gt;
one quick update.. I don&amp;#39;t know yet if its related, but you&amp;#39;ve been using the wrong netty version.. your logs show /Users/ingenthr/lib/netty-3.2.5.Final.jar&amp;#39; but the correct one is 3.5.5! &lt;br/&gt;
&lt;br/&gt;
Since netty handles the streaming connection, this may be related - I dont know yet.</comment>
                    <comment id="52880" author="daschl" created="Fri, 15 Mar 2013 04:59:44 -0500"  >Matt, with the change proposed in &lt;a href=&quot;http://www.couchbase.com/issues/browse/JCBC-271&quot; title=&quot;Adding a node to an existing cluster causes issues with a running memcached bucket&quot;&gt;&lt;strike&gt;JCBC-271&lt;/strike&gt;&lt;/a&gt; and using Netty 3.5.5, I dont see this behaviour (anymore). I tried with 3.2.5 but my connections always go from unbound to connected after some time, even when I wildly failover/rebalance - as it should be. It even waits as we implemented it when I remove both EPT nodes for some time and then add them back it comes back nicely.&lt;br/&gt;
&lt;br/&gt;
Can you try to repro with those two changes and if it still fails lets do a quick screen sharing.</comment>
                    <comment id="52974" author="ingenthr" created="Mon, 18 Mar 2013 10:34:40 -0500"  >Indeed, I could not reproduce this one after moving to the right dependencies.</comment>
                </comments>
                    <attachments>
                    <attachment id="16942" name="CBSE-472repro-2.txt" size="78692" author="ingenthr" created="Wed, 13 Mar 2013 21:17:55 -0500" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                            <customfield id="customfield_10284" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                <customfieldname>Planned End</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Wed, 13 Mar 2013 12:00:00 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10283" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                <customfieldname>Planned Start</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Wed, 13 Mar 2013 12:00:00 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>9455</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-237] Docs: Document how to use observe properly outside of the &quot;wrapped&quot; methods</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-237</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>There will be some cases where a user wants to use the observe functionality outside of the set()/add()/replace() methods what we have allowed for them to specify the &amp;quot;durabililty requirements&amp;quot;.  &lt;br/&gt;
&lt;br/&gt;
Specifcally this may come up when using incr/decr/prepend/append and wanting to &amp;quot;observe&amp;quot; on that...or just using observe manually to control the behavior, retry, timeouts, etc.&lt;br/&gt;
&lt;br/&gt;
</description>
                <environment></environment>
            <key id="22530">JCBC-237</key>
            <summary>Docs: Document how to use observe properly outside of the &quot;wrapped&quot; methods</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="perry">Perry Krug</reporter>
                        <labels>
                    </labels>
                <created>Tue, 5 Feb 2013 10:59:46 -0600</created>
                <updated>Mon, 20 May 2013 14:30:43 -0500</updated>
                                    <version>1.1.1</version>
                                <fixVersion>1.1.7</fixVersion>
                                <component>docs</component>
                                <votes>0</votes>
                        <watches>1</watches>
                                                            <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8528</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-248] ensure there is a floor to tuneables such that they can&apos;t be set so a client misbehaves</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-248</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>There have been a few situations where people have either inavertently or not knowing what they&amp;#39;re doing set various internal timings to incorrect values.  We should create a floor or a ceiling for these and change them with a warning if the user attempts to misuse it.&lt;br/&gt;
&lt;br/&gt;
From a recent code example:&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;private static String serverList = &amp;quot;&amp;quot;;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;private static long opTimeout = -1;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;private static long opQueueMaxBlockTime = -1;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;private static long obsPollInterval = -1;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;private static int obsPollMax = -1;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;private static long msReconnectThresholdTime = -1;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;private static long maxReconnectDelay = -1;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;private static boolean shouldOptimize = false;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;private static int timeoutExceptionThreshold = -1;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;private static boolean useNagleAlgorithm = false;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;private static FailureMode failureMode = FailureMode.Cancel;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;private static int ttl = 86400;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;private static int threads = 1;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;private static long msBeforeGet = 5000l;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;private static long repeat = -1;&lt;br/&gt;
&lt;br/&gt;
</description>
                <environment></environment>
            <key id="22732">JCBC-248</key>
            <summary>ensure there is a floor to tuneables such that they can&apos;t be set so a client misbehaves</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="ingenthr">Matt Ingenthron</reporter>
                        <labels>
                    </labels>
                <created>Fri, 15 Feb 2013 17:47:20 -0600</created>
                <updated>Mon, 20 May 2013 14:30:43 -0500</updated>
                                    <version>1.0.3</version>
                <version>1.1.0</version>
                <version>1.1.1</version>
                <version>1.1.2</version>
                                <fixVersion>1.1.7</fixVersion>
                                                <votes>0</votes>
                        <watches>1</watches>
                                                            <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                            <customfield id="customfield_10284" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                <customfieldname>Planned End</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Fri, 15 Feb 2013 12:00:00 -0600</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10283" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                <customfieldname>Planned Start</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Fri, 15 Feb 2013 12:00:00 -0600</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8856</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-250] ClassCast Exception when using durability against memcached bucket</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-250</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>Apparently trying to use these operations:&lt;br/&gt;
CouchbaseClient.add(String key, int exp, String value, PersistTo req, ReplicateTo rep)&lt;br/&gt;
&lt;br/&gt;
Against a memcached bucket causes an exception even if &amp;quot;req&amp;quot; and &amp;quot;rep&amp;quot; are set to 0. From the user&amp;#39;s perspective, they expect this to work.  Is it a major undertaking to make the classes compatible from the client side, independent of the bucket types and then let the operation succeed/fail when it can or can&amp;#39;t?&lt;br/&gt;
&lt;br/&gt;
java.lang.ClassCastException: com.couchbase.client.CouchbaseMemcachedConnection cannot be cast to com.couchbase.client.CouchbaseConnection&lt;br/&gt;
&amp;nbsp;&amp;nbsp;at com.couchbase.client.CouchbaseClient.observePoll(CouchbaseClient.java:1708)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;at com.couchbase.client.CouchbaseClient.add(CouchbaseClient.java:1293)</description>
                <environment></environment>
            <key id="22799">JCBC-250</key>
            <summary>ClassCast Exception when using durability against memcached bucket</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="perry">Perry Krug</reporter>
                        <labels>
                    </labels>
                <created>Wed, 20 Feb 2013 03:07:21 -0600</created>
                <updated>Mon, 20 May 2013 14:30:43 -0500</updated>
                                    <version>1.1.2</version>
                                <fixVersion>1.1.7</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>2</watches>
                                                    <comments>
                    <comment id="58176" author="deeptida" created="Tue, 14 May 2013 03:09:04 -0500"  >This problem has been fixed in the version 1.1.6. It was there till 1.1.5 but now has been fixed.&lt;br/&gt;
&lt;br/&gt;
Please find the same log of run in 1.1.5 and 1.1.6 to strengthen the findings.&lt;br/&gt;
&lt;br/&gt;
Its good to close.&lt;br/&gt;
&lt;br/&gt;
Thanks !</comment>
                </comments>
                    <attachments>
                    <attachment id="17320" name="1.1.5-sdk.log" size="14690" author="deeptida" created="Tue, 14 May 2013 03:12:16 -0500" />
                    <attachment id="17321" name="1.1.6-sdk.log" size="17371" author="deeptida" created="Tue, 14 May 2013 03:12:16 -0500" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                            <customfield id="customfield_10284" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                <customfieldname>Planned End</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Wed, 20 Feb 2013 12:00:00 -0600</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10283" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                <customfieldname>Planned Start</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Wed, 20 Feb 2013 12:00:00 -0600</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>9018</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-276] Client does not detect silently dying Streaming Node</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-276</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>When connected to the EPT/streaming node and the node is &amp;quot;frozen&amp;quot; or dies silently otherwise (doesn&amp;#39;t force the closing of the chunked socket), the connection stays established.&lt;br/&gt;
&lt;br/&gt;
This can easily be reproduced outside of the client by connecting the browser to the streaming URL and then freezing a VM. The browser will still &amp;quot;spin&amp;quot; and wait for new chunks to come up.&lt;br/&gt;
&lt;br/&gt;
The proposed solution is to have a netty handler in place that raises a exception when there is not traffic for N number of seconds (like 30) over the streaming connection. After this is detected, we have two possibilities:&lt;br/&gt;
&lt;br/&gt;
- reconnect completely, but this involves lots of overhead every 30 seconds.&lt;br/&gt;
- send a HTTP HEAD packet and only if this doesnt work out reconnect. This  means in the normal case we only have a HTTP HEAD request sent every 30 seconds, not much overhead.&lt;br/&gt;
If this fails, we then trigger the reconfigure.&lt;br/&gt;
&lt;br/&gt;
Netty has a ReadTimeoutHandler to help with this. My POC already kinda works, I just need to find a way to properly distinguish the HEAD response on the ResponseHandler from regular chunks that arrive from the same channel.</description>
                <environment></environment>
            <key id="23312">JCBC-276</key>
            <summary>Client does not detect silently dying Streaming Node</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="2" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/critical.png">Critical</priority>
                    <status id="3" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/inprogress.png">In Progress</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="daschl">Michael Nitschinger</reporter>
                        <labels>
                    </labels>
                <created>Wed, 20 Mar 2013 07:21:07 -0500</created>
                <updated>Mon, 20 May 2013 14:30:42 -0500</updated>
                                    <version>1.1.0</version>
                <version>1.1.1</version>
                <version>1.1.2</version>
                <version>1.1.3</version>
                <version>1.1.4</version>
                                <fixVersion>1.1.7</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>2</watches>
                                                    <comments>
                    <comment id="53178" author="ingenthr" created="Wed, 20 Mar 2013 12:30:07 -0500"  >I had fixed this with couchbase buckets and we test for this in SDKQE.  Is this possibly isolated to memcached buckets.</comment>
                    <comment id="53227" author="daschl" created="Thu, 21 Mar 2013 01:06:13 -0500"  >Actually, this has been discovered while using Couchbase buckets. Let&amp;#39;s chat about this, but I think thats a different issue and not related to it.</comment>
                    <comment id="53228" author="ingenthr" created="Thu, 21 Mar 2013 01:39:43 -0500"  >Sure, the solution previously was to have that threshold if we were getting unexpected failures.  Once we pass that threshold, we&amp;#39;d try to re-subscribe.  &lt;br/&gt;
&lt;br/&gt;
I&amp;#39;m not opposed to a heartbeat, but I don&amp;#39;t think the HTTP HEAD is good, since the mochiweb erlang implementation is effectively the same as a GET.  I&amp;#39;ll reach you and chat through it.</comment>
                    <comment id="53243" author="daschl" created="Thu, 21 Mar 2013 09:14:48 -0500"  >Okay after talking this through with Matt, I reran the script to see if the proposed solution (increasing ops/s) fixed the problem.&lt;br/&gt;
&lt;br/&gt;
Interestingly, it turns out when doing set/get&amp;#39;s it never hits our anticipated codepath but instead the get operations just time out, the threshold never gets increased and nothing happens. This is something we need to reinvestigate.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                            <customfield id="customfield_10284" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                <customfieldname>Planned End</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Wed, 20 Mar 2013 12:00:00 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10283" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                <customfieldname>Planned Start</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Wed, 20 Mar 2013 12:00:00 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>10165</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-291] Authentication failed on 5-th client</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-291</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>Let&amp;#39;s assume I have:&lt;br/&gt;
- a cluster made of 4 couchbase nodes (couchbase1-couchbase4);&lt;br/&gt;
- 10 instances of client application (client1-client10).&lt;br/&gt;
&lt;br/&gt;
In my client Java application I connect to the cluster using login, password and the following server list string:&lt;br/&gt;
&lt;br/&gt;
{code}&lt;br/&gt;
&amp;quot;&lt;a href=&quot;http://couchbase1:8091/pools,http://couchbase2:8091/pools,http://couchbase3:8091/pools,http://couchbase4:8091/pools&quot;&gt;http://couchbase1:8091/pools,http://couchbase2:8091/pools,http://couchbase3:8091/pools,http://couchbase4:8091/pools&lt;/a&gt;&amp;quot;&lt;br/&gt;
{code}&lt;br/&gt;
&lt;br/&gt;
When I start four instances of client application on client1-client4 -- everything is going OK. But when I am trying to start 5-th instance of client application on client5 -- I get the following error:&lt;br/&gt;
&lt;br/&gt;
{code}&lt;br/&gt;
Mar 29 12:56:28 client1: 2013-03-29 12:56:28.564 INFO com.couchbase.client.CouchbaseConnection:  Reconnecting {QA sa=couchbase1/192.168.0.129:11210, #Rops=0, #Wops=1, #iq=0, topRop=null, topWop=SASL steps operation, toWrite=0, interested=0}&lt;br/&gt;
Mar 29 12:56:28 client1: 2013-03-29 12:56:28.565 INFO com.couchbase.client.CouchbaseConnection:  Connection state changed for &lt;a href=&apos;mailto:sun.nio.ch.SelectionKeyImpl@28a3001c&apos;&gt;sun.nio.ch.SelectionKeyImpl@28a3001c&lt;/a&gt;&lt;br/&gt;
Mar 29 12:56:28 client1: 2013-03-29 12:56:28.565 WARN net.spy.memcached.auth.AuthThreadMonitor:  Incomplete authentication interrupted for node {QA sa=couchbase1/192.168.0.129:11210, #Rops=0, #Wops=1, #iq=0, topRop=null, topWop=SASL steps operation, toWrite=0, interested=8}&lt;br/&gt;
Mar 29 12:56:28 client1: 2013-03-29 12:56:28.565 WARN net.spy.memcached.auth.AuthThread:  Authentication failed to couchbase1/192.168.0.129:11210&lt;br/&gt;
Mar 29 12:56:28 client1: 2013-03-29 12:56:28.566 INFO com.couchbase.client.CouchbaseConnection:  Reconnecting due to exception on {QA sa=couchbase1/192.168.0.129:11210, #Rops=1, #Wops=0, #iq=0, topRop=SASL auth operation, topWop=null, toWrite=0, interested=1}&lt;br/&gt;
Mar 29 12:56:28 client1:    at net.spy.memcached.MemcachedConnection.handleReads(MemcachedConnection.java:453)&lt;br/&gt;
Mar 29 12:56:28 client1:    at net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:381)&lt;br/&gt;
Mar 29 12:56:28 client1:    at net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:243)&lt;br/&gt;
Mar 29 12:56:28 client1:    at com.couchbase.client.CouchbaseConnection.run(CouchbaseConnection.java:229)&lt;br/&gt;
Mar 29 12:56:28 client1: 2013-03-29 12:56:28.566 WARN com.couchbase.client.CouchbaseConnection:  Closing, and reopening {QA sa=couchbase1/192.168.0.129:11210, #Rops=1, #Wops=0, #iq=0, topRop=SASL auth operation, topWop=null, toWrite=0, interested=1}, attempt 0.&lt;br/&gt;
Mar 29 12:56:28 client1: 2013-03-29 12:56:28.566 WARN net.spy.memcached.protocol.binary.BinaryMemcachedNodeImpl:  Discarding partially completed op: SASL auth operation&lt;br/&gt;
Mar 29 12:56:28 client1: 2013-03-29 12:56:28.666 WARN net.spy.memcached.auth.AuthThread:  Authentication failed to couchbase1/192.168.0.129:11210&lt;br/&gt;
{code}&lt;br/&gt;
&lt;br/&gt;
So, if I shutdown one of client1-client4 -- this moment client5 connects to the cluster without problems.&lt;br/&gt;
&lt;br/&gt;
PS: No matter if I make cluster from 2 nodes. The behaveour is the same -- 5-th node get the same error.</description>
                <environment>Debian GNU/Linux 6.0 (amd64), Couchbase community edition.</environment>
            <key id="23730">JCBC-291</key>
            <summary>Authentication failed on 5-th client</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="andrew.kulikov">Andrew Kulikov</reporter>
                        <labels>
                    </labels>
                <created>Wed, 17 Apr 2013 04:33:20 -0500</created>
                <updated>Mon, 20 May 2013 14:30:42 -0500</updated>
                                                    <fixVersion>1.1.7</fixVersion>
                                <component>docs</component>
                                <votes>0</votes>
                        <watches>3</watches>
                                                    <comments>
                    <comment id="58771" author="andrew.kulikov" created="Mon, 20 May 2013 07:28:46 -0500"  >We have solved our problem! The reason was in limit for number of opened files. Have you ever tested couchbase with pam_limits enabled? If so, default configuration (nofile=1024) is suitable only for 3 clients simultaneously connected. 4-th client fails. We have greatly increased nofile parameter for couchbase user in limits.conf -- and the problem was solved.&lt;br/&gt;
&lt;br/&gt;
I think you should add this issue in your documentation. Also, you should write an error in logfile -- if this limit (for open files or any other) is reached.</comment>
                    <comment id="58825" author="daschl" created="Mon, 20 May 2013 14:29:01 -0500"  >Thanks for reporting your findings! I&amp;#39;ll change it to a docs enhancement!</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>10709</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-287] Failover + Readd of Streaming Node against 1.8.1 fails</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-287</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description></description>
                <environment>Any Couchbase SDK against a 1.8 cluster</environment>
            <key id="23761">JCBC-287</key>
            <summary>Failover + Readd of Streaming Node against 1.8.1 fails</summary>
                <type id="3" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/task.png">Task</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="daschl">Michael Nitschinger</reporter>
                        <labels>
                    </labels>
                <created>Thu, 18 Apr 2013 04:00:48 -0500</created>
                <updated>Mon, 20 May 2013 14:30:42 -0500</updated>
                                    <version>1.1.5</version>
                                <fixVersion>1.1.7</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>2</watches>
                                                    <comments>
                    <comment id="55590" author="daschl" created="Fri, 19 Apr 2013 01:06:52 -0500"  >Let me describe the observed behaviour in greater detail to clarify what is the issue.&lt;br/&gt;
I just verified against 2.0 that it&amp;#39;s the same behaviour, but I don&amp;#39;t know why wie didn&amp;#39;t observe it there this way.&lt;br/&gt;
&lt;br/&gt;
When someone clicks failover in the UI on the streaming node, our streaming connection gets closed. Now the client code is implemented that way that it gets back to the node list passed in and iterates over it. In the case observed it is the first node in the list which we failed over, but since it has not been removed yet the client is able to connect (and even retrieve the bucket information!). &lt;br/&gt;
&lt;br/&gt;
Now comes the part that I don&amp;#39;t understand fully. With the changeset not applied, it connects to the streaming connection from the failovered node but somehow it doesnt get the information fast enough when the same node (!) gets added back. Maybe because when the node gets rebalanced out the streaming connection gets closed again and we lag little bit behind to connect to the second node in the list.&lt;br/&gt;
&lt;br/&gt;
That said, WITH the changeset applied we will not connect to the failovered node immediately because we recognize its in the cluster, but not part of the node list (which kinda sucks from a logical perspective in my opinion, because why do we close the streaming connection on failover AND allow to reestablish it afterwards?). So what will happen is that the SDK immediately connects to the second one and will observe the upcoming operations (rebalance out, rebalance in) correctly.&lt;br/&gt;
&lt;br/&gt;
Does this make more sense now?</comment>
                    <comment id="55591" author="ingenthr" created="Fri, 19 Apr 2013 01:16:31 -0500"  >Not 100%, no.  Do we have a log that shows responses from nodes by chance?</comment>
                    <comment id="55592" author="daschl" created="Fri, 19 Apr 2013 01:24:54 -0500"  >You mean the JSON responses from the nodes? Or the netty logs on the SDK side.</comment>
                    <comment id="55609" author="daschl" created="Fri, 19 Apr 2013 08:50:07 -0500"  >So if you set &amp;quot;failover&amp;quot; on one of the nodes, all HTTP Rest resources are still 100% accessible, even if the streaming connection was closed from the server before. We can even establish it again.&lt;br/&gt;
&lt;br/&gt;
The main diff is that the node shows up in pools, but not in the bucket node list. It also shows a &amp;quot;failovered&amp;quot; state, so we could also try to identify it at that point.&lt;br/&gt;
&lt;br/&gt;
{&lt;br/&gt;
systemStats: {&lt;br/&gt;
cpu_utilization_rate: 1,&lt;br/&gt;
swap_total: 1069543424,&lt;br/&gt;
swap_used: 0&lt;br/&gt;
},&lt;br/&gt;
interestingStats: { },&lt;br/&gt;
uptime: &amp;quot;226&amp;quot;,&lt;br/&gt;
memoryTotal: 1572306944,&lt;br/&gt;
memoryFree: 761069568,&lt;br/&gt;
mcdMemoryReserved: 1199,&lt;br/&gt;
mcdMemoryAllocated: 1199,&lt;br/&gt;
couchApiBase: &amp;quot;&lt;a href=&quot;http://192.168.56.101:8092/&quot;&gt;http://192.168.56.101:8092/&lt;/a&gt;&amp;quot;,&lt;br/&gt;
clusterMembership: &amp;quot;inactiveFailed&amp;quot;,&lt;br/&gt;
status: &amp;quot;healthy&amp;quot;,&lt;br/&gt;
thisNode: true,&lt;br/&gt;
hostname: &amp;quot;192.168.56.101:8091&amp;quot;,&lt;br/&gt;
clusterCompatibility: 131072,&lt;br/&gt;
version: &amp;quot;2.0.1-170-rel-enterprise&amp;quot;,&lt;br/&gt;
os: &amp;quot;x86_64-unknown-linux-gnu&amp;quot;,&lt;br/&gt;
ports: {&lt;br/&gt;
proxy: 11211,&lt;br/&gt;
direct: 11210&lt;br/&gt;
}&lt;br/&gt;
},&lt;br/&gt;
&lt;br/&gt;
(this is pools) .. its not in the node list from the bucket info (see the clusterMembership part).&lt;br/&gt;
&lt;br/&gt;
I can get you SDK debug logs as well, but they are already in the CBSE from mark.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>10737</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-296] Document changing compression threshold</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-296</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>&lt;br/&gt;
Please see the feature request below.&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;http://www.couchbase.com/forums/thread/java-client-compression-threshold&quot;&gt;http://www.couchbase.com/forums/thread/java-client-compression-threshold&lt;/a&gt;</description>
                <environment></environment>
            <key id="24077">JCBC-296</key>
            <summary>Document changing compression threshold</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="mikew">Mike Wiederhold</reporter>
                        <labels>
                    </labels>
                <created>Mon, 6 May 2013 12:53:39 -0500</created>
                <updated>Mon, 20 May 2013 14:30:42 -0500</updated>
                                    <version>1.1.5</version>
                                <fixVersion>1.1.7</fixVersion>
                                <component>docs</component>
                                <votes>0</votes>
                        <watches>1</watches>
                                                            <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>11040</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-282] Add new junit tests as per additions in the Test Plan</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-282</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>Add new junit tests as per additions in the Test Plan &lt;br/&gt;
</description>
                <environment></environment>
            <key id="23588">JCBC-282</key>
            <summary>Add new junit tests as per additions in the Test Plan</summary>
                <type id="3" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/task.png">Task</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="deeptida">Deepti Dawar</assignee>
                                <reporter username="deeptida">Deepti Dawar</reporter>
                        <labels>
                    </labels>
                <created>Tue, 9 Apr 2013 04:53:19 -0500</created>
                <updated>Mon, 20 May 2013 12:23:32 -0500</updated>
                    <resolved>Mon, 20 May 2013 12:23:32 -0500</resolved>
                                                                            <votes>0</votes>
                        <watches>1</watches>
                                                    <comments>
                    <comment id="54620" author="deeptida" created="Tue, 9 Apr 2013 04:56:33 -0500"  >Two tests added for connection refused and network un-reachable.</comment>
                    <comment id="58791" author="deeptida" created="Mon, 20 May 2013 12:23:32 -0500"  >&lt;a href=&quot;http://review.couchbase.org/#/c/25563/&quot;&gt;http://review.couchbase.org/#/c/25563/&lt;/a&gt;</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10000">
                <name>Dependency</name>
                                                <inwardlinks description="blocks">
                                    </inwardlinks>
                            </issuelinktype>
                    </issuelinks>
                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>10461</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-266] NPE in ConfigurationProviderHTTP needs to be handled.</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-266</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>NPE in ConfigurationProviderHTTP needs to be handled.&lt;br/&gt;
This is seen at quite a lot of places.&lt;br/&gt;
&lt;br/&gt;
Please refer to the integration test results at :&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;https://docs.google.com/a/globallogic.com/spreadsheet/ccc?key=0AmLvaJ8oRZ-TdHJBNHJ0eGZfbjBaenBSVGM2VS1oNlE#gid=0&quot;&gt;https://docs.google.com/a/globallogic.com/spreadsheet/ccc?key=0AmLvaJ8oRZ-TdHJBNHJ0eGZfbjBaenBSVGM2VS1oNlE#gid=0&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
Stack Trace :&lt;br/&gt;
&lt;br/&gt;
SDKD: Mar 12, 2013 1:55:39 AM com.couchbase.client.CouchbaseConnectionFactory$Resubscriber run&lt;br/&gt;
SDKD: WARNING: Resubscribe attempt failed:&lt;br/&gt;
SDKD: java.lang.NullPointerException&lt;br/&gt;
SDKD: 	at com.couchbase.client.vbucket.ConfigurationProviderHTTP.getBucketConfiguration(ConfigurationProviderHTTP.java:149)&lt;br/&gt;
SDKD: 	at com.couchbase.client.vbucket.ConfigurationProviderHTTP.subscribe(ConfigurationProviderHTTP.java:319)&lt;br/&gt;
SDKD: 	at com.couchbase.client.CouchbaseConnectionFactory$Resubscriber.run(CouchbaseConnectionFactory.java:405)&lt;br/&gt;
SDKD: 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)&lt;br/&gt;
SDKD: 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)&lt;br/&gt;
SDKD: 	at java.lang.Thread.run(Thread.java:619)&lt;br/&gt;
SDKD: Mar 12, 2013 1:55:39 AM com.couchbase.client.CouchbaseConnectionFactory$Resubscriber run</description>
                <environment></environment>
            <key id="23164">JCBC-266</key>
            <summary>NPE in ConfigurationProviderHTTP needs to be handled.</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="2" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/critical.png">Critical</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="deeptida">Deepti Dawar</reporter>
                        <labels>
                    </labels>
                <created>Tue, 12 Mar 2013 06:13:47 -0500</created>
                <updated>Sat, 18 May 2013 01:56:46 -0500</updated>
                                                                                    <votes>0</votes>
                        <watches>1</watches>
                                                        <issuelinks>
                        <issuelinktype id="10000">
                <name>Dependency</name>
                                                <inwardlinks description="blocks">
                                    </inwardlinks>
                            </issuelinktype>
                    </issuelinks>
                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                            <customfield id="customfield_10284" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                <customfieldname>Planned End</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Tue, 12 Mar 2013 12:00:00 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10283" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                <customfieldname>Planned Start</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Tue, 12 Mar 2013 12:00:00 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>9414</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-240] Add the total number of rows in the ViewResponce</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-240</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>It will be great to have the total number of rows in the ViewResponse object when calling a view.&lt;br/&gt;
&lt;br/&gt;
This is the value present in the JSON attribute &amp;quot;total_rows&amp;quot; of a response&lt;br/&gt;
{&amp;quot;total_rows&amp;quot;:1412,&amp;quot;rows&amp;quot;:[&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
This enhancement request comes from the community forum:&lt;br/&gt;
&lt;a href=&quot;http://www.couchbase.com/forums/thread/recommend-including-totalrows-value-java-client-viewresponse-class&quot;&gt;http://www.couchbase.com/forums/thread/recommend-including-totalrows-value-java-client-viewresponse-class&lt;/a&gt;</description>
                <environment></environment>
            <key id="22580">JCBC-240</key>
            <summary>Add the total number of rows in the ViewResponce</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="tgrall">Tug Grall</reporter>
                        <labels>
                    </labels>
                <created>Thu, 7 Feb 2013 02:08:18 -0600</created>
                <updated>Fri, 17 May 2013 02:38:55 -0500</updated>
                                    <version>1.1.2</version>
                                                <component>library</component>
                                <votes>0</votes>
                        <watches>3</watches>
                                                    <comments>
                    <comment id="52502" author="daschl" created="Tue, 12 Mar 2013 06:31:20 -0500"  >&lt;a href=&quot;http://review.couchbase.com/#/c/25027/&quot;&gt;http://review.couchbase.com/#/c/25027/&lt;/a&gt;</comment>
                    <comment id="58609" author="zooldk" created="Fri, 17 May 2013 02:38:55 -0500"  >PS: The SDK version that was used was 1.1.5</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8695</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-303] javadoc builds must include spymemcached</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-303</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>Current javadoc build process does not include the spymemcached docs, which were included in previous releases.  The documentation:&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://hub.internal.couchbase.com/confluence/display/techpubs/Using+Existing+Docs+System+%28WIP%29&quot;&gt;http://hub.internal.couchbase.com/confluence/display/techpubs/Using+Existing+Docs+System+%28WIP%29&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
does not mention how to include, nor is there evidence of how it was done before.&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
Need to have:&lt;br/&gt;
&lt;br/&gt;
* a process that includes correct third-party documentation, when required.&lt;br/&gt;
&lt;br/&gt;
* one that is not tied to a particular host&lt;br/&gt;
&lt;br/&gt;
* is fully documented</description>
                <environment></environment>
            <key id="24250">JCBC-303</key>
            <summary>javadoc builds must include spymemcached</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="3" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/inprogress.png">In Progress</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="plabee">Phil Labee</assignee>
                                <reporter username="plabee">Phil Labee</reporter>
                        <labels>
                    </labels>
                <created>Tue, 14 May 2013 12:41:40 -0500</created>
                <updated>Wed, 15 May 2013 11:21:36 -0500</updated>
                                    <version>1.1.6</version>
                                                <component>infrastructure</component>
                                <votes>0</votes>
                        <watches>2</watches>
                                                    <comments>
                    <comment id="58349" author="plabee" created="Wed, 15 May 2013 11:15:56 -0500"  >I modified the couchbase-java-client/build.xml file to also use the source files under &lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;../spymemcached/src/main/java/&lt;br/&gt;
&lt;br/&gt;
for generating javadocs, but I&amp;#39;m getting errors:&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;package org.apache.log4j does not exist&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;package org.springframework.beans.factory does not exist&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br/&gt;
so it looks like a classpath issue.</comment>
                    <comment id="58351" author="daschl" created="Wed, 15 May 2013 11:21:36 -0500"  >Hi Phil,&lt;br/&gt;
&lt;br/&gt;
normally log4j and spring beans are configured as &amp;quot;provided&amp;quot;, so you should not need them during runtime in spy. maybe just run &amp;quot;ant jar&amp;quot; once in the directory so it fetches the dependencies in the right directories?&lt;br/&gt;
</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10001">
                <name>Duplicate</name>
                                <outwardlinks description="duplicates">
                            <issuelink>
            <issuekey id="24028">JCBC-293</issuekey>
        </issuelink>
                    </outwardlinks>
                                            </issuelinktype>
                    </issuelinks>
                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>11224</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-293] Clarification/Agreement on Javadocs Build Workaround</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-293</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>At this point, Phil needs clarification: if his workaround is OK, and clarify spymemcached is ours + what version we need to use....&lt;br/&gt;
&lt;br/&gt;
Please assign to him to apply the workaround after you get a change to clarify.&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
-----------&lt;br/&gt;
&lt;br/&gt;
Sent via email by Dipti 4/31.&lt;br/&gt;
&lt;br/&gt;
-----------------------&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
Background:&lt;br/&gt;
&lt;br/&gt;
Hi Wayne,&lt;br/&gt;
&lt;br/&gt;
It is on &lt;a href=&apos;mailto:jenkins@ubu-1702.hq.couchbase.com&apos;&gt;jenkins@ubu-1702.hq.couchbase.com&lt;/a&gt;. You can access it on with the QA key, QAkey.pem. &lt;br/&gt;
&lt;br/&gt;
The ANT file is supposed to build javadocs and rdocs and the problem we are encountering is that we had included third parties libraries (spymemcached) and it the latest javadoc generation they were not included.&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
Thanks,&lt;br/&gt;
&lt;br/&gt;
Karen&lt;br/&gt;
&lt;br/&gt;
-------&lt;br/&gt;
&lt;br/&gt;
Wayne assigne to Phil and Phil investigates for several hours&lt;br/&gt;
&lt;br/&gt;
----------------&lt;br/&gt;
&lt;br/&gt;
From Phil:&lt;br/&gt;
&lt;br/&gt;
From: Philip Labee &amp;lt;&lt;a href=&apos;mailto:Philip@couchbase.com&apos;&gt;Philip@couchbase.com&lt;/a&gt;&amp;gt;&lt;br/&gt;
Date: Friday, April 19, 2013 2:07 PM&lt;br/&gt;
To: Matt Ingenthron &amp;lt;&lt;a href=&apos;mailto:matt@couchbase.com&apos;&gt;matt@couchbase.com&lt;/a&gt;&amp;gt;, Michael Nitschinger &amp;lt;&lt;a href=&apos;mailto:Michael.Nitschinger@couchbase.com&apos;&gt;Michael.Nitschinger@couchbase.com&lt;/a&gt;&amp;gt;&lt;br/&gt;
Cc: Karen Zeller &amp;lt;&lt;a href=&apos;mailto:karen.zeller@couchbase.com&apos;&gt;karen.zeller@couchbase.com&lt;/a&gt;&amp;gt;, Wayne Siu &amp;lt;&lt;a href=&apos;mailto:Wayne@couchbase.com&apos;&gt;Wayne@couchbase.com&lt;/a&gt;&amp;gt;&lt;br/&gt;
Subject: building javadocs for couchbase-java-client&lt;br/&gt;
&lt;br/&gt;
Karen and I are following the directions for building the javadocs but it looks like these instructions are incomplete.  Specifically they say to create a clean clone of couchbase-java-client and to run &amp;quot;ant docs&amp;quot; there,  but the problem is that it only generates docs for our code, and misses all the net.spy.memcached docs because the spy.memcached source files are not in the build tree.&lt;br/&gt;
&lt;br/&gt;
I could easily clone the spy.memcached source files into ~jenkins and then symlink the src/main/java/net files into the sr/main/java directory of the client build dir, but there&amp;#39;s no evidence that this is how it was done before.  If you know how this was done in previous releases which do include the docs for spy.memcached, let me know and we&amp;#39;ll update the instructions and generate a complete set of javadocs.  If we don&amp;#39;t discover a known solution we&amp;#39;ll proceed with the cloning and the symlinking.  If we don&amp;#39;t want to include third-party docs in our doc-set then there&amp;#39;s nothing more to do.&lt;br/&gt;
&lt;br/&gt;
net.spy.memcached docs included:  &lt;a href=&quot;http://www.couchbase.com/autodocs/couchbase-java-client-1.1.4c/index.html&quot;&gt;http://www.couchbase.com/autodocs/couchbase-java-client-1.1.4c/index.html&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
Not included: &lt;a href=&quot;http://www.couchbase.com/autodocs/couchbase-java-client-1.1.5/index.html&quot;&gt;http://www.couchbase.com/autodocs/couchbase-java-client-1.1.5/index.html&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
--Phil</description>
                <environment></environment>
            <key id="24028">JCBC-293</key>
            <summary>Clarification/Agreement on Javadocs Build Workaround</summary>
                <type id="3" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/task.png">Task</type>
                                <priority id="4" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/minor.png">Minor</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="6">Done</resolution>
                    <security id="10011">Public</security>
                        <assignee username="ingenthr">Matt Ingenthron</assignee>
                                <reporter username="kzeller">Karen Zeller</reporter>
                        <labels>
                        <label>info-request</label>
                    </labels>
                <created>Wed, 1 May 2013 15:20:26 -0500</created>
                <updated>Tue, 14 May 2013 12:44:02 -0500</updated>
                    <resolved>Tue, 14 May 2013 12:42:50 -0500</resolved>
                            <version>1.1.5</version>
                                <fixVersion>1.1.5</fixVersion>
                                <component>docs</component>
                                <votes>0</votes>
                        <watches>3</watches>
                                                    <comments>
                    <comment id="57202" author="daschl" created="Sun, 5 May 2013 23:25:18 -0500"  >Hey Matt,&lt;br/&gt;
&lt;br/&gt;
do you remember who built the C releases and the docs? I played around with doc generating, but couldn&amp;#39;t find a way to package it just by specifying the spy docs in the classpath (and playing around with the javadoc command in our ant script). I&amp;#39;m sure there is a way to do this.</comment>
                    <comment id="58201" author="plabee" created="Tue, 14 May 2013 12:42:50 -0500"  >resolution is not to work around the current process, but to fix it so that no workaround is required.&lt;br/&gt;
&lt;br/&gt;
See &lt;a href=&quot;http://www.couchbase.com/issues/browse/JCBC-303&quot; title=&quot;javadoc builds must include spymemcached&quot;&gt;JCBC-303&lt;/a&gt;</comment>
                    <comment id="58202" author="plabee" created="Tue, 14 May 2013 12:44:02 -0500"  >Instead of a workaround, I&amp;#39;ll fix the process and update the docs.</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10001">
                <name>Duplicate</name>
                                                <inwardlinks description="is duplicated by">
                            <issuelink>
            <issuekey id="24250">JCBC-303</issuekey>
        </issuelink>
                    </inwardlinks>
                            </issuelinktype>
                    </issuelinks>
                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>10966</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-256] New failures registered after the new change set added</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-256</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>The pass rate with the latest change set is only 92%&lt;br/&gt;
A lot of array index out of bounds exceptions are there.&lt;br/&gt;
Please check.</description>
                <environment></environment>
            <key id="22938">JCBC-256</key>
            <summary>New failures registered after the new change set added</summary>
                <type id="3" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/task.png">Task</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="6" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="deeptida">Deepti Dawar</reporter>
                        <labels>
                    </labels>
                <created>Thu, 28 Feb 2013 02:01:11 -0600</created>
                <updated>Tue, 14 May 2013 02:04:29 -0500</updated>
                    <resolved>Tue, 14 May 2013 02:04:29 -0500</resolved>
                                                                            <votes>0</votes>
                        <watches>4</watches>
                                                    <comments>
                    <comment id="51642" author="ingenthr" created="Thu, 28 Feb 2013 02:04:41 -0600"  >Can you please include some more detail?  This doesn&amp;#39;t have which exceptions, which tests, anything on the environment, etc.</comment>
                    <comment id="51643" author="deeptida" created="Thu, 28 Feb 2013 02:07:17 -0600"  >The snapshot has some details you are looking for. If its not clear please do let me know.</comment>
                    <comment id="51665" author="daschl" created="Thu, 28 Feb 2013 11:37:10 -0600"  >can you please upload the full test results?&lt;br/&gt;
&lt;br/&gt;
Looks to me that spy isnt the correct version (master, not 2.11!). Also, can you give me the hashes of the latest git commits and or the java -jar output you&amp;#39;re using?&lt;br/&gt;
&lt;br/&gt;
thanks!</comment>
                    <comment id="51667" author="daschl" created="Thu, 28 Feb 2013 11:52:14 -0600"  >No, sorry about the latest comment.. after cleaning my cache I see the same.</comment>
                    <comment id="51668" author="daschl" created="Thu, 28 Feb 2013 11:56:33 -0600"  >Okay I see what&amp;#39;s going on, this -1 issue will be easy to fix. Expect a changeset soon.</comment>
                    <comment id="58172" author="deeptida" created="Tue, 14 May 2013 02:04:16 -0500"  >As per the latest results, this error has been fixed. The other issues are being addressed. Hence, closing out this issue.&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;http://sdkbuilds.couchbase.com/job/java-snapshot-build/lastCompletedBuild/testReport/&quot;&gt;http://sdkbuilds.couchbase.com/job/java-snapshot-build/lastCompletedBuild/testReport/&lt;/a&gt;</comment>
                </comments>
                    <attachments>
                    <attachment id="16858" name="errors_latest_run.png" size="267005" author="deeptida" created="Thu, 28 Feb 2013 02:05:06 -0600" />
                    <attachment id="16859" name="failures_latest_run.png" size="306275" author="deeptida" created="Thu, 28 Feb 2013 02:46:32 -0600" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                            <customfield id="customfield_10284" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                <customfieldname>Planned End</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Thu, 28 Feb 2013 12:00:00 -0600</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10283" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                <customfieldname>Planned Start</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Thu, 28 Feb 2013 12:00:00 -0600</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>9151</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-267] Memcached bucket still fails with all workloads</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-267</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>Attaching all the tests ran against memcached buckets.&lt;br/&gt;
&lt;br/&gt;
1) Basic tests - the gets fail, whereas the sets pass.&lt;br/&gt;
&lt;br/&gt;
2) Failover and readd - Here there are many assertion errors with the I/O being problematic&lt;br/&gt;
&lt;br/&gt;
3) Rebalance - Here there are many assertion errors with the I/O being problematic&lt;br/&gt;
&lt;br/&gt;
In 2nd and 3rd cases, the probable cause may be the following -&lt;br/&gt;
&lt;br/&gt;
[SDKD(WARNING) 268.72 cbsdk.sdkd.local executor.py:66] Exception in thread &amp;quot;Memcached IO over {MemcachedConnection to /10.3.121.212:11210 /10.3.121.208:11210}&amp;quot; java.lang.AssertionError: Attempting to overwrite channel&lt;br/&gt;
[SDKD(WARNING) 268.72 cbsdk.sdkd.local executor.py:66] 	at net.spy.memcached.protocol.TCPMemcachedNodeImpl.setChannel(TCPMemcachedNodeImpl.java:496)&lt;br/&gt;
&lt;br/&gt;
4) Failover - Here there are failures in the rebalance phase, bt the rebound phase breaks in SDKD. Another SDKD issue is filed to take care of the same.&lt;br/&gt;
&lt;br/&gt;
We also need to investigate the SDKD code. There might be something wrong there in handling the memcached buckets. But, till now the issue looks more likely to be with the java sdk.</description>
                <environment></environment>
            <key id="23169">JCBC-267</key>
            <summary>Memcached bucket still fails with all workloads</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="6" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="deeptida">Deepti Dawar</assignee>
                                <reporter username="deeptida">Deepti Dawar</reporter>
                        <labels>
                    </labels>
                <created>Tue, 12 Mar 2013 10:09:04 -0500</created>
                <updated>Tue, 14 May 2013 01:58:22 -0500</updated>
                    <resolved>Fri, 10 May 2013 07:48:29 -0500</resolved>
                                            <fixVersion>1.1.6</fixVersion>
                                                <votes>0</votes>
                        <watches>4</watches>
                                                    <comments>
                    <comment id="52962" author="daschl" created="Mon, 18 Mar 2013 03:40:57 -0500"  >The AssertionError has reportedly been fixed (&lt;a href=&quot;http://www.couchbase.com/issues/browse/JCBC-271&quot; title=&quot;Adding a node to an existing cluster causes issues with a running memcached bucket&quot;&gt;&lt;strike&gt;JCBC-271&lt;/strike&gt;&lt;/a&gt;), can you please rerun the tests and see what still fails?</comment>
                    <comment id="52967" author="deeptida" created="Mon, 18 Mar 2013 04:52:42 -0500"  >Hi Michael,&lt;br/&gt;
&lt;br/&gt;
Please find the latest report.&lt;br/&gt;
&lt;br/&gt;
Other than the assertion errors, I am getting few exceptions with the setting up of view time outs.&lt;br/&gt;
This has been tested with the latest merged code.&lt;br/&gt;
&lt;br/&gt;
Hence, Its not getting fixed with the fix for &lt;a href=&quot;http://www.couchbase.com/issues/browse/JCBC-271&quot; title=&quot;Adding a node to an existing cluster causes issues with a running memcached bucket&quot;&gt;&lt;strike&gt;JCBC-271&lt;/strike&gt;&lt;/a&gt;.&lt;br/&gt;
Please let me know if you have some findings to state otherwise.&lt;br/&gt;
&lt;br/&gt;
Regards,&lt;br/&gt;
Deepti</comment>
                    <comment id="52969" author="daschl" created="Mon, 18 Mar 2013 05:18:27 -0500"  >Hi Deepti,&lt;br/&gt;
&lt;br/&gt;
please use HEAD instead of the 1.1.3 tag, it does not represent the latest changes. The output log shows this:&lt;br/&gt;
&lt;br/&gt;
[DEBUG 34.58 cbsdk.driver driver.py:48] INFO:0 @0 (OK) {&amp;#39;COMPONENTS&amp;#39;: {&amp;#39;SPY&amp;#39;: &amp;#39;Spymemcached 2.8.12\n\nTree Version: 2.8.12\nLast Commit ID: 84ebf9ad0d0d8a64497d956f6e75bf74cd7883de\n\nCompiled by &lt;a href=&apos;mailto:michael@daschlbook.local&apos;&gt;michael@daschlbook.local&lt;/a&gt; on Fri Mar  1 01:15:26 CET 2013&amp;#39;, &amp;#39;SDK&amp;#39;: &amp;#39;Couchbase Java Client 1.1.3\n\nTree Version: 1.1.3\nLast Commit ID: eaff6b0e67af7665301aa749722c97023e6d653b\n\nCompiled by &lt;a href=&apos;mailto:michael@daschlbook.local&apos;&gt;michael@daschlbook.local&lt;/a&gt; on Mon Mar  4 15:17:27 CET 2013&amp;#39;},&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
84ebf9ad0d0d8a64497d956f6e75bf74cd7883de is not the correct one.&lt;br/&gt;
&lt;br/&gt;
The correct one is: 053c653ebbbb5da14cb9398447acc40c1f63552d&lt;br/&gt;
&lt;br/&gt;
You can see that is was compiled on my machine on 04th March.&lt;br/&gt;
&lt;br/&gt;
Thanks, Michael&lt;br/&gt;
</comment>
                    <comment id="53493" author="deeptida" created="Tue, 26 Mar 2013 05:02:59 -0500"  >Hi Michael,&lt;br/&gt;
&lt;br/&gt;
I have attached the log of run pertaining to the latest version.&lt;br/&gt;
It still has the errors.&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;#39;COMPONENTS&amp;#39;: {   &amp;#39;SDK&amp;#39;: &amp;#39;Couchbase Java Client 1.1.4\n\nTree Version: 1.1.4\nLast Commit ID: 0958708ab0425a8b91c3e32d7e07d577b50a92b8\n\nCompiled by &lt;a href=&apos;mailto:michael@daschlbook.local&apos;&gt;michael@daschlbook.local&lt;/a&gt; on Wed Mar 13 09:31:34 CET 2013&amp;#39;,&lt;br/&gt;
&amp;#39;SPY&amp;#39;: &amp;#39;Spymemcached 2.8.12\n\nTree Version: 2.8.12\nLast Commit ID: 84ebf9ad0d0d8a64497d956f6e75bf74cd7883de\n\nCompiled by &lt;a href=&apos;mailto:michael@daschlbook.local&apos;&gt;michael@daschlbook.local&lt;/a&gt; on Fri Mar  1 01:15:26 CET 2013&amp;#39;}}&lt;br/&gt;
</comment>
                    <comment id="53497" author="daschl" created="Tue, 26 Mar 2013 05:54:34 -0500"  >Hi Deepti,&lt;br/&gt;
&lt;br/&gt;
I&amp;#39;m not sure what the purpose of this run was, because it still uses the old version (as you even mentioned in your comment):&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;#39;COMPONENTS&amp;#39;: {   &amp;#39;SDK&amp;#39;: &amp;#39;Couchbase Java Client 1.1.4\n\nTree Version: 1.1.4\nLast Commit ID: 0958708ab0425a8b91c3e32d7e07d577b50a92b8\n\nCompiled by &lt;a href=&apos;mailto:michael@daschlbook.local&apos;&gt;michael@daschlbook.local&lt;/a&gt; on Wed Mar 13 09:31:34 CET 2013&amp;#39;,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;#39;SPY&amp;#39;: &amp;#39;Spymemcached 2.8.12\n\nTree Version: 2.8.12\nLast Commit ID: 84ebf9ad0d0d8a64497d956f6e75bf74cd7883de\n\nCompiled by &lt;a href=&apos;mailto:michael@daschlbook.local&apos;&gt;michael@daschlbook.local&lt;/a&gt; on Fri Mar  1 01:15:26 CET 2013&amp;#39;}}&lt;br/&gt;
&lt;br/&gt;
The version used is the 1.1.4 tag, compiled by me on 13th march. The fix for this is in MASTER (and was added there on march 16th).</comment>
                    <comment id="53498" author="deeptida" created="Tue, 26 Mar 2013 06:03:35 -0500"  >Alright Michael.&lt;br/&gt;
&lt;br/&gt;
I think we are good with the fix for the scenarios of basic test and the test with failover and readd.&lt;br/&gt;
There are no assertion errors for these two cases now.&lt;br/&gt;
&lt;br/&gt;
But in the case of failover and rebalance tests there are still errors existing.&lt;br/&gt;
&lt;br/&gt;
Please find the zip file for all the runs. &lt;br/&gt;
&lt;br/&gt;
I&amp;#39;ll tell Saran to get back to customer with the latest build 1.1.4 and verify.&lt;br/&gt;
&lt;br/&gt;
Thanks !</comment>
                    <comment id="56023" author="daschl" created="Wed, 24 Apr 2013 07:44:02 -0500"  >Whats the status on this?</comment>
                    <comment id="56175" author="deeptida" created="Thu, 25 Apr 2013 02:15:43 -0500"  >As already stated, the failover and the rebalance cause an issue still.&lt;br/&gt;
&lt;br/&gt;
You can have a look at the logs in the attached zip file.</comment>
                    <comment id="57682" author="deeptida" created="Thu, 9 May 2013 07:02:52 -0500"  >There is a marked improvement in these scenarios. But the tests are failing still. Please have a look at the latest attachments from the cbc version 1.1.6.</comment>
                    <comment id="57798" author="deeptida" created="Fri, 10 May 2013 07:48:14 -0500"  >Tested with the latest version of the client i.e. 1.16.&lt;br/&gt;
All the scenarios are passing. Hence, closing the issue.</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10000">
                <name>Dependency</name>
                                <outwardlinks description="depends on">
                                    </outwardlinks>
                                                <inwardlinks description="blocks">
                                    </inwardlinks>
                            </issuelinktype>
                        <issuelinktype id="10001">
                <name>Duplicate</name>
                                                <inwardlinks description="is duplicated by">
                            <issuelink>
            <issuekey id="23212">JCBC-271</issuekey>
        </issuelink>
                    </inwardlinks>
                            </issuelinktype>
                    </issuelinks>
                <attachments>
                    <attachment id="16970" name="assertion_error_mem_bkt.log" size="100498" author="deeptida" created="Mon, 18 Mar 2013 04:53:13 -0500" />
                    <attachment id="17020" name="mem_bkt_base_raw_1.1.4.log" size="32892" author="deeptida" created="Tue, 26 Mar 2013 05:12:36 -0500" />
                    <attachment id="17302" name="mem_bkt_failover_1.1.6_server1.8.1_working_fyn.log" size="7695" author="deeptida" created="Fri, 10 May 2013 07:47:22 -0500" />
                    <attachment id="17303" name="mem_bkt_failover_1.1.6_server2.0.1_working_fyn.log" size="10436" author="deeptida" created="Fri, 10 May 2013 07:47:22 -0500" />
                    <attachment id="17285" name="mem_bkt_faiover_1.1.6.log" size="18510" author="deeptida" created="Thu, 9 May 2013 07:02:52 -0500" />
                    <attachment id="17018" name="mem_bkt_latest_run_1.1.4.log" size="39287" author="deeptida" created="Tue, 26 Mar 2013 05:01:25 -0500" />
                    <attachment id="17286" name="mem_bkt_readd_1.1.6.log" size="16010" author="deeptida" created="Thu, 9 May 2013 07:02:52 -0500" />
                    <attachment id="17304" name="mem_bkt_readd_1.1.6_server1.8.1_working_fyn.log" size="9872" author="deeptida" created="Fri, 10 May 2013 07:47:22 -0500" />
                    <attachment id="17305" name="mem_bkt_readd_1.1.6_server2.0.1_working_fyn.log" size="11844" author="deeptida" created="Fri, 10 May 2013 07:47:22 -0500" />
                    <attachment id="17287" name="mem_bkt_rebalance_1.1.6.log" size="15885" author="deeptida" created="Thu, 9 May 2013 07:02:52 -0500" />
                    <attachment id="17306" name="mem_bkt_rebalance_1.1.6_server1.8.1_working_fyn.log" size="8840" author="deeptida" created="Fri, 10 May 2013 07:47:22 -0500" />
                    <attachment id="17307" name="mem_bkt_rebalance_1.1.6_server2.0.1_working_fyn.log" size="8958" author="deeptida" created="Fri, 10 May 2013 07:47:22 -0500" />
                    <attachment id="16930" name="memcached_bucket_basic_json.log" size="26652" author="deeptida" created="Tue, 12 Mar 2013 10:09:54 -0500" />
                    <attachment id="16929" name="memcached_bucket_basic.log" size="6683" author="deeptida" created="Tue, 12 Mar 2013 10:09:54 -0500" />
                    <attachment id="16931" name="memcached_bucket_failover.log" size="28916" author="deeptida" created="Tue, 12 Mar 2013 10:09:54 -0500" />
                    <attachment id="16932" name="memcached_bucket_readd.log" size="69553" author="deeptida" created="Tue, 12 Mar 2013 10:09:54 -0500" />
                    <attachment id="16933" name="memcached_bucket_rebalance.log" size="69447" author="deeptida" created="Tue, 12 Mar 2013 10:09:54 -0500" />
                    <attachment id="17021" name="test_run.tar.gz" size="18774" author="deeptida" created="Tue, 26 Mar 2013 06:28:06 -0500" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                <customfield id="customfield_10283" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                <customfieldname>Planned Start</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Tue, 12 Mar 2013 12:00:00 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>9417</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-302] Small issue in release note 1.1.6</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-302</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>In the release note :&lt;br/&gt;
&lt;a href=&quot;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/couchbase-sdk-java-rn_1-1-6a.html&quot;&gt;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/couchbase-sdk-java-rn_1-1-6a.html&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
Small typo:&lt;br/&gt;
&amp;quot;(wthout the quotes) &amp;quot;&lt;br/&gt;
&lt;br/&gt;
should be &amp;quot;without&amp;quot;&lt;br/&gt;
&lt;br/&gt;
</description>
                <environment></environment>
            <key id="24219">JCBC-302</key>
            <summary>Small issue in release note 1.1.6</summary>
                <type id="3" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/task.png">Task</type>
                                <priority id="4" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/minor.png">Minor</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="tgrall">Tug Grall</reporter>
                        <labels>
                    </labels>
                <created>Mon, 13 May 2013 13:36:54 -0500</created>
                <updated>Mon, 13 May 2013 13:36:54 -0500</updated>
                                    <version>1.1.6</version>
                                                <component>docs</component>
                                <votes>0</votes>
                        <watches>1</watches>
                                                            <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>11194</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-274] Jenkins test results failing. </title>
                <link>http://www.couchbase.com/issues/browse/JCBC-274</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>When the jenkins job for java build is run with the latest source in Git and the tests are run, 6 tests are failing. Those are very obvious errors and can be fixed. Screenshot attached.</description>
                <environment></environment>
            <key id="23244">JCBC-274</key>
            <summary>Jenkins test results failing. </summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="2" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/critical.png">Critical</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="deeptida">Deepti Dawar</reporter>
                        <labels>
                    </labels>
                <created>Sat, 16 Mar 2013 23:27:59 -0500</created>
                <updated>Mon, 13 May 2013 02:17:00 -0500</updated>
                                                                                    <votes>0</votes>
                        <watches>1</watches>
                                                    <comments>
                    <comment id="52964" author="deeptida" created="Mon, 18 Mar 2013 04:10:56 -0500"  >Michael, kindly check why the NPEs are coming in these results.&lt;br/&gt;
&lt;br/&gt;
Thanks&lt;br/&gt;
Deepti.</comment>
                    <comment id="54213" author="deeptida" created="Thu, 4 Apr 2013 03:09:19 -0500"  >Please review few fixes at :&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;http://review.couchbase.org/#/c/25482/&quot;&gt;http://review.couchbase.org/#/c/25482/&lt;/a&gt;</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10000">
                <name>Dependency</name>
                                                <inwardlinks description="blocks">
                                    </inwardlinks>
                            </issuelinktype>
                    </issuelinks>
                <attachments>
                    <attachment id="17052" name="git_build_description.png" size="265446" author="deeptida" created="Thu, 28 Mar 2013 09:05:20 -0500" />
                    <attachment id="16966" name="issues_latest_run_jenkins.png" size="231230" author="deeptida" created="Sat, 16 Mar 2013 23:35:19 -0500" />
                    <attachment id="17053" name="latest_build.png" size="328406" author="deeptida" created="Thu, 28 Mar 2013 09:05:20 -0500" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                <customfield id="customfield_10283" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                <customfieldname>Planned Start</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Mon, 18 Mar 2013 12:00:00 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>35</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                <customfield id="customfield_10080" key="com.pyxis.greenhopper.jira:gh-sprint">
                <customfieldname>Sprint</customfieldname>
                <customfieldvalues>
                        <customfieldvalue>13</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                    </customfields>
    </item>

<item>
            <title>[JCBC-297] Release Java Client 1.1.6</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-297</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>Release the Java Client 1.1.6</description>
                <environment></environment>
            <key id="24088">JCBC-297</key>
            <summary>Release Java Client 1.1.6</summary>
                <type id="3" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/task.png">Task</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="daschl">Michael Nitschinger</reporter>
                        <labels>
                    </labels>
                <created>Tue, 7 May 2013 12:09:00 -0500</created>
                <updated>Fri, 10 May 2013 14:05:19 -0500</updated>
                    <resolved>Fri, 10 May 2013 14:05:19 -0500</resolved>
                                            <fixVersion>1.1.6</fixVersion>
                                                <votes>0</votes>
                        <watches>1</watches>
                                                            <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>28</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                <customfield id="customfield_10080" key="com.pyxis.greenhopper.jira:gh-sprint">
                <customfieldname>Sprint</customfieldname>
                <customfieldvalues>
                        <customfieldvalue>13</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-299] ClassCastException in CouchbaseClient for the memcached connection</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-299</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>For all the tests running on CouchbaseMemcachedConnection, ClassCastException occurs while casting the instance of the CouchbaseMemcachedConnection to CouchbaseConnection.&lt;br/&gt;
&lt;br/&gt;
PFA the logs of run.</description>
                <environment></environment>
            <key id="24156">JCBC-299</key>
            <summary>ClassCastException in CouchbaseClient for the memcached connection</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="6" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="deeptida">Deepti Dawar</reporter>
                        <labels>
                    </labels>
                <created>Thu, 9 May 2013 06:58:03 -0500</created>
                <updated>Fri, 10 May 2013 07:49:52 -0500</updated>
                    <resolved>Fri, 10 May 2013 07:46:41 -0500</resolved>
                                                                            <votes>0</votes>
                        <watches>1</watches>
                                                    <comments>
                    <comment id="57795" author="deeptida" created="Fri, 10 May 2013 06:16:56 -0500"  >As per the latest run using cbc-1.1.6 and server-1.8.1, 2.0.1, these scenarios are all working fine.&lt;br/&gt;
Hence, closing the issue.</comment>
                </comments>
                    <attachments>
                    <attachment id="17296" name="mem_bkt_failover_1.1.6_server1.8.1_working_fyn.log" size="7695" author="deeptida" created="Fri, 10 May 2013 06:24:30 -0500" />
                    <attachment id="17299" name="mem_bkt_failover_1.1.6_server2.0.1_working_fyn.log" size="10436" author="deeptida" created="Fri, 10 May 2013 07:46:30 -0500" />
                    <attachment id="17282" name="mem_bkt_faiover_1.1.6.log" size="18510" author="deeptida" created="Thu, 9 May 2013 07:00:22 -0500" />
                    <attachment id="17283" name="mem_bkt_readd_1.1.6.log" size="16010" author="deeptida" created="Thu, 9 May 2013 07:00:22 -0500" />
                    <attachment id="17297" name="mem_bkt_readd_1.1.6_server1.8.1_working_fyn.log" size="9872" author="deeptida" created="Fri, 10 May 2013 06:24:30 -0500" />
                    <attachment id="17300" name="mem_bkt_readd_1.1.6_server2.0.1_working_fyn.log" size="11844" author="deeptida" created="Fri, 10 May 2013 07:46:30 -0500" />
                    <attachment id="17284" name="mem_bkt_rebalance_1.1.6.log" size="15885" author="deeptida" created="Thu, 9 May 2013 07:00:22 -0500" />
                    <attachment id="17298" name="mem_bkt_rebalance_1.1.6_server1.8.1_working_fyn.log" size="8840" author="deeptida" created="Fri, 10 May 2013 06:24:30 -0500" />
                    <attachment id="17301" name="mem_bkt_rebalance_1.1.6_server2.0.1_working_fyn.log" size="8958" author="deeptida" created="Fri, 10 May 2013 07:46:30 -0500" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>11127</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-288] Query.setKey() does not parse properly string that starts with number but contains letter</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-288</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>When a query is made with the setKey and this key starts with number but contains chars, our Query parser transforms this as Number, for example&lt;br/&gt;
&lt;br/&gt;
&amp;quot;123ABC&amp;quot; will be sent as key=123&lt;br/&gt;
&lt;br/&gt;
Note that the complex key and setKeys() are working properly.</description>
                <environment></environment>
            <key id="23829">JCBC-288</key>
            <summary>Query.setKey() does not parse properly string that starts with number but contains letter</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="tgrall">Tug Grall</assignee>
                                <reporter username="tgrall">Tug Grall</reporter>
                        <labels>
                    </labels>
                <created>Fri, 19 Apr 2013 06:43:59 -0500</created>
                <updated>Fri, 10 May 2013 01:28:49 -0500</updated>
                    <resolved>Fri, 10 May 2013 01:28:42 -0500</resolved>
                            <version>1.1.5</version>
                                <fixVersion>1.1.6</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>1</watches>
                                                            <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>10740</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-284] Create new methods (set/add/update) with no ttl (to be persisted &quot;for ever&quot; by default)</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-284</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>To improve the developer experience it is better to allow developers to do a&lt;br/&gt;
client.set(&amp;quot;K&amp;quot;,&amp;quot;V&amp;quot;)&lt;br/&gt;
&lt;br/&gt;
and this will be equivalent of a  0 TTL.&lt;br/&gt;
&lt;br/&gt;
This should be done for set,add,replace (all methods with a TTL)</description>
                <environment></environment>
            <key id="23653">JCBC-284</key>
            <summary>Create new methods (set/add/update) with no ttl (to be persisted &quot;for ever&quot; by default)</summary>
                <type id="2" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/newfeature.png">New Feature</type>
                                <priority id="4" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/minor.png">Minor</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="tgrall">Tug Grall</assignee>
                                <reporter username="tgrall">Tug Grall</reporter>
                        <labels>
                    </labels>
                <created>Fri, 12 Apr 2013 09:34:49 -0500</created>
                <updated>Fri, 10 May 2013 01:28:07 -0500</updated>
                    <resolved>Fri, 10 May 2013 01:28:07 -0500</resolved>
                            <version>1.1.5</version>
                                <fixVersion>1.1.6</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>2</watches>
                                                    <comments>
                    <comment id="55034" author="daschl" created="Mon, 15 Apr 2013 00:55:18 -0500"  >It&amp;#39;s yours :)</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>10603</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-301] Strange Logic in CouchbaseClient observePoll method</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-301</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>At CouchbaseClient.java line 2192 and line 2196&lt;br/&gt;
&lt;br/&gt;
They both call &lt;br/&gt;
&lt;br/&gt;
replicaPersistedTo++;&lt;br/&gt;
&lt;br/&gt;
it means when r.getValue() == ObserveResponse.NOT_FOUND_PERSISTED)  &amp;amp;&amp;amp; !isMaster, replicaPersistedTo will be called twice.&lt;br/&gt;
&lt;br/&gt;
Is that intensional. Looks odd to me.</description>
                <environment></environment>
            <key id="24178">JCBC-301</key>
            <summary>Strange Logic in CouchbaseClient observePoll method</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="henrichen">Henri Chen</reporter>
                        <labels>
                    </labels>
                <created>Thu, 9 May 2013 23:18:11 -0500</created>
                <updated>Thu, 9 May 2013 23:21:24 -0500</updated>
                                    <version>.next</version>
                                                <component>library</component>
                                <votes>0</votes>
                        <watches>1</watches>
                                                    <comments>
                    <comment id="57778" author="henrichen" created="Thu, 9 May 2013 23:21:24 -0500"  >BTW, The code is based on Github master.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>11157</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-268] ReplicateTo.ZERO+PersistTo.ZERO should be handled specially so as not to impact performance</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-268</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>When testing the durability constraints with ZERO for both replicate and persist, there is a noticeable drop in throughput due to the extra call to the server to check for these constraints.&lt;br/&gt;
&lt;br/&gt;
Intuitively, since this is a &amp;quot;single&amp;quot; API that hides the functionality from the user, the user expects that supplying ZERO for both of these options should be the same speed as not supplying them at all.</description>
                <environment></environment>
            <key id="23177">JCBC-268</key>
            <summary>ReplicateTo.ZERO+PersistTo.ZERO should be handled specially so as not to impact performance</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="perry">Perry Krug</reporter>
                        <labels>
                    </labels>
                <created>Tue, 12 Mar 2013 12:02:29 -0500</created>
                <updated>Wed, 8 May 2013 10:27:21 -0500</updated>
                    <resolved>Wed, 8 May 2013 10:27:21 -0500</resolved>
                            <version>1.1.3</version>
                                <fixVersion>1.1.6</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>2</watches>
                                                    <comments>
                    <comment id="57529" author="daschl" created="Wed, 8 May 2013 03:41:34 -0500"  >&lt;a href=&quot;http://review.couchbase.org/#/c/26182&quot;&gt;http://review.couchbase.org/#/c/26182&lt;/a&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                            <customfield id="customfield_10284" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                <customfieldname>Planned End</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Tue, 12 Mar 2013 12:00:00 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10283" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                <customfieldname>Planned Start</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Tue, 12 Mar 2013 12:00:00 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>23</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                <customfield id="customfield_10080" key="com.pyxis.greenhopper.jira:gh-sprint">
                <customfieldname>Sprint</customfieldname>
                <customfieldvalues>
                        <customfieldvalue>13</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-177] support a single null in a view query</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-177</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>In ComplexKeyTest.java, there is a disabled test for handling a ComplexKey.of((Object[]) null); since it would NPE.  This should be fixed.&lt;br/&gt;
&lt;br/&gt;
It&amp;#39;s not that likely someone will start a query with null, but it is possible.</description>
                <environment></environment>
            <key id="21252">JCBC-177</key>
            <summary>support a single null in a view query</summary>
                <type id="2" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/newfeature.png">New Feature</type>
                                <priority id="4" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/minor.png">Minor</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="deeptida">Deepti Dawar</assignee>
                                <reporter username="ingenthr">Matt Ingenthron</reporter>
                        <labels>
                    </labels>
                <created>Tue, 11 Dec 2012 10:13:44 -0600</created>
                <updated>Wed, 8 May 2013 06:01:27 -0500</updated>
                    <resolved>Wed, 8 May 2013 06:01:27 -0500</resolved>
                            <version>1.1.0</version>
                                <fixVersion>1.1.6</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>1</watches>
                                                    <comments>
                    <comment id="53859" author="deeptida" created="Mon, 1 Apr 2013 05:28:07 -0500"  >&lt;a href=&quot;http://review.couchbase.org/#/c/25415/&quot;&gt;http://review.couchbase.org/#/c/25415/&lt;/a&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>20</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                <customfield id="customfield_10080" key="com.pyxis.greenhopper.jira:gh-sprint">
                <customfieldname>Sprint</customfieldname>
                <customfieldvalues>
                        <customfieldvalue>13</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-146] Paginator should support reduced views.</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-146</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description></description>
                <environment></environment>
            <key id="20718">JCBC-146</key>
            <summary>Paginator should support reduced views.</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="mikew">Mike Wiederhold</reporter>
                        <labels>
                    </labels>
                <created>Tue, 13 Nov 2012 13:33:30 -0600</created>
                <updated>Wed, 8 May 2013 05:26:23 -0500</updated>
                    <resolved>Wed, 8 May 2013 05:26:23 -0500</resolved>
                            <version>1.1-dp4</version>
                                <fixVersion>1.1.6</fixVersion>
                                <component>library</component>
                                <votes>1</votes>
                        <watches>1</watches>
                                                    <comments>
                    <comment id="43969" author="daschl" created="Wed, 14 Nov 2012 09:40:56 -0600"  >Depends on &lt;a href=&quot;http://www.couchbase.com/issues/browse/JCBC-136&quot; title=&quot;Add support for spatial view queries&quot;&gt;&lt;strike&gt;JCBC-136&lt;/strike&gt;&lt;/a&gt;</comment>
                    <comment id="44513" author="daschl" created="Wed, 21 Nov 2012 00:21:28 -0600"  >Now this can be implemented as well.</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10000">
                <name>Dependency</name>
                                <outwardlinks description="depends on">
                            <issuelink>
            <issuekey id="20465">JCBC-136</issuekey>
        </issuelink>
                    </outwardlinks>
                                            </issuelinktype>
                    </issuelinks>
                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>26</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                <customfield id="customfield_10080" key="com.pyxis.greenhopper.jira:gh-sprint">
                <customfieldname>Sprint</customfieldname>
                <customfieldvalues>
                        <customfieldvalue>13</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-241] Paginator object doesn&apos;t move onto next &quot;page&quot; correctly</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-241</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>Customer found his own issue:&lt;br/&gt;
I had a look at the source code for the java driver and found the error there. It is in:&lt;br/&gt;
&lt;br/&gt;
com.couchbase.client.protocol.views.Paginator.getNextPage()&lt;br/&gt;
&lt;br/&gt;
Right after calculating the number of &amp;quot;remaining&amp;quot; keys, it sets the limit of the query to the remaining number of keys and re-runs the query. What is missing here is:&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;q.setSkip(totalDocs);&lt;br/&gt;
&lt;br/&gt;
To actually start from the entry after the last entry on the current page. I have tried this and it works. But there is more code in this method and it is not very easy to follow so important to make sure that this fits.&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
I am enclosing a diff.</description>
                <environment></environment>
            <key id="22581">JCBC-241</key>
            <summary>Paginator object doesn&apos;t move onto next &quot;page&quot; correctly</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="1" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/blocker.png">Blocker</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="perry">Perry Krug</reporter>
                        <labels>
                    </labels>
                <created>Thu, 7 Feb 2013 04:02:32 -0600</created>
                <updated>Wed, 8 May 2013 05:25:14 -0500</updated>
                    <resolved>Wed, 8 May 2013 05:25:14 -0500</resolved>
                            <version>1.1.2</version>
                                <fixVersion>1.1.6</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>1</watches>
                                                    <comments>
                    <comment id="49958" author="perry" created="Thu, 7 Feb 2013 11:47:55 -0600"  >Update, but the bug still stands as described.&lt;br/&gt;
&lt;br/&gt;
It seems that my fix is not the correct one. The bug seem to be that although the Paginator specifies setStartkeyDocID, the query doesn&amp;#39;t start from this key.&lt;br/&gt;
&lt;br/&gt;
I have debugged the Paginator class &#8211; and when resolving the next page it instructs the query to start from a specific doc id, e.g:&lt;br/&gt;
&lt;br/&gt;
Query: ?limit=50&amp;amp;startkey=144&amp;amp;skip=0&amp;amp;stale=false&amp;amp;startkey_docid=144&lt;br/&gt;
&lt;br/&gt;
But as a result of this query I get:&lt;br/&gt;
&lt;br/&gt;
Got key: 1&lt;br/&gt;
Got key: 10&lt;br/&gt;
Got key: 100&lt;br/&gt;
Got key: 101&lt;br/&gt;
Got key: 102&lt;br/&gt;
Got key: 103&lt;br/&gt;
&#8230;&lt;br/&gt;
Got key: 141&lt;br/&gt;
Got key: 142&lt;br/&gt;
Got key: 143&lt;br/&gt;
&lt;br/&gt;
Every time. So the bug is in the Query context somewhere.&lt;br/&gt;
&lt;br/&gt;
Also &#8211; a note of inefficiency in the Paginator class: why perform two queries every time? One for the content of the &amp;quot;page&amp;quot; and one to find the row for the next page? Would be better to query for page + 1 and keep the last separate from the ViewResponse.&lt;br/&gt;
&lt;br/&gt;
So, what I can conclude is that when the Paginator bug is resolved it should work fine for us. The additional query for the last row could be an issue though, since it uses setSkip(). So could this be treated as a bug as well?&lt;br/&gt;
</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10000">
                <name>Dependency</name>
                                <outwardlinks description="depends on">
                                    </outwardlinks>
                                            </issuelinktype>
                    </issuelinks>
                <attachments>
                    <attachment id="16713" name="paginator-java.diff" size="36" author="perry" created="Thu, 7 Feb 2013 04:02:32 -0600" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>25</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                <customfield id="customfield_10080" key="com.pyxis.greenhopper.jira:gh-sprint">
                <customfieldname>Sprint</customfieldname>
                <customfieldvalues>
                        <customfieldvalue>13</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-247] ViewReponse: Provide a way to return the JSON as it is</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-247</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>The Java API provide most of the time access to the JSON document (as string):&lt;br/&gt;
- get commands&lt;br/&gt;
- view command using the ViewRow.getDocument&lt;br/&gt;
&lt;br/&gt;
When we call a view the result is a ViewResponse, but it is not possible to get the JSON document out of it, and the view engine returned a JSON doc.&lt;br/&gt;
&lt;br/&gt;
It could be interesting for some development, to be able to do a  viewResponse.toJSON() that returns the exact result of the view. (this function may not be compliant with the includesDoc(true) option)&lt;br/&gt;
&lt;br/&gt;
The use case is simple, suppose I am creating a REST API and I would like to call the view and return the result to the user it would be good to do something like :&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
@GET&lt;br/&gt;
@Produces({ &amp;quot;application/json&amp;quot;})&lt;br/&gt;
@Path(&amp;quot;/person/&amp;quot;)&lt;br/&gt;
public String getPersons( ) {&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;View view = client.getView(PERSON_DSGN_DOC, PERSON_BY_NAME_VIEW);&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Query query = new Query();&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ViewResponse viewResponse = client.query(view, query);&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return viewResponse.toJSON();&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;}&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
Today I have to loop on each result and create a new object/document&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
</description>
                <environment></environment>
            <key id="22690">JCBC-247</key>
            <summary>ViewReponse: Provide a way to return the JSON as it is</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="4" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/minor.png">Minor</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="tgrall">Tug Grall</reporter>
                        <labels>
                    </labels>
                <created>Thu, 14 Feb 2013 04:15:24 -0600</created>
                <updated>Tue, 7 May 2013 14:09:23 -0500</updated>
                                                                                    <votes>0</votes>
                        <watches>1</watches>
                                                            <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                            <customfield id="customfield_10284" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                <customfieldname>Planned End</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Thu, 14 Feb 2013 12:00:00 -0600</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10283" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                <customfieldname>Planned Start</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Thu, 14 Feb 2013 12:00:00 -0600</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8369</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-180] Allow for default value to append/prepend</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-180</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>As with incr/decr, it would be very helpful to have a default value come along with the append/prepend operation to keep them atomic and avoid the extra round-trip of an add()</description>
                <environment></environment>
            <key id="21281">JCBC-180</key>
            <summary>Allow for default value to append/prepend</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="perry">Perry Krug</reporter>
                        <labels>
                        <label>customer</label>
                    </labels>
                <created>Wed, 12 Dec 2012 05:59:54 -0600</created>
                <updated>Tue, 7 May 2013 14:07:11 -0500</updated>
                                    <version>1.1.0</version>
                                <fixVersion>.next</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="49178" author="daschl" created="Thu, 31 Jan 2013 10:26:49 -0600"  >Moved to .next until this is clarified on the server side.</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10000">
                <name>Dependency</name>
                                <outwardlinks description="depends on">
                            <issuelink>
            <issuekey id="22105">MB-7653</issuekey>
        </issuelink>
                    </outwardlinks>
                                            </issuelinktype>
                    </issuelinks>
                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8370</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-295] Spring Connector Guide</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-295</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>Phase 1: &lt;br/&gt;
&lt;br/&gt;
-Need intended user/audience from SME&lt;br/&gt;
-Need suggested topics for TOC from SME&lt;br/&gt;
</description>
                <environment></environment>
            <key id="24049">JCBC-295</key>
            <summary>Spring Connector Guide</summary>
                <type id="6" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/story.png">Story</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="kzeller">Karen Zeller</reporter>
                        <labels>
                        <label>info-request</label>
                    </labels>
                <created>Thu, 2 May 2013 16:04:38 -0500</created>
                <updated>Mon, 6 May 2013 11:32:41 -0500</updated>
                                                                    <component>docs</component>
                                <votes>0</votes>
                        <watches>4</watches>
                                                    <comments>
                    <comment id="57201" author="daschl" created="Sun, 5 May 2013 23:15:36 -0500"  >Hi Karen,&lt;br/&gt;
&lt;br/&gt;
let&amp;#39;s put this on hold for now. We may think about moving the documentation to the springsource environment (alongside with the code), but we need to work this out. I want to avoid duplicate work for this!</comment>
                    <comment id="57234" author="kzeller" created="Mon, 6 May 2013 11:32:41 -0500"  >This is not currently work in progress.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>3230</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-244] Sample Application : fix the welcome file and gitignore</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-244</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>1- the Welcome auto redirect in Jetty does not work correctly.&lt;br/&gt;
2- Update the gitignore to handle IDE and OS</description>
                <environment></environment>
            <key id="22631">JCBC-244</key>
            <summary>Sample Application : fix the welcome file and gitignore</summary>
                <type id="3" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/task.png">Task</type>
                                <priority id="4" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/minor.png">Minor</priority>
                    <status id="3" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/inprogress.png">In Progress</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="tgrall">Tug Grall</assignee>
                                <reporter username="tgrall">Tug Grall</reporter>
                        <labels>
                    </labels>
                <created>Tue, 12 Feb 2013 03:34:33 -0600</created>
                <updated>Thu, 2 May 2013 16:33:23 -0500</updated>
                                    <version>1.1.2</version>
                                                <component>docs</component>
                                <votes>0</votes>
                        <watches>2</watches>
                                                    <comments>
                    <comment id="53502" author="daschl" created="Tue, 26 Mar 2013 07:05:13 -0500"  >Hey tug, is this still ongoing?</comment>
                    <comment id="55036" author="daschl" created="Mon, 15 Apr 2013 02:10:37 -0500"  >Tug, did you fix this recently?</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>10830</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-294] OOME on ViewResponse for very large view</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-294</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>We had some complain from developer that are using large view for example 500k elements. (with small content id+url for example). The total size of the view is in this case around 52Mb.&lt;br/&gt;
&lt;br/&gt;
The result  out of memory.&lt;br/&gt;
2013-05-01 16:47:06.536 INFO&lt;br/&gt;
com.couchbase.client.http.AsyncConnectionManager$ConnRequestCallback:&lt;br/&gt;
/192.168.63.99:8092 - Session request successful&lt;br/&gt;
Exception in thread &amp;quot;I/O dispatcher 3&amp;quot; java.lang.OutOfMemoryError: Java&lt;br/&gt;
heap space&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.http.util.CharArrayBuffer.expand(CharArrayBuffer.java:61)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.http.util.CharArrayBuffer.append(CharArrayBuffer.java:91)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.http.util.EntityUtils.toString(EntityUtils.java:200)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.http.util.EntityUtils.toString(EntityUtils.java:221)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at&lt;br/&gt;
com.couchbase.client.protocol.views.HttpOperationImpl.getEntityString(Http&lt;br/&gt;
OperationImpl.java:106)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at&lt;br/&gt;
com.couchbase.client.protocol.views.ViewOperationImpl.handleResponse(ViewO&lt;br/&gt;
perationImpl.java:60)&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
Note from our community member&lt;br/&gt;
&lt;br/&gt;
After digging into the SDK and apache code, it occurred that the  viewResponse actually contains Strings (the json objects). I think the &amp;quot;problem&amp;quot; lies in handleResponse method in ViewOperationImpl.&lt;br/&gt;
Here the SDK are using the apache http core to get the json String via the call&lt;br/&gt;
String json = getEntityString(response);&lt;br/&gt;
Would it be smarter to give back a InputStream instead? This could quite&lt;br/&gt;
easily be fixed because the response could give back a HttpEntity that&lt;br/&gt;
again could give the developer a InputStream.&lt;br/&gt;
In this way the SDK did not have to copy each Char, which it actually&lt;br/&gt;
does in the apache http core library (see expand in&lt;br/&gt;
CharArrayBufffer.class ). It does the following: char newbuffer[] = new&lt;br/&gt;
char[Math.max(this.buffer.length &amp;lt;&amp;lt; 1, newlen)];&lt;br/&gt;
I think it kind of chokes when it get 52MB it have to copy from Char to a&lt;br/&gt;
String and then deliver it back.&lt;br/&gt;
&lt;br/&gt;
BTW: I&amp;#39;ve tried calling the same view and operating on it form node.js&lt;br/&gt;
(using baseview and the official sdk), it just worked like a charm. And&lt;br/&gt;
this is prob. because you get a stream of data chunks that you can work&lt;br/&gt;
on, which seems more effective.</description>
                <environment>Java application with large view </environment>
            <key id="24038">JCBC-294</key>
            <summary>OOME on ViewResponse for very large view</summary>
                <type id="3" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/task.png">Task</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="tgrall">Tug Grall</reporter>
                        <labels>
                    </labels>
                <created>Thu, 2 May 2013 08:17:10 -0500</created>
                <updated>Thu, 2 May 2013 08:17:10 -0500</updated>
                                    <version>1.1.5</version>
                                                <component>library</component>
                                <votes>0</votes>
                        <watches>2</watches>
                                                            <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>10974</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-286] Copyedit MichaelN blog on Java SDK Internals</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-286</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>Couchbase Java SDK Internals&lt;br/&gt;
============================&lt;br/&gt;
&lt;br/&gt;
## Motivation&lt;br/&gt;
This blog post is intended to be a very detailed and informative article for those who already have used the Couchbase Java SDK and want to know how the internals work. This is not a introduction on how to use the Java SDK and we&amp;#39;ll cover some fairly advanced topics on the way.&lt;br/&gt;
&lt;br/&gt;
Normally, when talking about the SDK we mean everything that is needed to get you going (Client library, documentation, release notes,...). In this article though, the SDK refers to the Client library (code) unless stated otherwise.&lt;br/&gt;
&lt;br/&gt;
As always, if you have feedback please let me/us know!&lt;br/&gt;
&lt;br/&gt;
## Introduction&lt;br/&gt;
First and foremost, its important to understand that the SDK wraps and extends the functionality of the [spymemcached]() (called &amp;quot;spy&amp;quot;) memcached library. One of the protocols used internally is the memcached protocol, and a lot of functionality can be reused. On the other hand, once you start to peel off the first layers of the SDK you will notice that some components are somewhat more complex because of the fact that spy provides more features than the SDK needs in the first place. The other part is to remeber that a lot of the components are intervoven, so you always need to get the dependency right. Most of the time, we release a new spy version at the same date with a new SDK, because new stuff has been added or fixed.&lt;br/&gt;
&lt;br/&gt;
So, aside from reusing the functionality provided by spy, the SDK mainly adds two blocks of functionality: automatic cluster topology management and since 1.1 (and 2.0 server) support for Views. Aside from that it also provides admnistrative facilities like bucket and design document management.&lt;br/&gt;
&lt;br/&gt;
To understand how the client operates, we&amp;#39;ll dissect the whole process in different life cycle phases of the client. After we went through all three phases (bootstrap, operation and shutdown) you should have a clear picture of whats going on under the hood. Note that there is a separate blog post in the making about error handling, so we won&amp;#39;t cover that here in greater detail.&lt;br/&gt;
&lt;br/&gt;
## Phase 1: Bootstrap&lt;br/&gt;
Before we can actually start serving operations like `get()` and `set()`, we need to bootstrap the `CouchbaseClient` object. The important part that we need to accomplish here is to initially get a cluster configuration (which contains the nodes and vBucket map), but also to establish a streaming connection to receive cluster updates in (near) real-time.&lt;br/&gt;
&lt;br/&gt;
We take the list of nodes passing during bootstrap and iterate over it. The first node in the list that can be contacted on port 8091 is used to walk the RESTful interface on the server. This means that going from the provided `&lt;a href=&quot;http://host:port/pools&quot;&gt;http://host:port/pools&lt;/a&gt;` URI we eventually follow the links to the bucket entity. All this happens inside a `ConfigurationProvider`, which is in this case the `com.couchbase.client.vbucket.ConfigurationProviderHTTP`. If you want to poke around on the internals, look for `getBucketConfiguration` and `readPools` methods.&lt;br/&gt;
&lt;br/&gt;
A (successful) walk can be illustrated like this:&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;1: GET /pools&lt;br/&gt;
&amp;nbsp;&amp;nbsp;2: look for the &amp;quot;default&amp;quot; pools&lt;br/&gt;
&amp;nbsp;&amp;nbsp;3: GET /pools/default&lt;br/&gt;
&amp;nbsp;&amp;nbsp;4: look for the &amp;quot;buckets&amp;quot; hash which contains the bucket list&lt;br/&gt;
&amp;nbsp;&amp;nbsp;5: GET /pools/default/buckets&lt;br/&gt;
&amp;nbsp;&amp;nbsp;6: parse the list of buckets and extract the one provided by the application&lt;br/&gt;
&amp;nbsp;&amp;nbsp;7: GET /pools/default/buckets/&amp;lt;bucketname&amp;gt;&lt;br/&gt;
&lt;br/&gt;
Now we are at the configuration page that we need. On this JSON response, you&amp;#39;ll find all useful details that gets also be used inside the Client SDK (for example `streamingUri`, `nodes` and `vBucketServerMap`). The config gets parsed and stored. Before we move on, let&amp;#39;s quickly discuss the strange `pools` part inside our REST walk:&lt;br/&gt;
&lt;br/&gt;
The concept of a resource pool to group buckets was concepted for Couchbase Server, but never fully implemented. Still, the REST API is implemented that way and therefore all client SDKs have to deal with it. That said, while we could theoretically just go directly to `/pools/default/buckets` and skip the first few queries, the feature might come back at some time and that way the SDK is architected more future-proof.&lt;br/&gt;
&lt;br/&gt;
Back to our bootstrap phase. Now that we have a valid cluster config which contains all the nodes (and their hostnames or ip addresses), we can establish connections to them. Aside from establishing the data connections, we also need to instantiate a streaming connection to one of them. For simplicity reasons, we just establish the streaming connection to the node from the list where we got our initial configuration.&lt;br/&gt;
&lt;br/&gt;
This gets us to a valid point upfront: if you have lots of CouchbaseClient objects running on many nodes and they all get bootstrapped with the same list, they may end up connecting to the same node for the streaming connection. Therefore, to distribute the load a little better I recommend shuffling the array before it gets passed in to the CouchbaseClient object. When you only have a few CouchbaseClient objects connected to your cluster, that won&amp;#39;t be a problem at all.&lt;br/&gt;
&lt;br/&gt;
The streaming connection URI is taken from the config we got previously, and normally looks like this:&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;streamingUri: &amp;quot;/pools/default/bucketsStreaming/default?bucket_uuid=88cae4a609eea500d8ad072fe71a7290&amp;quot;&lt;br/&gt;
&lt;br/&gt;
If you point your browser to this address, you will also get the updates streamed in real-time. Since the streaming connection needs to be established all the time and potentially blocks a thread, this is done in the background handled by different threads. We are using the NIO framework [Netty]() for this task, which provides a very handy way of dealing with asynchronous operations. If you want to start digging into this part, keep in mind that all read operations are completely separate from write operations, so you need to deal with handlers that take care of what comes back from the server. Aside from some wiring needed for Netty, the business logic can be found in `com.couchbase.client.vbucket.BucketMonitor` and `com.couchbase.client.vbucket.BucketUpdateResponseHandler`. We also try to reestablish this streaming connection if the socket gets closed (for example if this node gets rebalanced out of the cluster).&lt;br/&gt;
&lt;br/&gt;
To actually shuffle data to the cluster nodes, we need to open various sockets to them. Note that there is absolutely no connection pooling needed inside the client, because we manage all sockets proactively. Aside from the special streaming connection to one of the severs (which is opened against port 801), we need to open the following connections:&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;- Memcached Socket: Port 11210&lt;br/&gt;
&amp;nbsp;- View Socket: Port 8092&lt;br/&gt;
&lt;br/&gt;
Note that port 11211 is not used inside the client SDKs, but used to connect vanilly memcached clients that are not cluster aware. Using this inherits some overhead, so the SDK will be faster in general.&lt;br/&gt;
&lt;br/&gt;
So as a rule of thumb, if you have a 10 node cluster running, one CouchbaseClient object open about 21 (2*10 + 1) client sockets. These are directly managed, so if a node gets removed or added the numbers will change accordingly.&lt;br/&gt;
&lt;br/&gt;
Now that all sockets have been opened, we are ready to perform regular cluster operations. As you can see, there is a lot of overhead involved when the CouchbaseClient object gets bootstrapped. Because of this fact, we strongly discourage you from either creating a new object on every request or running a lot of CouchbaseClient objects in one application server. This only adds unnecessary overhead and load on the application server and adds on the total sockets opened against the cluster.&lt;br/&gt;
&lt;br/&gt;
## Phase 2: Operations&lt;br/&gt;
When the SDK is bootstrapped, it allows to run operations against the attached cluster. For the purpose of this blog post, we need to distinguish between operations that get executed against a stable cluster and one that is currently experiencing some form of intability (be it planned because of adding nodes or unplanned because of a node failure). Let&amp;#39;s tackle the regular operations first.&lt;br/&gt;
&lt;br/&gt;
### Operations against a stable cluster&lt;br/&gt;
While not directly visible in the first place, inside the SDK we need to distinguish between memcached operations and View operations. All operations that have a uniqe key in their method signature can be treaded as memached operations. All of them eventually end up getting funneled through spy. View operations on the other hand are implemented completely inside the SDK itself.&lt;br/&gt;
&lt;br/&gt;
Both View and memcached operations are asynchronous. Inside spy, there is one thread (call the I/O thread) dedicated to deal with IO operations. Note that in hight-traffic environments, its not unusual that this thread is always active. It uses the non-blocking Java NIO mechanisms to deal with traffic, and loops around &amp;quot;selectors&amp;quot; that get notified when data can either be written or read. If you profile your application and you&amp;#39;ll see that this thread spends most of its time waiting on a `select` method, it means that it is idling there waiting to be notified for new traffic. The concepts used inside spy to deal with this are common Java NIO knowledge, so you may want to look into the NIO internals first before digging into that code path. Good starting points are the `net.spy.memcached.MemcachedConnection` and `net.spy.memcached.protocol.TCPMemcachedNodeImpl` classes. Note that inside the SDK, we override the `MemcachedConnection` to hook in our own reconfiguration logic. This class can be found inside the SDK at `com.couchbase.client.CouchbaseConnection` and for memcached-type buckets in `com.couchbase.client.CouchbaseMemcachedConnection`.&lt;br/&gt;
&lt;br/&gt;
So if a memcached operations (like `get()`) gets issued, it gets passed down until it reaches the IO thread. The IO thread will then put it on a write queue towards its target node. It gets written eventually and then the IO thread adds information to a read queue so the responses can be mapped accordingly. This approach is based on futures, so when the result actually arrives, the Future is marked as completed, the result gets parsed and attached as Object.&lt;br/&gt;
&lt;br/&gt;
The SDK only uses the memcached binary protocol, altough spy would also support ASCII. The binary format is much more efficient and some of the advanced operations are only implemented there.&lt;br/&gt;
&lt;br/&gt;
You may wonder how the SDK knows to which node to send the operation? Since we already have the up-to-date cluster map, we can hash the key and then based on the node list and vBucketMap determine which node to access. The vBucketMap not only contains the master node of the array, but also zero to three replica nodes. Look at this (shortened) example:&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;vBucketServerMap: {&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;hashAlgorithm: &amp;quot;CRC&amp;quot;,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;numReplicas: 1,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;serverList: [&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;quot;192.168.56.101:11210&amp;quot;,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;quot;192.168.56.102:11210&amp;quot;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;],&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;vBucketMap: [&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[0,1],&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[0,1],&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[0,1],&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[1,0],&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[1,0],&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[1,0]&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//.....&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;},&lt;br/&gt;
&lt;br/&gt;
The `serverList` contains our nodes, and the `vBucketMap` has pointers to the `serverList` array. We have 1024 vbuckets, so only some of them are shown here. You can see from looking at it that all keys that has into the first vbucket have its master node at index 0 (so the `.101` node) and its replica at index 1 (so the `.102` node). Once the cluster map changes and the vBuckets move around, we just need to update our config and know all the time where to point our operations towards.&lt;br/&gt;
&lt;br/&gt;
View operations are handled differently. Since views can&amp;#39;t be sent to a specific node (because we don&amp;#39;t have a way to hash a key or something), we round-robin between the connected nodes. The operation gets assigned to a `com.couchbase.client.ViewNode` once it has free connections and then executed. The result is also handled through futures. To implement this functionality, the SDK uses the third party Apache HTTP Commons (NIO) library.&lt;br/&gt;
&lt;br/&gt;
The whole View API hides behind port 8092 on every node and is very similar to [CouchDB](). It also contains a RESTful API, but the structure is a little bit different. For example, you can reach a design document at `/&amp;lt;bucketname&amp;gt;/_design/&amp;lt;designname&amp;gt;`. It contains the View definitions in JSON:&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;language: &amp;quot;javascript&amp;quot;,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;views: {&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;all: {&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;map: &amp;quot;function (doc) { if(doc.type == &amp;quot;city&amp;quot;) {emit([doc.continent, doc.country, doc.name], 1)}}&amp;quot;,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;reduce: &amp;quot;_sum&amp;quot;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br/&gt;
&lt;br/&gt;
You can then reach down one level further like `/&amp;lt;bucketname&amp;gt;/_design/&amp;lt;designname&amp;gt;/_view/&amp;lt;viewname&amp;gt;` to actually query it:&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&amp;quot;total_rows&amp;quot;:9,&amp;quot;rows&amp;quot;:[&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&amp;quot;id&amp;quot;:&amp;quot;city:shanghai&amp;quot;,&amp;quot;key&amp;quot;:[&amp;quot;asia&amp;quot;,&amp;quot;china&amp;quot;,&amp;quot;shanghai&amp;quot;],&amp;quot;value&amp;quot;:1},&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&amp;quot;id&amp;quot;:&amp;quot;city:tokyo&amp;quot;,&amp;quot;key&amp;quot;:[&amp;quot;asia&amp;quot;,&amp;quot;japan&amp;quot;,&amp;quot;tokyo&amp;quot;],&amp;quot;value&amp;quot;:1},&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&amp;quot;id&amp;quot;:&amp;quot;city:moscow&amp;quot;,&amp;quot;key&amp;quot;:[&amp;quot;asia&amp;quot;,&amp;quot;russia&amp;quot;,&amp;quot;moscow&amp;quot;],&amp;quot;value&amp;quot;:1},&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&amp;quot;id&amp;quot;:&amp;quot;city:vienna&amp;quot;,&amp;quot;key&amp;quot;:[&amp;quot;europe&amp;quot;,&amp;quot;austria&amp;quot;,&amp;quot;vienna&amp;quot;],&amp;quot;value&amp;quot;:1},&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&amp;quot;id&amp;quot;:&amp;quot;city:paris&amp;quot;,&amp;quot;key&amp;quot;:[&amp;quot;europe&amp;quot;,&amp;quot;france&amp;quot;,&amp;quot;paris&amp;quot;],&amp;quot;value&amp;quot;:1},&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&amp;quot;id&amp;quot;:&amp;quot;city:rome&amp;quot;,&amp;quot;key&amp;quot;:[&amp;quot;europe&amp;quot;,&amp;quot;italy&amp;quot;,&amp;quot;rome&amp;quot;],&amp;quot;value&amp;quot;:1},&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&amp;quot;id&amp;quot;:&amp;quot;city:amsterdam&amp;quot;,&amp;quot;key&amp;quot;:[&amp;quot;europe&amp;quot;,&amp;quot;netherlands&amp;quot;,&amp;quot;amsterdam&amp;quot;],&amp;quot;value&amp;quot;:1},&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&amp;quot;id&amp;quot;:&amp;quot;city:new_york&amp;quot;,&amp;quot;key&amp;quot;:[&amp;quot;north_america&amp;quot;,&amp;quot;usa&amp;quot;,&amp;quot;new_york&amp;quot;],&amp;quot;value&amp;quot;:1},&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&amp;quot;id&amp;quot;:&amp;quot;city:san_francisco&amp;quot;,&amp;quot;key&amp;quot;:[&amp;quot;north_america&amp;quot;,&amp;quot;usa&amp;quot;,&amp;quot;san_francisco&amp;quot;],&amp;quot;value&amp;quot;:1}&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;]&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br/&gt;
&lt;br/&gt;
Once the request is sent and a response gets back, it depends on the type of View request to determine on how the response gets parsed. It makes a difference, because reduced View queries look different than non-reduced. The SDK also includes support for spatial Views and they need to be handled differently as well.&lt;br/&gt;
&lt;br/&gt;
The whole View response parsing implementation can be found inside the `com.couchbase.client.protocol.views` namespace. You&amp;#39;ll find abstract classes and interfaces like `ViewResponse` in there, and then their special implementations like `ViewResponseNoDocs`, `ViewResponseWithDocs` or `ViewResponseReduced`. It also makes a different if `setIncludeDocs()` is used on the Query object, because the SDK also needs to load the full documents using the memcached protocol behind the scenes. This is also done while parsing the Views.&lt;br/&gt;
&lt;br/&gt;
Now that you have a basic understanding on how the SDK distributes its operations under stable conditions, we need to cover an important topic: how the SDK deals with cluster topology changes.&lt;br/&gt;
&lt;br/&gt;
### Operations against a unstable cluster&lt;br/&gt;
Note that there is a separate blog post upcoming dealing with all the scenarios that may come up when something goes wrong on either the cluster or the SDK, so this post deals more with the internals and what needs to be done inside the SDK.&lt;br/&gt;
&lt;br/&gt;
As mentioned earlier, the SDK receives topology updates through the streaming connection. Leaving the special case aside where this node actually gets removed or fails, all updates will come in near real-time (because in a eventually consistent architecture, it may take some time until the cluster updates get populated to that node). The chunks that come in over the stream look exactly like the ones we&amp;#39;ve seen when reading the initial configuration. After those chunks have been parsed, we need to check if the changes really affect the SDK (since there are many more parameters than the SDK needs, it won&amp;#39;t make sense to listen to all of them). All changes that affect the topology and/or vBucket map are considered as important. If nodes get added or removed (be it either through failure or planned), we need to open or close the sockets. This process is called &amp;quot;reconfiguration&amp;quot;.&lt;br/&gt;
&lt;br/&gt;
Once such a reconfiguration is triggered, lots of actions need to happen in various places (spy needs to handle its sockets, view nodes need to be managed and new configuration needs to be updated). The SDK makes sure that only one reconfiguration can happen at the same time through locks so we don&amp;#39;t have any race conditions going on.&lt;br/&gt;
&lt;br/&gt;
The Netty-based `BucketUpdateResponseHandler` triggers the `CouchbaseClient#reconfigure` method, which then starts to dispatch everything. Depending on the bucket type used (i.e. memcached type buckets don&amp;#39;t have Views and therefore no ViewNodes), configs are updated and sockets closed. Once the reconfiguration is done, it can receive new ones. During planned changes, everything should be pretty much controlled and no operations should fail. If a node is actually down and not reachable, those operations will be cancelled. Reconfiguration is tricky because the topology changes while operations are flowing through the system.&lt;br/&gt;
&lt;br/&gt;
Finally, let&amp;#39;s cover some differences between Couchbase and Memcache type buckets. All the vBucket part that you&amp;#39;ve been reading previously only applies to Couchbase buckets. Memcache buckets are pretty basic and are treated that way. Since you don&amp;#39;t have vBuckets, all tha the Client has to do is to manage the nodes and their sockets. Also, a different hashing algorithm is used (Ketama) by default to determine the target node for each key. Also, memcache buckets don&amp;#39;t have views, so you can&amp;#39;t use the View API and it doesn&amp;#39;t make much sense to keep View sockets around. So to clarify the previous statement, if you are running against a memcache bucket, for a 10 node cluster you&amp;#39;ll only have 11 open connections.&lt;br/&gt;
&lt;br/&gt;
Phase 3: Shutdown&lt;br/&gt;
-----------------&lt;br/&gt;
Once the `CouchbaseClient#shutdown()` method is called, no more operations are allowed to be added onto the `CouchbaseConnection`. Aside from that, until the timeout is reached, the client wants to make sure that all operations went through accordingly. All sockets for both memcached and View connections are shut down once there are no more operations in the queue (or they get dropped). Note tha that the `shutdown` methods on those sockets are also used when a node gets removed from the cluster during normal operations, so it&amp;#39;s basically the same, but just for all attached nodes at the same time.&lt;br/&gt;
&lt;br/&gt;
Summary&lt;br/&gt;
-------&lt;br/&gt;
After reading this blog post, you should have a much more clear picture on how the client SDK works and why its architected the way it is. We have lots of enhancements planned for future releases, mostly enhancing the direct API experience. Note that this blog post didn&amp;#39;t cover how errors are handled inside the SDK, this will be published in a separate blog post (because there is also lots of information to cover).&lt;br/&gt;
</description>
                <environment></environment>
            <key id="23714">JCBC-286</key>
            <summary>Copyedit MichaelN blog on Java SDK Internals</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="6" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="kzeller">Karen Zeller</reporter>
                        <labels>
                    </labels>
                <created>Tue, 16 Apr 2013 11:00:51 -0500</created>
                <updated>Fri, 26 Apr 2013 11:52:10 -0500</updated>
                    <resolved>Fri, 26 Apr 2013 11:52:10 -0500</resolved>
                            <version>1.1.5</version>
                                                <component>docs</component>
                                <votes>0</votes>
                        <watches>1</watches>
                                                    <comments>
                    <comment id="55168" author="kzeller" created="Tue, 16 Apr 2013 11:41:14 -0500"  >Input/Clarification-Needed/Edits:&lt;br/&gt;
&lt;br/&gt;
-remember =&amp;gt; remember&lt;br/&gt;
-admnistrative =&amp;gt; administrative&lt;br/&gt;
-we went =&amp;gt; we go&lt;br/&gt;
-Note that there is a separate blog post in the making about error handling, so we won&amp;#39;t cover that here in greater detail. =&amp;gt; link to it from this blog, or if it does not yet exist, say it will be coming in x timeframe.&lt;br/&gt;
-The first node in the list that can be contacted on port 8091 is used to walk the RESTful interface on the server. =&amp;gt; you might want to add that one you create the connection, the client can automatically handle node failure and adapt by going to another node in the cluster.&lt;br/&gt;
-Now we are at the configuration page that we need =&amp;gt; at the REST endpoint we need.&lt;br/&gt;
-that gets also be used =&amp;gt; that you can also use from &lt;br/&gt;
-concepted =&amp;gt; designed&lt;br/&gt;
-but never fully implemented. Still, the REST API is implemented that way and therefore all client SDKs have to deal with it. =&amp;gt; Product Marketing/PM probably wants us to put a positive spin on this. Suggestion =&amp;gt; and is still in the process of being implemented, therefore the SDKs provide an abstraction layer so that you as  a developer do not have to worry about it.&lt;br/&gt;
-the feature might come back at some time. Same point as prior. Suggestion =&amp;gt; the API is subject to change so&#8230;.&lt;br/&gt;
-This gets us to a valid point upfront: =&amp;gt; This gets us to an important point to keep in mind&#8230;.&lt;br/&gt;
-they may end up connecting to the same node for the streaming connection =&amp;gt; describe problem that can occur here&lt;br/&gt;
-the updates streamed =&amp;gt; the cluster topology updates streamed&lt;br/&gt;
-(which is opened against port 801) =&amp;gt; default is 8091&lt;br/&gt;
-vanilly memcached clients (bad association: didn&amp;#39;t that guy try to kill himself for lip synching?) =&amp;gt; generic memcached clients &lt;br/&gt;
-that are not cluster aware. =&amp;gt; Add &amp;quot;This means that these generic clients do not get updated cluster topologies.&amp;quot;&lt;br/&gt;
-adds on the total sockets =&amp;gt; adds the total sockets  &#8230; resulting in a performance problem&#8230;.&lt;br/&gt;
-it allows to run =&amp;gt; it enables your application to run&lt;br/&gt;
-and one =&amp;gt; and operations on a cluster that&#8230;.&lt;br/&gt;
-intability =&amp;gt; instability&lt;br/&gt;
-uniqe =&amp;gt; unique&lt;br/&gt;
-memached -&amp;gt; memcached&lt;br/&gt;
-hight=&amp;gt; high-traffic&lt;br/&gt;
-and you&amp;#39;ll see =&amp;gt; you&amp;#39;ll see&lt;br/&gt;
-its =&amp;gt; it&amp;#39;s&lt;br/&gt;
-you may want to look into the NIO internals first =&amp;gt; cross reference to good third party info you can recommend on topic&lt;br/&gt;
-altough =&amp;gt; although&lt;br/&gt;
-to which node =&amp;gt; where&lt;br/&gt;
-The vBucketMap not only contains the master node of the array, but also zero to three replica nodes =&amp;gt; change to information for master node, but also the information for zero to three&#8230;.&lt;br/&gt;
-vbuckets =&amp;gt; vBuckets&lt;br/&gt;
-## Phase 2: Operations =&amp;gt; would break this section and the one sub-subsection into just two at the same header level: 1) Read/Writes Ops on Stable Cluster, 2) View Ops on Stable Cluster. Same approach for unstable cluster sections.&lt;br/&gt;
-The whole View response parsing implementation can be found inside the `com.couchbase.client.protocol.views` namespace. =&amp;gt; cross-reference that part of your Javadoc&lt;br/&gt;
-or the SDK, so =&amp;gt; SDK. So&lt;br/&gt;
-(because =&amp;gt; . This is because + remove )&lt;br/&gt;
-(spy needs =&amp;gt; convert into regular sentence&lt;br/&gt;
-and not reachable, =&amp;gt; and cannot be reached&lt;br/&gt;
-All the vBucket part =&amp;gt; replace part with information&lt;br/&gt;
-Memcache buckets are pretty basic and are treated that way. =&amp;gt; &#8230;.do not have vBucket and behave like a single container for cached data&#8230;..&lt;br/&gt;
-Aside from that, until the timeout is reached, =&amp;gt; Until the timeout is reached,&lt;br/&gt;
-tha that =&amp;gt; that&lt;br/&gt;
-its architected the way it is =&amp;gt; it is designed&#8230;.&lt;br/&gt;
-Note that this blog post didn&amp;#39;t cover how errors are handled inside the SDK, this will be published in a separate blog post (because there is also lots of information to cover). =&amp;gt; Note that this blog post didn&amp;#39;t cover how errors are handled inside the SDK; this will be published in a separate blog post because there is also lots of information to cover.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>10695</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-280] Provision for auth failure in case of calling createBucket in the same txn twice and adding updateBucket functionality</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-280</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>There are three ways using which we are creating connection in the java client to the server.&lt;br/&gt;
&lt;br/&gt;
1) ClusterManager&lt;br/&gt;
2) BucketTool&lt;br/&gt;
&lt;br/&gt;
Both of these classes internally call the ClusterManager.createBucket for creation of the bucket.&lt;br/&gt;
&lt;br/&gt;
Now if I am using all the three instances of the above classes in a single function, the bucket information is overridden without any checks. Ideally using any of the connection classes if I have created a SASL bucket with some information like bucket name = &amp;#39;SaslBucket&amp;#39;, bucket password = &amp;#39;password&amp;#39;, I should not be allowed to change the password using instance of another class. There should be auth failure error being returned the second time client tries to connect to the same bucket. Server supports this because there is an Edit Bucket functionality at the server for the same. &lt;br/&gt;
&lt;br/&gt;
There should be a means of distinction in the request that we want to create the bucket or update.&lt;br/&gt;
In case of bucket creation duplicity should be checked where as in case of update this should be allowed as is.&lt;br/&gt;
&lt;br/&gt;
Also, the expectation is that, the user might update the bucket information if he requires to change the password or other details, by explicitly calling updateBucket method which is currently not available. </description>
                <environment></environment>
            <key id="23533">JCBC-280</key>
            <summary>Provision for auth failure in case of calling createBucket in the same txn twice and adding updateBucket functionality</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="2" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/critical.png">Critical</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="deeptida">Deepti Dawar</assignee>
                                <reporter username="deeptida">Deepti Dawar</reporter>
                        <labels>
                    </labels>
                <created>Thu, 4 Apr 2013 08:03:02 -0500</created>
                <updated>Fri, 26 Apr 2013 05:21:11 -0500</updated>
                                                                                    <votes>0</votes>
                        <watches>2</watches>
                                                    <comments>
                    <comment id="54273" author="deeptida" created="Fri, 5 Apr 2013 01:51:57 -0500"  >Alright.&lt;br/&gt;
&lt;br/&gt;
Consider the following piece of code :&lt;br/&gt;
&lt;br/&gt;
public void testCreateSaslBktBadPswd() throws Exception {&lt;br/&gt;
	  manager.createNamedBucket(BucketType.COUCHBASE, &amp;quot;bucket1&amp;quot;, 100, 0,&lt;br/&gt;
		        &amp;quot;password&amp;quot;, false);&lt;br/&gt;
	  List&amp;lt;URI&amp;gt; uris = new LinkedList&amp;lt;URI&amp;gt;();&lt;br/&gt;
	    uris.add(URI.create(&amp;quot;http://&amp;quot;&lt;br/&gt;
	      + TestConfig.IPV4_ADDR + &amp;quot;:8091/pools&amp;quot;));&lt;br/&gt;
	  new CouchbaseConnectionFactory(uris, &amp;quot;bucket1&amp;quot;, &amp;quot;password12&amp;quot;);&lt;br/&gt;
	  new CouchbaseClient(uris, &amp;quot;bucket1&amp;quot;, &amp;quot;password123&amp;quot;);&lt;br/&gt;
	  BucketTool bt = new BucketTool();&lt;br/&gt;
	  bt.createSaslBucket(&amp;quot;bucket1&amp;quot;, BucketType.COUCHBASE, 1, 2, true);&lt;br/&gt;
&amp;nbsp;&amp;nbsp;}&lt;br/&gt;
&lt;br/&gt;
Here, using cluster manager instance, we create a SASL bucket i.e. bucket1 with password as password.&lt;br/&gt;
Next you would see the usage of CouchbaseConnectionFactory instance which is trying to manipulate the same bucket, bucket1. It overrides the password to password12. Here it internally calls createBucket again without checking whether such a bucket already exists or not.&lt;br/&gt;
Another attempt is made to connect using the CouchbaseClient instance. The bucket password is again changed.&lt;br/&gt;
Similarly, the bucket tool instance also does the same.&lt;br/&gt;
&lt;br/&gt;
Instead, there should be auth failure error being returned the second time client tries to connect to the same bucket.&lt;br/&gt;
Also, the expectation is that, the user might update the bucket information if he requires to change the password or other details, by explicitly calling updateBucket method which is currently not available.</comment>
                    <comment id="56022" author="daschl" created="Wed, 24 Apr 2013 07:42:59 -0500"  >Is this still an issue?&lt;br/&gt;
</comment>
                    <comment id="56176" author="deeptida" created="Thu, 25 Apr 2013 02:17:20 -0500"  >You mean there has been a fix entered for this ?</comment>
                    <comment id="56180" author="daschl" created="Thu, 25 Apr 2013 02:23:55 -0500"  >No, because I think the ticket is somewhat misleading. The Factory and the Client have nothing to do with Bucket creation.&lt;br/&gt;
&lt;br/&gt;
The Manager should be used for clients and the bucket tool is an internal tool used in our testing environment. I still don&amp;#39;t get whats the problem here? Just pick one of these depending on the thing you want to do.</comment>
                    <comment id="56182" author="deeptida" created="Thu, 25 Apr 2013 02:34:03 -0500"  >The problem here is that, lets say there are two users - User 1 and User 2.&lt;br/&gt;
User 1 created the instance using CouchbaseConnectionFactory and provided a password to the default bucket as &amp;#39;password&amp;#39;&lt;br/&gt;
User 2 created the instance using CouchbaseClient and provided a password as &amp;#39;password2&amp;#39;&lt;br/&gt;
&lt;br/&gt;
As both internally go and create the bucket, don&amp;#39;t you think the two users are overriding each other&amp;#39;s bucket information ?&lt;br/&gt;
Shouldn&amp;#39;t the second user be returned an auth failure for the same ?</comment>
                    <comment id="56184" author="daschl" created="Thu, 25 Apr 2013 02:39:33 -0500"  >Hi Deepti,&lt;br/&gt;
&lt;br/&gt;
I&amp;#39;m not sure I can follow you. Neither CouchbaseConnectionFactory nor the CouchbaseClient class creates a bucket by any means. The user has to explicitly use the Manager to create a bucket! And the BucketTool uses the Manager underneath as well, it just provides some convenience methods.&lt;br/&gt;
</comment>
                    <comment id="56189" author="deeptida" created="Thu, 25 Apr 2013 03:59:05 -0500"  >Ok.&lt;br/&gt;
&lt;br/&gt;
I see that the conflict is between -&lt;br/&gt;
&lt;br/&gt;
manager.createNamedBucket&lt;br/&gt;
bucketTool.createSaslBucket&lt;br/&gt;
&lt;br/&gt;
both of which call the same createBucket method.</comment>
                    <comment id="56190" author="daschl" created="Thu, 25 Apr 2013 04:02:27 -0500"  >Ok so now that we pinned that down.&lt;br/&gt;
&lt;br/&gt;
Can you please&lt;br/&gt;
&lt;br/&gt;
1) clarify whats the issue between those methods and what needs to be fixed&lt;br/&gt;
2) update the title and description of the ticket to reflect those changes?&lt;br/&gt;
&lt;br/&gt;
Thanks!</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>10373</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-292] Missing documentation about delete method with durability option</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-292</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>The Delete chapter of the documentation does not mention the methods with durability parameter (persistedto and replicatedto)&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/couchbase-sdk-java-update-delete.html#table-couchbase-sdk_java_delete&quot;&gt;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/couchbase-sdk-java-update-delete.html#table-couchbase-sdk_java_delete&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
We need to put the same type of content that the one used for the store operation:&lt;br/&gt;
&lt;a href=&quot;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/couchbase-sdk-java-set-durability.html&quot;&gt;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/couchbase-sdk-java-set-durability.html&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
may be &amp;quot;join/merge&amp;quot; the store and delete?</description>
                <environment></environment>
            <key id="23918">JCBC-292</key>
            <summary>Missing documentation about delete method with durability option</summary>
                <type id="3" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/task.png">Task</type>
                                <priority id="5" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/trivial.png">Trivial</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="tgrall">Tug Grall</reporter>
                        <labels>
                    </labels>
                <created>Thu, 25 Apr 2013 07:29:05 -0500</created>
                <updated>Thu, 25 Apr 2013 07:29:05 -0500</updated>
                                    <version>1.1.5</version>
                                                <component>docs</component>
                                <votes>0</votes>
                        <watches>1</watches>
                                                            <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>10842</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-290] Support for publishing view from dev to prod</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-290</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description></description>
                <environment></environment>
            <key id="23863">JCBC-290</key>
            <summary>Support for publishing view from dev to prod</summary>
                <type id="3" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/task.png">Task</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="perry">Perry Krug</reporter>
                        <labels>
                    </labels>
                <created>Mon, 22 Apr 2013 10:21:31 -0500</created>
                <updated>Mon, 22 Apr 2013 12:18:50 -0500</updated>
                                    <version>1.1.5</version>
                                                <component>docs</component>
                                <votes>0</votes>
                        <watches>2</watches>
                                                    <comments>
                    <comment id="55752" author="ingenthr" created="Mon, 22 Apr 2013 12:18:50 -0500"  >&amp;quot;publishing&amp;quot; isn&amp;#39;t a real action, it&amp;#39;s just moving the same design document in under a different name.  This should definitely be done, but as documentation about how to go from development to published.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>10774</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-289] Document manipulation of the designdoc/view interface</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-289</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>The library already supports programmatic creation of design docs and views, need to supply documentation around it.  </description>
                <environment></environment>
            <key id="23862">JCBC-289</key>
            <summary>Document manipulation of the designdoc/view interface</summary>
                <type id="3" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/task.png">Task</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="perry">Perry Krug</reporter>
                        <labels>
                    </labels>
                <created>Mon, 22 Apr 2013 10:21:16 -0500</created>
                <updated>Mon, 22 Apr 2013 10:21:16 -0500</updated>
                                    <version>1.1.5</version>
                                                <component>docs</component>
                                <votes>0</votes>
                        <watches>1</watches>
                                                            <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>10773</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-285] Memcached connection disconnects in case of single node server instance.</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-285</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>When I tried to establish a Memcached Connection with a single node server - either 1.8.1 or 2.0.1, following errors were received :&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
2013-04-16 18:27:01.247 INFO net.spy.memcached.MemcachedConnection:  Added {QA sa=/127.0.0.1:11211, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0} to connect queue&lt;br/&gt;
Created a MemcachedClient with port 11211&lt;br/&gt;
2013-04-16 18:27:01.251 INFO net.spy.memcached.MemcachedConnection:  Connection state changed for &lt;a href=&apos;mailto:sun.nio.ch.SelectionKeyImpl@1ffb3754&apos;&gt;sun.nio.ch.SelectionKeyImpl@1ffb3754&lt;/a&gt;&lt;br/&gt;
2013-04-16 18:27:01.263 WARN net.spy.memcached.MemcachedConnection:  Could not redistribute to another node, retrying primary node for Emp0000000001cbc.&lt;br/&gt;
2013-04-16 18:27:01.266 INFO net.spy.memcached.MemcachedConnection:  Reconnecting due to exception on {QA sa=/127.0.0.1:11211, #Rops=2, #Wops=0, #iq=0, topRop=Cmd: version, topWop=null, toWrite=0, interested=8}&lt;br/&gt;
java.io.IOException: Disconnected unexpected, will reconnect.&lt;br/&gt;
	at net.spy.memcached.MemcachedConnection.handleReads(MemcachedConnection.java:526)&lt;br/&gt;
	at net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:430)&lt;br/&gt;
	at net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:247)&lt;br/&gt;
	at net.spy.memcached.MemcachedConnection.run(MemcachedConnection.java:915)&lt;br/&gt;
2013-04-16 18:27:01.267 WARN net.spy.memcached.MemcachedConnection:  Closing, and reopening {QA sa=/127.0.0.1:11211, #Rops=2, #Wops=0, #iq=0, topRop=Cmd: version, topWop=null, toWrite=0, interested=8}, attempt 1.&lt;br/&gt;
2013-04-16 18:27:01.268 WARN net.spy.memcached.protocol.ascii.AsciiMemcachedNodeImpl:  Discarding partially completed op: Cmd: version&lt;br/&gt;
2013-04-16 18:27:01.268 WARN net.spy.memcached.protocol.ascii.AsciiMemcachedNodeImpl:  Discarding partially completed op: Cmd: add Key: Emp0000000001cbc Flags: 0 Exp: 0 Data Length: 52&lt;br/&gt;
&amp;nbsp;Deepti Exception 1 java.util.concurrent.ExecutionException: java.util.concurrent.CancellationException: Cancelled&lt;br/&gt;
2013-04-16 18:27:01.269 WARN net.spy.memcached.MemcachedConnection:  Could not redistribute to another node, retrying primary node for Emp0000000002cbc.&lt;br/&gt;
&amp;nbsp;Deepti Exception 1 java.lang.RuntimeException: Timed out waiting for operation&lt;br/&gt;
2013-04-16 18:27:03.772 WARN net.spy.memcached.MemcachedConnection:  Could not redistribute to another node, retrying primary node for Emp0000000003cbc.&lt;br/&gt;
2013-04-16 18:27:05.271 INFO net.spy.memcached.MemcachedConnection:  Reconnecting {QA sa=/127.0.0.1:11211, #Rops=0, #Wops=2, #iq=0, topRop=null, topWop=Cmd: add Key: Emp0000000002cbc Flags: 0 Exp: 0 Data Length: 52, toWrite=0, interested=0}&lt;br/&gt;
2013-04-16 18:27:05.273 INFO net.spy.memcached.MemcachedConnection:  Connection state changed for &lt;a href=&apos;mailto:sun.nio.ch.SelectionKeyImpl@30b42a7e&apos;&gt;sun.nio.ch.SelectionKeyImpl@30b42a7e&lt;/a&gt;&lt;br/&gt;
2013-04-16 18:27:05.275 INFO net.spy.memcached.MemcachedConnection:  Reconnecting due to exception on {QA sa=/127.0.0.1:11211, #Rops=2, #Wops=0, #iq=0, topRop=Cmd: add Key: Emp0000000003cbc Flags: 0 Exp: 0 Data Length: 52, topWop=null, toWrite=0, interested=8}&lt;br/&gt;
java.io.IOException: Disconnected unexpected, will reconnect.&lt;br/&gt;
	at net.spy.memcached.MemcachedConnection.handleReads(MemcachedConnection.java:526)&lt;br/&gt;
	at net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:430)&lt;br/&gt;
	at net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:247)&lt;br/&gt;
	at net.spy.memcached.MemcachedConnection.run(MemcachedConnection.java:915)&lt;br/&gt;
2013-04-16 18:27:05.278 WARN net.spy.memcached.MemcachedConnection:  Closing, and reopening {QA sa=/127.0.0.1:11211, #Rops=2, #Wops=0, #iq=0, topRop=Cmd: add Key: Emp0000000003cbc Flags: 0 Exp: 0 Data Length: 52, topWop=null, toWrite=0, interested=8}, attempt 2.&lt;br/&gt;
2013-04-16 18:27:05.279 WARN net.spy.memcached.protocol.ascii.AsciiMemcachedNodeImpl:  Discarding partially completed op: Cmd: add Key: Emp0000000003cbc Flags: 0 Exp: 0 Data Length: 52&lt;br/&gt;
&amp;nbsp;Deepti Exception 1 java.util.concurrent.ExecutionException: java.util.concurrent.CancellationException: Cancelled&lt;br/&gt;
2013-04-16 18:27:05.281 WARN net.spy.memcached.protocol.ascii.AsciiMemcachedNodeImpl:  Discarding partially completed op: Cmd: version&lt;br/&gt;
2013-04-16 18:27:05.281 WARN net.spy.memcached.MemcachedConnection:  Could not redistribute to another node, retrying primary node for Emp0000000004cbc.&lt;br/&gt;
&amp;nbsp;Deepti Exception 1 java.lang.RuntimeException: Timed out waiting for operation&lt;br/&gt;
2013-04-16 18:27:07.783 WARN net.spy.memcached.MemcachedConnection:  Could not redistribute to another node, retrying primary node for Emp0000000005cbc.&lt;br/&gt;
&amp;nbsp;Deepti Exception 1 java.lang.RuntimeException: Timed out waiting for operation&lt;br/&gt;
2013-04-16 18:27:10.286 WARN net.spy.memcached.MemcachedConnection:  Could not redistribute to another node, retrying primary node for Emp0000000006cbc.&lt;br/&gt;
&amp;nbsp;Deepti Exception 1 java.lang.RuntimeException: Timed out waiting for operation&lt;br/&gt;
2013-04-16 18:27:12.788 WARN net.spy.memcached.MemcachedConnection:  Could not redistribute to another node, retrying primary node for Emp0000000007cbc.&lt;br/&gt;
2013-04-16 18:27:13.281 INFO net.spy.memcached.MemcachedConnection:  Reconnecting {QA sa=/127.0.0.1:11211, #Rops=0, #Wops=4, #iq=0, topRop=null, topWop=Cmd: add Key: Emp0000000004cbc Flags: 0 Exp: 0 Data Length: 52, toWrite=0, interested=0}&lt;br/&gt;
2013-04-16 18:27:13.283 INFO net.spy.memcached.MemcachedConnection:  Connection state changed for &lt;a href=&apos;mailto:sun.nio.ch.SelectionKeyImpl@1a23b006&apos;&gt;sun.nio.ch.SelectionKeyImpl@1a23b006&lt;/a&gt;&lt;br/&gt;
2013-04-16 18:27:13.286 INFO net.spy.memcached.MemcachedConnection:  Reconnecting due to exception on {QA sa=/127.0.0.1:11211, #Rops=2, #Wops=0, #iq=0, topRop=Cmd: add Key: Emp0000000007cbc Flags: 0 Exp: 0 Data Length: 52, topWop=null, toWrite=0, interested=8}&lt;br/&gt;
java.io.IOException: Disconnected unexpected, will reconnect.&lt;br/&gt;
	at net.spy.memcached.MemcachedConnection.handleReads(MemcachedConnection.java:526)&lt;br/&gt;
	at net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:430)&lt;br/&gt;
	at net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:247)&lt;br/&gt;
	at net.spy.memcached.MemcachedConnection.run(MemcachedConnection.java:915)&lt;br/&gt;
2013-04-16 18:27:13.289 WARN net.spy.memcached.MemcachedConnection:  Closing, and reopening {QA sa=/127.0.0.1:11211, #Rops=2, #Wops=0, #iq=0, topRop=Cmd: add Key: Emp0000000007cbc Flags: 0 Exp: 0 Data Length: 52, topWop=null, toWrite=0, interested=8}, attempt 3.&lt;br/&gt;
2013-04-16 18:27:13.291 WARN net.spy.memcached.protocol.ascii.AsciiMemcachedNodeImpl:  Discarding partially completed op: Cmd: add Key: Emp0000000007cbc Flags: 0 Exp: 0 Data Length: 52&lt;br/&gt;
&amp;nbsp;Deepti Exception 1 java.util.concurrent.ExecutionException: java.util.concurrent.CancellationException: Cancelled&lt;br/&gt;
2013-04-16 18:27:13.292 WARN net.spy.memcached.protocol.ascii.AsciiMemcachedNodeImpl:  Discarding partially completed op: Cmd: version&lt;br/&gt;
2013-04-16 18:27:13.293 WARN net.spy.memcached.MemcachedConnection:  Could not redistribute to another node, retrying primary node for Emp0000000008cbc.&lt;br/&gt;
&amp;nbsp;Deepti Exception 1 java.lang.RuntimeException: Timed out waiting for operation&lt;br/&gt;
2013-04-16 18:27:15.796 WARN net.spy.memcached.MemcachedConnection:  Could not redistribute to another node, retrying primary node for Emp0000000009cbc.&lt;br/&gt;
&amp;nbsp;Deepti Exception 1 java.lang.RuntimeException: Timed out waiting for operation&lt;br/&gt;
2013-04-16 18:27:18.298 WARN net.spy.memcached.MemcachedConnection:  Could not redistribute to another node, retrying primary node for Emp0000000010cbc.&lt;br/&gt;
&amp;nbsp;Deepti Exception 1 java.lang.RuntimeException: Timed out waiting for operation&lt;br/&gt;
2013-04-16 18:27:29.302 INFO net.spy.memcached.MemcachedConnection:  Reconnecting {QA sa=/127.0.0.1:11211, #Rops=0, #Wops=3, #iq=0, topRop=null, topWop=Cmd: add Key: Emp0000000008cbc Flags: 0 Exp: 0 Data Length: 52, toWrite=0, interested=0}&lt;br/&gt;
2013-04-16 18:27:29.304 INFO net.spy.memcached.MemcachedConnection:  Connection state changed for &lt;a href=&apos;mailto:sun.nio.ch.SelectionKeyImpl@3bb59c1b&apos;&gt;sun.nio.ch.SelectionKeyImpl@3bb59c1b&lt;/a&gt;&lt;br/&gt;
2013-04-16 18:27:29.306 INFO net.spy.memcached.MemcachedConnection:  Reconnecting due to exception on {QA sa=/127.0.0.1:11211, #Rops=1, #Wops=0, #iq=0, topRop=Cmd: version, topWop=null, toWrite=0, interested=8}&lt;br/&gt;
java.io.IOException: Disconnected unexpected, will reconnect.&lt;br/&gt;
	at net.spy.memcached.MemcachedConnection.handleReads(MemcachedConnection.java:526)&lt;br/&gt;
	at net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:430)&lt;br/&gt;
	at net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:247)&lt;br/&gt;
	at net.spy.memcached.MemcachedConnection.run(MemcachedConnection.java:915)&lt;br/&gt;
2013-04-16 18:27:29.306 WARN net.spy.memcached.MemcachedConnection:  Closing, and reopening {QA sa=/127.0.0.1:11211, #Rops=1, #Wops=0, #iq=0, topRop=Cmd: version, topWop=null, toWrite=0, interested=8}, attempt 4.&lt;br/&gt;
2013-04-16 18:27:29.307 WARN net.spy.memcached.protocol.ascii.AsciiMemcachedNodeImpl:  Discarding partially completed op: Cmd: version&lt;br/&gt;
2013-04-16 18:27:59.338 INFO net.spy.memcached.MemcachedConnection:  Reconnecting {QA sa=/127.0.0.1:11211, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0}&lt;br/&gt;
2013-04-16 18:27:59.340 INFO net.spy.memcached.MemcachedConnection:  Connection state changed for &lt;a href=&apos;mailto:sun.nio.ch.SelectionKeyImpl@7685dfcf&apos;&gt;sun.nio.ch.SelectionKeyImpl@7685dfcf&lt;/a&gt;&lt;br/&gt;
2013-04-16 18:27:59.342 INFO net.spy.memcached.MemcachedConnection:  Reconnecting due to exception on {QA sa=/127.0.0.1:11211, #Rops=1, #Wops=0, #iq=0, topRop=Cmd: version, topWop=null, toWrite=0, interested=8}&lt;br/&gt;
java.io.IOException: Disconnected unexpected, will reconnect.&lt;br/&gt;
	at net.spy.memcached.MemcachedConnection.handleReads(MemcachedConnection.java:526)&lt;br/&gt;
	at net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:430)&lt;br/&gt;
	at net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:247)&lt;br/&gt;
	at net.spy.memcached.MemcachedConnection.run(MemcachedConnection.java:915)&lt;br/&gt;
2013-04-16 18:27:59.344 WARN net.spy.memcached.MemcachedConnection:  Closing, and reopening {QA sa=/127.0.0.1:11211, #Rops=1, #Wops=0, #iq=0, topRop=Cmd: version, topWop=null, toWrite=0, interested=8}, attempt 5.&lt;br/&gt;
2013-04-16 18:27:59.346 WARN net.spy.memcached.protocol.ascii.AsciiMemcachedNodeImpl:  Discarding partially completed op: Cmd: version&lt;br/&gt;
2013-04-16 18:28:29.376 INFO net.spy.memcached.MemcachedConnection:  Reconnecting {QA sa=/127.0.0.1:11211, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0}&lt;br/&gt;
2013-04-16 18:28:29.378 INFO net.spy.memcached.MemcachedConnection:  Connection state changed for &lt;a href=&apos;mailto:sun.nio.ch.SelectionKeyImpl@606145c5&apos;&gt;sun.nio.ch.SelectionKeyImpl@606145c5&lt;/a&gt;&lt;br/&gt;
2013-04-16 18:28:29.380 INFO net.spy.memcached.MemcachedConnection:  Reconnecting due to exception on {QA sa=/127.0.0.1:11211, #Rops=1, #Wops=0, #iq=0, topRop=Cmd: version, topWop=null, toWrite=0, interested=8}&lt;br/&gt;
java.io.IOException: Disconnected unexpected, will reconnect.&lt;br/&gt;
	at net.spy.memcached.MemcachedConnection.handleReads(MemcachedConnection.java:526)&lt;br/&gt;
	at net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:430)&lt;br/&gt;
	at net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:247)&lt;br/&gt;
	at net.spy.memcached.MemcachedConnection.run(MemcachedConnection.java:915)&lt;br/&gt;
2013-04-16 18:28:29.382 WARN net.spy.memcached.MemcachedConnection:  Closing, and reopening {QA sa=/127.0.0.1:11211, #Rops=1, #Wops=0, #iq=0, topRop=Cmd: version, topWop=null, toWrite=0, interested=8}, attempt 6.&lt;br/&gt;
2013-04-16 18:28:29.384 WARN net.spy.memcached.protocol.ascii.AsciiMemcachedNodeImpl:  Discarding partially completed op: Cmd: version&lt;br/&gt;
2013-04-16 18:28:59.414 INFO net.spy.memcached.MemcachedConnection:  Reconnecting {QA sa=/127.0.0.1:11211, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0}&lt;br/&gt;
2013-04-16 18:28:59.416 INFO net.spy.memcached.MemcachedConnection:  Connection state changed for &lt;a href=&apos;mailto:sun.nio.ch.SelectionKeyImpl@15fac189&apos;&gt;sun.nio.ch.SelectionKeyImpl@15fac189&lt;/a&gt;&lt;br/&gt;
2013-04-16 18:28:59.417 INFO net.spy.memcached.MemcachedConnection:  Reconnecting due to exception on {QA sa=/127.0.0.1:11211, #Rops=1, #Wops=0, #iq=0, topRop=Cmd: version, topWop=null, toWrite=0, interested=8}&lt;br/&gt;
java.io.IOException: Disconnected unexpected, will reconnect.&lt;br/&gt;
	at net.spy.memcached.MemcachedConnection.handleReads(MemcachedConnection.java:526)&lt;br/&gt;
	at net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:430)&lt;br/&gt;
	at net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:247)&lt;br/&gt;
	at net.spy.memcached.MemcachedConnection.run(MemcachedConnection.java:915)&lt;br/&gt;
2013-04-16 18:28:59.419 WARN net.spy.memcached.MemcachedConnection:  Closing, and reopening {QA sa=/127.0.0.1:11211, #Rops=1, #Wops=0, #iq=0, topRop=Cmd: version, topWop=null, toWrite=0, interested=8}, attempt 7.&lt;br/&gt;
2013-04-16 18:28:59.420 WARN net.spy.memcached.protocol.ascii.AsciiMemcachedNodeImpl:  Discarding partially completed op: Cmd: version&lt;br/&gt;
2013-04-16 18:29:29.451 INFO net.spy.memcached.MemcachedConnection:  Reconnecting {QA sa=/127.0.0.1:11211, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0}&lt;br/&gt;
2013-04-16 18:29:29.453 INFO net.spy.memcached.MemcachedConnection:  Connection state changed for &lt;a href=&apos;mailto:sun.nio.ch.SelectionKeyImpl@6520b476&apos;&gt;sun.nio.ch.SelectionKeyImpl@6520b476&lt;/a&gt;&lt;br/&gt;
2013-04-16 18:29:29.454 INFO net.spy.memcached.MemcachedConnection:  Reconnecting due to exception on {QA sa=/127.0.0.1:11211, #Rops=1, #Wops=0, #iq=0, topRop=Cmd: version, topWop=null, toWrite=0, interested=8}&lt;br/&gt;
java.io.IOException: Disconnected unexpected, will reconnect.&lt;br/&gt;
	at net.spy.memcached.MemcachedConnection.handleReads(MemcachedConnection.java:526)&lt;br/&gt;
	at net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:430)&lt;br/&gt;
	at net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:247)&lt;br/&gt;
	at net.spy.memcached.MemcachedConnection.run(MemcachedConnection.java:915)&lt;br/&gt;
2013-04-16 18:29:29.456 WARN net.spy.memcached.MemcachedConnection:  Closing, and reopening {QA sa=/127.0.0.1:11211, #Rops=1, #Wops=0, #iq=0, topRop=Cmd: version, topWop=null, toWrite=0, interested=8}, attempt 8.&lt;br/&gt;
2013-04-16 18:29:29.457 WARN net.spy.memcached.protocol.ascii.AsciiMemcachedNodeImpl:  Discarding partially completed op: Cmd: version&lt;br/&gt;
2013-04-16 18:29:59.485 INFO net.spy.memcached.MemcachedConnection:  Reconnecting {QA sa=/127.0.0.1:11211, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0}&lt;br/&gt;
2013-04-16 18:29:59.487 INFO net.spy.memcached.MemcachedConnection:  Connection state changed for &lt;a href=&apos;mailto:sun.nio.ch.SelectionKeyImpl@3ebbe4b0&apos;&gt;sun.nio.ch.SelectionKeyImpl@3ebbe4b0&lt;/a&gt;&lt;br/&gt;
2013-04-16 18:29:59.488 INFO net.spy.memcached.MemcachedConnection:  Reconnecting due to exception on {QA sa=/127.0.0.1:11211, #Rops=1, #Wops=0, #iq=0, topRop=Cmd: version, topWop=null, toWrite=0, interested=8}&lt;br/&gt;
java.io.IOException: Disconnected unexpected, will reconnect.&lt;br/&gt;
	at net.spy.memcached.MemcachedConnection.handleReads(MemcachedConnection.java:526)&lt;br/&gt;
	at net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:430)&lt;br/&gt;
	at net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:247)&lt;br/&gt;
	at net.spy.memcached.MemcachedConnection.run(MemcachedConnection.java:915)&lt;br/&gt;
2013-04-16 18:29:59.490 WARN net.spy.memcached.MemcachedConnection:  Closing, and reopening {QA sa=/127.0.0.1:11211, #Rops=1, #Wops=0, #iq=0, topRop=Cmd: version, topWop=null, toWrite=0, interested=8}, attempt 9.&lt;br/&gt;
2013-04-16 18:29:59.491 WARN net.spy.memcached.protocol.ascii.AsciiMemcachedNodeImpl:  Discarding partially completed op: Cmd: version&lt;br/&gt;
2013-04-16 18:30:29.521 INFO net.spy.memcached.MemcachedConnection:  Reconnecting {QA sa=/127.0.0.1:11211, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0}&lt;br/&gt;
2013-04-16 18:30:29.523 INFO net.spy.memcached.MemcachedConnection:  Connection state changed for &lt;a href=&apos;mailto:sun.nio.ch.SelectionKeyImpl@14220a0c&apos;&gt;sun.nio.ch.SelectionKeyImpl@14220a0c&lt;/a&gt;&lt;br/&gt;
2013-04-16 18:30:29.524 INFO net.spy.memcached.MemcachedConnection:  Reconnecting due to exception on {QA sa=/127.0.0.1:11211, #Rops=1, #Wops=0, #iq=0, topRop=Cmd: version, topWop=null, toWrite=0, interested=8}&lt;br/&gt;
java.io.IOException: Disconnected unexpected, will reconnect.&lt;br/&gt;
	at net.spy.memcached.MemcachedConnection.handleReads(MemcachedConnection.java:526)&lt;br/&gt;
	at net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:430)&lt;br/&gt;
	at net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:247)&lt;br/&gt;
	at net.spy.memcached.MemcachedConnection.run(MemcachedConnection.java:915)&lt;br/&gt;
2013-04-16 18:30:29.526 WARN net.spy.memcached.MemcachedConnection:  Closing, and reopening {QA sa=/127.0.0.1:11211, #Rops=1, #Wops=0, #iq=0, topRop=Cmd: version, topWop=null, toWrite=0, interested=8}, attempt 10.&lt;br/&gt;
2013-04-16 18:30:29.527 WARN net.spy.memcached.protocol.ascii.AsciiMemcachedNodeImpl:  Discarding partially completed op: Cmd: version&lt;br/&gt;
2013-04-16 18:30:59.557 INFO net.spy.memcached.MemcachedConnection:  Reconnecting {QA sa=/127.0.0.1:11211, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0}&lt;br/&gt;
2013-04-16 18:30:59.559 INFO net.spy.memcached.MemcachedConnection:  Connection state changed for &lt;a href=&apos;mailto:sun.nio.ch.SelectionKeyImpl@2d64ff8f&apos;&gt;sun.nio.ch.SelectionKeyImpl@2d64ff8f&lt;/a&gt;&lt;br/&gt;
2013-04-16 18:30:59.561 INFO net.spy.memcached.MemcachedConnection:  Reconnecting due to exception on {QA sa=/127.0.0.1:11211, #Rops=1, #Wops=0, #iq=0, topRop=Cmd: version, topWop=null, toWrite=0, interested=8}&lt;br/&gt;
java.io.IOException: Disconnected unexpected, will reconnect.&lt;br/&gt;
	at net.spy.memcached.MemcachedConnection.handleReads(MemcachedConnection.java:526)&lt;br/&gt;
	at net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:430)&lt;br/&gt;
	at net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:247)&lt;br/&gt;
	at net.spy.memcached.MemcachedConnection.run(MemcachedConnection.java:915)&lt;br/&gt;
2013-04-16 18:30:59.562 WARN net.spy.memcached.MemcachedConnection:  Closing, and reopening {QA sa=/127.0.0.1:11211, #Rops=1, #Wops=0, #iq=0, topRop=Cmd: version, topWop=null, toWrite=0, interested=8}, attempt 11.&lt;br/&gt;
2013-04-16 18:30:59.564 WARN net.spy.memcached.protocol.ascii.AsciiMemcachedNodeImpl:  Discarding partially completed op: Cmd: version&lt;br/&gt;
2013-04-16 18:31:29.582 INFO net.spy.memcached.MemcachedConnection:  Reconnecting {QA sa=/127.0.0.1:11211, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0}&lt;br/&gt;
2013-04-16 18:31:29.584 INFO net.spy.memcached.MemcachedConnection:  Connection state changed for &lt;a href=&apos;mailto:sun.nio.ch.SelectionKeyImpl@59799a64&apos;&gt;sun.nio.ch.SelectionKeyImpl@59799a64&lt;/a&gt;&lt;br/&gt;
2013-04-16 18:31:29.585 INFO net.spy.memcached.MemcachedConnection:  Reconnecting due to exception on {QA sa=/127.0.0.1:11211, #Rops=1, #Wops=0, #iq=0, topRop=Cmd: version, topWop=null, toWrite=0, interested=8}&lt;br/&gt;
java.io.IOException: Disconnected unexpected, will reconnect.&lt;br/&gt;
	at net.spy.memcached.MemcachedConnection.handleReads(MemcachedConnection.java:526)&lt;br/&gt;
	at net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:430)&lt;br/&gt;
	at net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:247)&lt;br/&gt;
	at net.spy.memcached.MemcachedConnection.run(MemcachedConnection.java:915)&lt;br/&gt;
2013-04-16 18:31:29.587 WARN net.spy.memcached.MemcachedConnection:  Closing, and reopening {QA sa=/127.0.0.1:11211, #Rops=1, #Wops=0, #iq=0, topRop=Cmd: version, topWop=null, toWrite=0, interested=8}, attempt 12.&lt;br/&gt;
2013-04-16 18:31:29.588 WARN net.spy.memcached.protocol.ascii.AsciiMemcachedNodeImpl:  Discarding partially completed op: Cmd: version&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
Memcached connection is trying to re-distribute the data on other nodes in a cluster which is why the connection is not getting established.</description>
                <environment></environment>
            <key id="23709">JCBC-285</key>
            <summary>Memcached connection disconnects in case of single node server instance.</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="4" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/minor.png">Minor</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="deeptida">Deepti Dawar</reporter>
                        <labels>
                        <label>needs-info</label>
                    </labels>
                <created>Tue, 16 Apr 2013 08:13:33 -0500</created>
                <updated>Mon, 22 Apr 2013 00:43:58 -0500</updated>
                                                                                    <votes>0</votes>
                        <watches>2</watches>
                                                    <comments>
                    <comment id="55148" author="daschl" created="Tue, 16 Apr 2013 09:18:49 -0500"  >Can you please post the code you used to initialize? </comment>
                    <comment id="55305" author="deeptida" created="Wed, 17 Apr 2013 05:08:47 -0500"  >You can test this using the attached java file.</comment>
                    <comment id="55602" author="daschl" created="Fri, 19 Apr 2013 06:48:20 -0500"  >You need to authenticate correctly in order to connect to a bucket like this:&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;AuthDescriptor authDescriptor = new AuthDescriptor(new String[]{&amp;quot;PLAIN&amp;quot;},&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;new PlainCallbackHandler(&amp;quot;cache&amp;quot;, &amp;quot;cache&amp;quot;));&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ConnectionFactory fact = new ConnectionFactoryBuilder()&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;.setProtocol(ConnectionFactoryBuilder.Protocol.BINARY)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;.setAuthDescriptor(authDescriptor)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;.build();&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;MemcachedClient client = new MemcachedClient(fact, Arrays.asList(new InetSocketAddress(&amp;quot;127.0.0.1&amp;quot;, 11210)));&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;client.set(&amp;quot;foo&amp;quot;, 0, &amp;quot;value&amp;quot;);&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;System.out.println(client.get(&amp;quot;foo&amp;quot;));&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;client.shutdown();</comment>
                    <comment id="55603" author="daschl" created="Fri, 19 Apr 2013 07:04:41 -0500"  >also make sure to use binary with sasl.</comment>
                    <comment id="55702" author="deeptida" created="Mon, 22 Apr 2013 00:43:43 -0500"  >Its working fine after the authentication, but don&amp;#39;t you think the behavior should be in sync for the single node and the 4 nodes cluster.&lt;br/&gt;
&lt;br/&gt;
Before handling the authentication, I was able to connect to only a 4 node cluster. Why is that so ?</comment>
                </comments>
                    <attachments>
                    <attachment id="17156" name="CouchbaseTest.java" size="1755" author="deeptida" created="Wed, 17 Apr 2013 05:08:47 -0500" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>10691</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-65] Client constructor blocks or deadlocks</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-65</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>I am evaluating the couchbase product and hit a brick wall immediately when running through the simple hello world example.&lt;br/&gt;
&lt;br/&gt;
I have a 3 node cluster running couchbase enterprise 1.8.2 on ubuntu 10.04 64 bit VMware images. All three are running in VMWare player instances on Windows 7 64bit.&lt;br/&gt;
&lt;br/&gt;
When I try to run the Main example on Windows 7 using Java6 (64 bit) the code blocks somewhere in the Client constructor. The result is the logging below.&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
2012-06-14 14:07:46.313 INFO com.couchbase.client.CouchbaseConnection:  Added {QA sa=/192.168.186.150:11210, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0} to connect queue&lt;br/&gt;
2012-06-14 14:07:46.316 INFO com.couchbase.client.CouchbaseConnection:  Added {QA sa=/192.168.186.151:11210, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0} to connect queue&lt;br/&gt;
2012-06-14 14:07:46.319 INFO com.couchbase.client.CouchbaseConnection:  Added {QA sa=/192.168.186.152:11210, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0} to connect queue&lt;br/&gt;
2012-06-14 14:07:59.843 INFO com.couchbase.client.CouchbaseConnection:  Connection state changed for &lt;a href=&apos;mailto:sun.nio.ch.SelectionKeyImpl@24a4e2e3&apos;&gt;sun.nio.ch.SelectionKeyImpl@24a4e2e3&lt;/a&gt;&lt;br/&gt;
2012-06-14 14:08:52.983 INFO com.couchbase.client.CouchbaseConnection:  Connection state changed for &lt;a href=&apos;mailto:sun.nio.ch.SelectionKeyImpl@21ec6696&apos;&gt;sun.nio.ch.SelectionKeyImpl@21ec6696&lt;/a&gt;&lt;br/&gt;
2012-06-14 14:08:52.987 INFO com.couchbase.client.CouchbaseConnection:  Connection state changed for &lt;a href=&apos;mailto:sun.nio.ch.SelectionKeyImpl@27431340&apos;&gt;sun.nio.ch.SelectionKeyImpl@27431340&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
I have also tried debugging but the code blocks in the constructor at&lt;br/&gt;
&lt;br/&gt;
client = new CouchbaseClient(uris, &amp;quot;default&amp;quot;, &amp;quot;&amp;quot;);&lt;br/&gt;
&lt;br/&gt;
The program never completes.&lt;br/&gt;
&lt;br/&gt;
This works fine in a Linux environment with the following output received&lt;br/&gt;
&lt;br/&gt;
2012-06-14 04:58:50.693 INFO com.couchbase.client.CouchbaseConnection:  Added {QA sa=/192.168.186.150:11210, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0} to connect queue&lt;br/&gt;
2012-06-14 04:58:50.703 INFO com.couchbase.client.CouchbaseConnection:  Added {QA sa=/192.168.186.151:11210, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0} to connect queue&lt;br/&gt;
2012-06-14 04:58:50.708 INFO com.couchbase.client.CouchbaseConnection:  Added {QA sa=/192.168.186.152:11210, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0} to connect queue&lt;br/&gt;
2012-06-14 04:58:50.830 INFO com.couchbase.client.CouchbaseConnection:  Connection state changed for &lt;a href=&apos;mailto:sun.nio.ch.SelectionKeyImpl@1bc74f37&apos;&gt;sun.nio.ch.SelectionKeyImpl@1bc74f37&lt;/a&gt;&lt;br/&gt;
2012-06-14 04:58:50.834 INFO com.couchbase.client.CouchbaseConnection:  Connection state changed for &lt;a href=&apos;mailto:sun.nio.ch.SelectionKeyImpl@3a21b220&apos;&gt;sun.nio.ch.SelectionKeyImpl@3a21b220&lt;/a&gt;&lt;br/&gt;
2012-06-14 04:58:50.843 INFO com.couchbase.client.CouchbaseConnection:  Connection state changed for &lt;a href=&apos;mailto:sun.nio.ch.SelectionKeyImpl@732b3d53&apos;&gt;sun.nio.ch.SelectionKeyImpl@732b3d53&lt;/a&gt;&lt;br/&gt;
2012-06-14 04:58:51.135 INFO com.couchbase.client.CouchbaseConnection:  Shut down Couchbase client&lt;br/&gt;
Set Succeeded&lt;br/&gt;
Synchronous Get failed&lt;br/&gt;
Asynchronous Get Succeeded: Hello World!&lt;br/&gt;
&lt;br/&gt;
Is there a JDK for windows 7 or a configuration setting that can be used to prevent this?</description>
                <environment>OS: Windows 7 64bit&lt;br/&gt;
JDK: 1.6.0_31 also 1.6.0_33 64 bit&lt;br/&gt;
Couchbase enterprise edition running on 3 nodes all Ubuntu 10.04 64bit server (VMware images)&lt;br/&gt;
</environment>
            <key id="17800">JCBC-65</key>
            <summary>Client constructor blocks or deadlocks</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="4" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/reopened.png">Reopened</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="mscott">Martin Scott</reporter>
                        <labels>
                    </labels>
                <created>Thu, 14 Jun 2012 08:13:11 -0500</created>
                <updated>Wed, 17 Apr 2013 12:28:58 -0500</updated>
                                    <version>1.0.2</version>
                                <fixVersion>1.1-beta</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>2</watches>
                                                    <comments>
                    <comment id="29962" author="rags" created="Thu, 14 Jun 2012 09:07:48 -0500"  >Thanks for giving the Java client library a spin.&lt;br/&gt;
&lt;br/&gt;
Were you able to connect to a single windows 7 node? I suspect it might be a firewall/networking issue and if you can use the netstat command (or the appropriate command on windows 7)?&lt;br/&gt;
&lt;br/&gt;
You may also want to follow the instructions noted in&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;http://www.couchbase.com/docs/couchbase-manual-1.8/couchbase-bestpractice-cloud.html&quot;&gt;http://www.couchbase.com/docs/couchbase-manual-1.8/couchbase-bestpractice-cloud.html&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
Changing IP addresses might be a cause for this.&lt;br/&gt;
&lt;br/&gt;
Finally, a more detailed log would be useful, if the network troubleshooting does not help.&lt;br/&gt;
&lt;br/&gt;
Please refer to&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;http://www.couchbase.com/wiki/display/couchbase/Couchbase+Java+Client+Library&quot;&gt;http://www.couchbase.com/wiki/display/couchbase/Couchbase+Java+Client+Library&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
for logging tips.&lt;br/&gt;
</comment>
                    <comment id="29963" author="mscott" created="Thu, 14 Jun 2012 09:31:21 -0500"  >Apologies that should read&lt;br/&gt;
&lt;br/&gt;
Couchbase Version: 1.8.0 enterprise edition (build-55)</comment>
                    <comment id="29965" author="mscott" created="Thu, 14 Jun 2012 10:06:57 -0500"  >Detailed logging up to the point when the client hangs</comment>
                    <comment id="29966" author="rags" created="Thu, 14 Jun 2012 10:12:07 -0500"  >Thanks for the Log. I took a real quick look.&lt;br/&gt;
&lt;br/&gt;
Were you able to follow the steps in&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;http://www.couchbase.com/docs/couchbase-manual-1.8/couchbase-bestpractice-cloud.html&quot;&gt;http://www.couchbase.com/docs/couchbase-manual-1.8/couchbase-bestpractice-cloud.html&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
and use the ip address that you are able to connect to (via the admin console)?</comment>
                    <comment id="29973" author="alex" created="Thu, 14 Jun 2012 11:43:32 -0500"  >Hi Martin,&lt;br/&gt;
&lt;br/&gt;
Can you verify connectivity from the JDK on your windows box?&lt;br/&gt;
&lt;br/&gt;
This is what my connection code looks like:&lt;br/&gt;
		// Connection details for Couchbase&lt;br/&gt;
		List&amp;lt;URI&amp;gt; uris = new LinkedList&amp;lt;URI&amp;gt;();&lt;br/&gt;
		uris.add(URI.create(&amp;quot;&lt;a href=&quot;http://10.4.2.3:8091/pools&quot;&gt;http://10.4.2.3:8091/pools&lt;/a&gt;&amp;quot;));&lt;br/&gt;
&lt;br/&gt;
	    CouchbaseClient client = null;&lt;br/&gt;
	    try {&lt;br/&gt;
	    	client = new CouchbaseClient(uris, &amp;quot;default&amp;quot;, &amp;quot;&amp;quot;);&lt;br/&gt;
	    }   &lt;br/&gt;
	    catch (Exception e) {&lt;br/&gt;
	      System.err.println(&amp;quot;except: connect: &amp;quot; + e.getMessage());&lt;br/&gt;
	      System.exit(-1);&lt;br/&gt;
	    }   &lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
This will create a persistent connection to 8091 on 10.4.2.3 as well as connections to 11210 on every node in the cluster.&lt;br/&gt;
&lt;br/&gt;
ssh&amp;#39;ing to 10.4.2.3 and running netstat - you should see something like whats below:&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
netstat -nat|grep 10.32.3.50&lt;br/&gt;
tcp        0      0 10.4.2.3:11210              10.32.3.50:65437            ESTABLISHED &lt;br/&gt;
tcp        0      0 10.4.2.3:8091               10.32.3.50:65442            ESTABLISHED &lt;br/&gt;
tcp        0    304 ::ffff:10.4.2.3:22          ::ffff:10.32.3.50:65516     ESTABLISHED &lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
can you confirm this in your environment?&lt;br/&gt;
&lt;br/&gt;
thanks&lt;br/&gt;
&lt;br/&gt;
-Alex.</comment>
                    <comment id="30370" author="mscott" created="Mon, 18 Jun 2012 09:36:55 -0500"  >Hi, thanks for the responses.&lt;br/&gt;
&lt;br/&gt;
Here is the netstat output from my Windows client &lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;TCP    192.168.186.1:139      0.0.0.0:0              LISTENING       InHost&lt;br/&gt;
&amp;nbsp;&amp;nbsp;TCP    192.168.186.1:51008    192.168.186.150:22     ESTABLISHED     InHost&lt;br/&gt;
&amp;nbsp;&amp;nbsp;TCP    192.168.186.1:53281    192.168.186.150:8091   TIME_WAIT       InHost&lt;br/&gt;
&amp;nbsp;&amp;nbsp;TCP    192.168.186.1:53284    192.168.186.150:11210  ESTABLISHED     InHost&lt;br/&gt;
&amp;nbsp;&amp;nbsp;TCP    192.168.186.1:53285    192.168.186.151:11210  ESTABLISHED     InHost&lt;br/&gt;
&amp;nbsp;&amp;nbsp;TCP    192.168.186.1:53286    192.168.186.152:11210  ESTABLISHED     InHost&lt;br/&gt;
&amp;nbsp;&amp;nbsp;TCP    192.168.186.1:53292    192.168.186.150:8091   ESTABLISHED     InHost&lt;br/&gt;
&lt;br/&gt;
and from the first node in the cluster with the client and other nodes.&lt;br/&gt;
&lt;br/&gt;
tcp        0      0 192.168.186.150:41317   192.168.186.150:11210   ESTABLISHED&lt;br/&gt;
tcp        0      0 192.168.186.150:35883   192.168.186.151:11210   ESTABLISHED&lt;br/&gt;
tcp        0      0 192.168.186.150:11210   192.168.186.151:38013   ESTABLISHED&lt;br/&gt;
tcp        0      0 192.168.186.150:21100   192.168.186.152:46834   ESTABLISHED&lt;br/&gt;
tcp        0      0 192.168.186.150:11210   192.168.186.1:53284     ESTABLISHED&lt;br/&gt;
tcp        0      0 192.168.186.150:57559   192.168.186.151:22      TIME_WAIT&lt;br/&gt;
tcp        0      0 192.168.186.150:8091    192.168.186.1:53292     ESTABLISHED&lt;br/&gt;
tcp        0     48 192.168.186.150:22      192.168.186.1:51008     ESTABLISHED&lt;br/&gt;
tcp        0      0 192.168.186.150:11210   192.168.186.150:41317   ESTABLISHED&lt;br/&gt;
tcp        0      0 192.168.186.150:42433   192.168.186.152:11210   ESTABLISHED&lt;br/&gt;
tcp        0      0 192.168.186.150:11210   192.168.186.150:56214   ESTABLISHED&lt;br/&gt;
tcp        0      0 192.168.186.150:56214   192.168.186.150:11210   ESTABLISHED&lt;br/&gt;
tcp        0      0 192.168.186.150:11210   192.168.186.152:39222   ESTABLISHED&lt;br/&gt;
tcp        0      0 192.168.186.150:21100   192.168.186.151:60945   ESTABLISHED&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
I downloaded the source jars from the maven repo and debugging shows the client hanging at the getLatch().await() line below. There doesn&amp;#39;t appear to be any thread calling the countDown method on the latch before or after this is called.&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;private ChannelFuture getReceivedFuture() {&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;try {&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;getLatch().await();&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;} catch (InterruptedException ex) {&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;finerLog(&amp;quot;Getting received future has been interrupted.&amp;quot;);&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return receivedFuture;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;}&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
Martin.</comment>
                    <comment id="30371" author="mscott" created="Mon, 18 Jun 2012 09:48:59 -0500"  >The stack trace where the client blocks&lt;br/&gt;
&lt;br/&gt;
Thread [main] (Stepping)	&lt;br/&gt;
	BucketUpdateResponseHandler.getReceivedFuture() line: 147	&lt;br/&gt;
	BucketUpdateResponseHandler.getLastResponse() line: 127	&lt;br/&gt;
	BucketMonitor.startMonitor() line: 183	&lt;br/&gt;
	ConfigurationProviderHTTP.subscribe(String, Reconfigurable) line: 243	&lt;br/&gt;
	CouchbaseClient.&amp;lt;init&amp;gt;(CouchbaseConnectionFactory, boolean) line: 158	&lt;br/&gt;
	CouchbaseClient.&amp;lt;init&amp;gt;(CouchbaseConnectionFactory) line: 125	&lt;br/&gt;
	CouchbaseClient.&amp;lt;init&amp;gt;(List&amp;lt;URI&amp;gt;, String, String) line: 77	&lt;br/&gt;
	Main.main(String[]) line: 67	&lt;br/&gt;
&lt;br/&gt;
</comment>
                    <comment id="48397" author="seand88" created="Wed, 23 Jan 2013 14:45:26 -0600"  >I am having this exact same problem. Using windows 7 64 bit trying to connect to ubuntu.&lt;br/&gt;
I am using 32 bit os on linux and couchbase server 2.0.&lt;br/&gt;
&lt;br/&gt;
I am also using the lastest java client version 1.1 &lt;br/&gt;
&lt;br/&gt;
Same Issue as described below.  &lt;br/&gt;
The only workaround is to not use windows, if my java client is running on linux then it will work with no issues, it just deadlocks on the windows machine.&lt;br/&gt;
</comment>
                    <comment id="55358" author="tgrall" created="Wed, 17 Apr 2013 12:28:58 -0500"  >I am reopening the issue as we see this error again on some environment:&lt;br/&gt;
- Yuval&lt;br/&gt;
- &lt;a href=&quot;http://www.couchbase.com/issues/browse/JCBC-65&quot;&gt;http://www.couchbase.com/issues/browse/JCBC-65&lt;/a&gt;&lt;br/&gt;
...&lt;br/&gt;
&lt;br/&gt;
Let me know if you prefer me to create a new issue for 1.1.x</comment>
                </comments>
                    <attachments>
                    <attachment id="13642" name="log.txt" size="6445" author="mscott" created="Thu, 14 Jun 2012 10:06:57 -0500" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>10633</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-283] Document how best to use expiry with times &gt;30 days</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-283</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>Really needed across all  languages...do you want me to file separate issues?&lt;br/&gt;
&lt;br/&gt;
We have some documentation on how to use expiration with relative values, but nothing clearly showing how we recommend calculating a timestamp and sending it to the operation.</description>
                <environment></environment>
            <key id="23650">JCBC-283</key>
            <summary>Document how best to use expiry with times &gt;30 days</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="perry">Perry Krug</reporter>
                        <labels>
                    </labels>
                <created>Fri, 12 Apr 2013 07:53:51 -0500</created>
                <updated>Fri, 12 Apr 2013 07:53:51 -0500</updated>
                                    <version>1.1.5</version>
                                                <component>docs</component>
                                <votes>0</votes>
                        <watches>1</watches>
                                                            <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>10600</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-281] Document working with the cluster manager in java manual</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-281</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>&lt;a href=&quot;http://www.couchbase.com/autodocs/couchbase-java-client-1.1.5/com/couchbase/client/ClusterManager.html&quot;&gt;http://www.couchbase.com/autodocs/couchbase-java-client-1.1.5/com/couchbase/client/ClusterManager.html&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
This is in the Java docs, but not yet in the manual.</description>
                <environment></environment>
            <key id="23570">JCBC-281</key>
            <summary>Document working with the cluster manager in java manual</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="perry">Perry Krug</reporter>
                        <labels>
                    </labels>
                <created>Mon, 8 Apr 2013 10:17:47 -0500</created>
                <updated>Mon, 8 Apr 2013 10:17:47 -0500</updated>
                                    <version>1.1.5</version>
                                                <component>docs</component>
                                <votes>0</votes>
                        <watches>1</watches>
                                                            <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>10426</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-278] ConnectionFactoryBuilder has wrong default settings</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-278</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>The Builder uses wrong failure mode and default hash, they differ from instantiating the factory directly. This causes inconsistencies and also EPT node failures not to be detected properly.</description>
                <environment></environment>
            <key id="23493">JCBC-278</key>
            <summary>ConnectionFactoryBuilder has wrong default settings</summary>
                <type id="3" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/task.png">Task</type>
                                <priority id="1" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/blocker.png">Blocker</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="daschl">Michael Nitschinger</reporter>
                        <labels>
                    </labels>
                <created>Tue, 2 Apr 2013 08:25:47 -0500</created>
                <updated>Wed, 3 Apr 2013 13:09:33 -0500</updated>
                    <resolved>Wed, 3 Apr 2013 05:52:34 -0500</resolved>
                            <version>1.1.4</version>
                                <fixVersion>1.1.5</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>3</watches>
                                                    <comments>
                    <comment id="54138" author="frank" created="Wed, 3 Apr 2013 12:25:33 -0500"  >WIll changing hash affect customers upgrading? (i.e. not finding old data)</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>10335</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-279] Docs: Cross-link bulk loading and blocking queue documentation with async commands</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-279</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>Just had a customer potentially running &amp;gt;1M touch() operations all at once and not checking the return code nor having them in a blocking queue.  I think it would be worthwhile to make sure that everyone realizes the importance of proper handling of async operations and it&amp;#39;s not obvious when just looking at the API reference for an individual operation.</description>
                <environment></environment>
            <key id="23507">JCBC-279</key>
            <summary>Docs: Cross-link bulk loading and blocking queue documentation with async commands</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="perry">Perry Krug</reporter>
                        <labels>
                    </labels>
                <created>Tue, 2 Apr 2013 19:05:49 -0500</created>
                <updated>Tue, 2 Apr 2013 19:05:49 -0500</updated>
                                    <version>1.1.4</version>
                                                <component>docs</component>
                                <votes>0</votes>
                        <watches>1</watches>
                                                            <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>10347</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-277] Provide warnings when dependencies don&apos;t match expected versions</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-277</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>Recent issues with netty dependencies would be easier caught if we had logging when dependencies are mismatched from what we expect.</description>
                <environment></environment>
            <key id="23395">JCBC-277</key>
            <summary>Provide warnings when dependencies don&apos;t match expected versions</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="perry">Perry Krug</reporter>
                        <labels>
                    </labels>
                <created>Tue, 26 Mar 2013 11:53:42 -0500</created>
                <updated>Tue, 26 Mar 2013 11:53:42 -0500</updated>
                                    <version>1.1.4</version>
                                                <component>library</component>
                                <votes>0</votes>
                        <watches>1</watches>
                                                            <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>10234</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-4] building shippable artifacts under CI</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-4</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>This is simply generating the JAR files under CI.</description>
                <environment></environment>
            <key id="15828">JCBC-4</key>
            <summary>building shippable artifacts under CI</summary>
                <type id="3" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/task.png">Task</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="deeptida">Deepti Dawar</assignee>
                                <reporter username="ingenthr">Matt Ingenthron</reporter>
                        <labels>
                    </labels>
                <created>Thu, 12 Jan 2012 01:06:04 -0600</created>
                <updated>Tue, 26 Mar 2013 07:11:29 -0500</updated>
                    <resolved>Tue, 26 Mar 2013 07:11:29 -0500</resolved>
                                            <fixVersion>.next</fixVersion>
                                <component>infrastructure</component>
                                <votes>0</votes>
                        <watches>1</watches>
                                                    <comments>
                    <comment id="53504" author="deeptida" created="Tue, 26 Mar 2013 07:11:14 -0500"  >This has been handled in the jenkins job :&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;http://sdkbuilds.couchbase.com/job/java-snapshot-build/&quot;&gt;http://sdkbuilds.couchbase.com/job/java-snapshot-build/&lt;/a&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>10230</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-1] ensure building under CI</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-1</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description></description>
                <environment></environment>
            <key id="15805">JCBC-1</key>
            <summary>ensure building under CI</summary>
                <type id="3" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/task.png">Task</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="deeptida">Deepti Dawar</assignee>
                                <reporter username="ingenthr">Matt Ingenthron</reporter>
                        <labels>
                    </labels>
                <created>Thu, 5 Jan 2012 10:52:48 -0600</created>
                <updated>Tue, 26 Mar 2013 07:10:50 -0500</updated>
                    <resolved>Tue, 26 Mar 2013 07:10:50 -0500</resolved>
                            <version>1.0.2</version>
                                <fixVersion>.next</fixVersion>
                                <component>infrastructure</component>
                                <votes>0</votes>
                        <watches>1</watches>
                                                    <comments>
                    <comment id="53503" author="deeptida" created="Tue, 26 Mar 2013 07:10:26 -0500"  >This has been handled in the jenkins job :&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;http://sdkbuilds.couchbase.com/job/java-snapshot-build/&quot;&gt;http://sdkbuilds.couchbase.com/job/java-snapshot-build/&lt;/a&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>10229</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-35] Exception during reconfiguring of client</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-35</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>Multiple different stackstraces below also see the following right before it starts to fail:&lt;br/&gt;
&lt;br/&gt;
&amp;quot;Node exepcted to receive data is inactive.  This could be due to afailure within the cluster.  Will check for updated configuration.  Key without a configured node is: akey12324234&amp;quot;&lt;br/&gt;
&lt;br/&gt;
Then it&amp;#39;s fails a number of times and &lt;br/&gt;
&lt;br/&gt;
Failed to reconfigure client, staying with previous configuration.&lt;br/&gt;
java.lang.IllegalArgumentException: TODO: refactor this&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.couchbase.client.vbucket.config.CacheConfig.getVbucketsCount(CacheConfig.java:55)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.couchbase.client.vbucket.config.DefaultConfig.compareTo(DefaultConfig.java:145)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.couchbase.client.vbucket.VBucketNodeLocator.updateLocator(VBucketNodeLocator.java:133)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.couchbase.client.CouchbaseConnection.reconfigure(CouchbaseConnection.java:120)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.couchbase.client.CouchbaseClient.reconfigure(CouchbaseClient.java:176)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.couchbase.client.vbucket.ReconfigurableObserver.update(ReconfigurableObserver.java:54)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at java.util.Observable.notifyObservers(Observable.java:142)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.couchbase.client.vbucket.BucketMonitor.setBucket(BucketMonitor.java:257)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.couchbase.client.vbucket.BucketMonitor.startMonitor(BucketMonitor.java:187)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.couchbase.client.vbucket.ConfigurationProviderHTTP.subscribe(ConfigurationProviderHTTP.java:243)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.couchbase.client.vbucket.ConfigurationProviderHTTP.finishResubscribe(ConfigurationProviderHTTP.java:215)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.couchbase.client.CouchbaseConnectionFactory.checkConfigUpdate(CouchbaseConnectionFactory.java:182)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.couchbase.client.CouchbaseConnection.addOperation(CouchbaseConnection.java:165)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at net.spy.memcached.MemcachedConnection.enqueueOperation(MemcachedConnection.java:639)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at net.spy.memcached.MemcachedClient.asyncGet(MemcachedClient.java:835)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at net.spy.memcached.MemcachedClient.get(MemcachedClient.java:997)&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;Failed to reconfigure client, staying with previous configuration.&lt;br/&gt;
java.lang.IllegalArgumentException: TODO: refactor this&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.couchbase.client.vbucket.config.CacheConfig.getVbucketsCount(CacheConfig.java:55)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.couchbase.client.vbucket.config.DefaultConfig.compareTo(DefaultConfig.java:145)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.couchbase.client.vbucket.VBucketNodeLocator.updateLocator(VBucketNodeLocator.java:133)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.couchbase.client.CouchbaseConnection.reconfigure(CouchbaseConnection.java:120)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.couchbase.client.CouchbaseClient.reconfigure(CouchbaseClient.java:176)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.couchbase.client.vbucket.ReconfigurableObserver.update(ReconfigurableObserver.java:54)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at java.util.Observable.notifyObservers(Observable.java:142)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.couchbase.client.vbucket.BucketMonitor.setBucket(BucketMonitor.java:257)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.couchbase.client.vbucket.BucketMonitor.replaceConfig(BucketMonitor.java:307)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.couchbase.client.vbucket.BucketUpdateResponseHandler.messageReceived(BucketUpdateResponseHandler.java:81)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:80)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.couchbase.client.vbucket.BucketUpdateResponseHandler.handleUpstream(BucketUpdateResponseHandler.java:194)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:545)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:754)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:302)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.jboss.netty.handler.codec.replay.ReplayingDecoder.unfoldAndfireMessageReceived(ReplayingDecoder.java:513)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.jboss.netty.handler.codec.replay.ReplayingDecoder.callDecode(ReplayingDecoder.java:497)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.jboss.netty.handler.codec.replay.ReplayingDecoder.messageReceived(ReplayingDecoder.java:434)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:80)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:545)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:540)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:274)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:261)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:340)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.jboss.netty.channel.socket.nio.NioWorker.processSelectedKeys(NioWorker.java:272)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:192)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.jboss.netty.util.internal.IoWorkerRunnable.run(IoWorkerRunnable.java:46)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at java.lang.Thread.run(Thread.java:662)&lt;br/&gt;
</description>
                <environment>couchbase-client 1.0.2&lt;br/&gt;
&lt;br/&gt;
java version &amp;quot;1.6.0_30&amp;quot;&lt;br/&gt;
Java(TM) SE Runtime Environment (build 1.6.0_30-b12)&lt;br/&gt;
Java HotSpot(TM) 64-Bit Server VM (build 20.5-b03, mixed mode)&lt;br/&gt;
&lt;br/&gt;
Linux 2.6.18-238.19.1.el5 #1 SMP Sun Jul 10 08:43:41 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux</environment>
            <key id="16692">JCBC-35</key>
            <summary>Exception during reconfiguring of client</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="1" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/blocker.png">Blocker</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="marcus.nylander@gmail.com">Marcus Nylander</reporter>
                        <labels>
                    </labels>
                <created>Mon, 23 Apr 2012 03:36:46 -0500</created>
                <updated>Tue, 26 Mar 2013 07:02:38 -0500</updated>
                    <resolved>Tue, 26 Mar 2013 07:02:38 -0500</resolved>
                            <version>1.0.2</version>
                                <fixVersion>1.1-beta</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>3</watches>
                                                    <comments>
                    <comment id="41106" author="ingenthr" created="Thu, 11 Oct 2012 00:21:09 -0500"  >This may have been fixed in configuraton changes in 1.0.3, but that should be verified.</comment>
                    <comment id="44925" author="daschl" created="Wed, 28 Nov 2012 06:09:15 -0600"  >&lt;a href=&quot;http://review.couchbase.org/#/c/22878/&quot;&gt;http://review.couchbase.org/#/c/22878/&lt;/a&gt;</comment>
                    <comment id="44985" author="daschl" created="Thu, 29 Nov 2012 01:02:00 -0600"  >fixed and pushed to master, will be available in in dp5/beta.</comment>
                    <comment id="53501" author="daschl" created="Tue, 26 Mar 2013 07:02:38 -0500"  >Already fixes back in time, don&amp;#39;t know why it is open.</comment>
                </comments>
                    <attachments>
                    <attachment id="16908" name="log.txt" size="57141" author="skumar" created="Fri, 8 Mar 2013 05:49:30 -0600" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8670</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-232] Javadoc jar files should be renamed to be compliant with IDEs</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-232</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>IntelliJ Idea won&amp;#39;t automatically download couchbase-client-*-javadocs.jar or spymemcached-*-javadocs.jar from &lt;a href=&quot;http://files.couchbase.com/maven2/&quot;&gt;http://files.couchbase.com/maven2/&lt;/a&gt; because they have an &amp;quot;s&amp;quot; at the end of &amp;quot;javadoc&amp;quot;.&lt;br/&gt;
I don&amp;#39;t know whether any other IDE&amp;#39;s have trouble with this, but the standard appears to be &amp;quot;XXX-javadoc.jar&amp;quot; instead of &amp;quot;XXX-javadocs.jar&amp;quot;.&lt;br/&gt;
The executable and source jars download fine.&lt;br/&gt;
Can this be changed for a future version?&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
See : &lt;a href=&quot;http://www.couchbase.com/forums/thread/java-sdk-javadoc-maven-download-problem&quot;&gt;http://www.couchbase.com/forums/thread/java-sdk-javadoc-maven-download-problem&lt;/a&gt;</description>
                <environment></environment>
            <key id="22445">JCBC-232</key>
            <summary>Javadoc jar files should be renamed to be compliant with IDEs</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="tgrall">Tug Grall</reporter>
                        <labels>
                    </labels>
                <created>Mon, 4 Feb 2013 03:36:26 -0600</created>
                <updated>Tue, 26 Mar 2013 01:31:47 -0500</updated>
                    <resolved>Tue, 26 Mar 2013 01:31:47 -0500</resolved>
                            <version>1.1.0</version>
                <version>1.1.1</version>
                                <fixVersion>1.1.5</fixVersion>
                                <component>infrastructure</component>
                                <votes>0</votes>
                        <watches>1</watches>
                                                            <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8392</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-135] Using Couchbase inside netty server fails</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-135</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>See this forum question for a description of the issue as well as the fix for it:&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;http://www.couchbase.com/forums/thread/using-couchbaseclient-inside-netty-server&quot;&gt;http://www.couchbase.com/forums/thread/using-couchbaseclient-inside-netty-server&lt;/a&gt;</description>
                <environment></environment>
            <key id="20426">JCBC-135</key>
            <summary>Using Couchbase inside netty server fails</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="mikew">Mike Wiederhold</reporter>
                        <labels>
                    </labels>
                <created>Thu, 25 Oct 2012 13:20:54 -0500</created>
                <updated>Tue, 26 Mar 2013 00:51:55 -0500</updated>
                    <resolved>Tue, 26 Mar 2013 00:51:55 -0500</resolved>
                                            <fixVersion>1.1.5</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>1</watches>
                                                    <comments>
                    <comment id="44186" author="daschl" created="Fri, 16 Nov 2012 05:12:34 -0600"  >&lt;a href=&quot;http://review.couchbase.com/#/c/22589/&quot;&gt;http://review.couchbase.com/#/c/22589/&lt;/a&gt;</comment>
                    <comment id="44200" author="daschl" created="Fri, 16 Nov 2012 12:21:55 -0600"  >I could reproduce this issue by instantiating a couchbase server inside a handler. If you instantiate the connection outside it works. Here is the code to reproduce it:&lt;br/&gt;
&lt;br/&gt;
when you run it in the IDE and telnet to localhost 8080 it will die and throw the exception:&lt;br/&gt;
&lt;br/&gt;
package com.couchbase.nettyexample;&lt;br/&gt;
&lt;br/&gt;
import com.couchbase.client.CouchbaseClient;&lt;br/&gt;
import java.io.IOException;&lt;br/&gt;
import java.net.InetSocketAddress;&lt;br/&gt;
import java.net.URI;&lt;br/&gt;
import java.util.Arrays;&lt;br/&gt;
import java.util.concurrent.Executors;&lt;br/&gt;
import org.jboss.netty.bootstrap.ServerBootstrap;&lt;br/&gt;
import org.jboss.netty.channel.ChannelHandlerContext;&lt;br/&gt;
import org.jboss.netty.channel.ChannelPipeline;&lt;br/&gt;
import org.jboss.netty.channel.ChannelPipelineFactory;&lt;br/&gt;
import org.jboss.netty.channel.Channels;&lt;br/&gt;
import org.jboss.netty.channel.MessageEvent;&lt;br/&gt;
import org.jboss.netty.channel.SimpleChannelUpstreamHandler;&lt;br/&gt;
import org.jboss.netty.channel.socket.nio.NioServerSocketChannelFactory;&lt;br/&gt;
&lt;br/&gt;
/**&lt;br/&gt;
&amp;nbsp;* Hello world!&lt;br/&gt;
&amp;nbsp;*&lt;br/&gt;
&amp;nbsp;*/&lt;br/&gt;
public class App {&lt;br/&gt;
&amp;nbsp;&amp;nbsp;private final int port = 8080;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;private CouchbaseClient client;&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;public void run() throws IOException {&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ServerBootstrap bootstrap = new ServerBootstrap(&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;new NioServerSocketChannelFactory(&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Executors.newCachedThreadPool(),&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Executors.newCachedThreadPool()&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;);&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;bootstrap.setPipelineFactory(new ChannelPipelineFactory() {&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;public ChannelPipeline getPipeline() throws Exception {&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return Channels.pipeline(new EchoServerHandler());&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;});&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;bootstrap.bind(new InetSocketAddress(port));&lt;br/&gt;
&amp;nbsp;&amp;nbsp;}&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;public static void main(String[] args) throws IOException {&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;new App().run();&lt;br/&gt;
&amp;nbsp;&amp;nbsp;}&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;class EchoServerHandler extends SimpleChannelUpstreamHandler {&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;private CouchbaseClient client;&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;public EchoServerHandler() throws IOException {&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;this.client = new CouchbaseClient(&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Arrays.asList(URI.create(&amp;quot;&lt;a href=&quot;http://localhost:8091/pools&quot;&gt;http://localhost:8091/pools&lt;/a&gt;&amp;quot;)),&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;quot;default&amp;quot;,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;quot;&amp;quot;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;);&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;this.client.set(&amp;quot;received&amp;quot;, 0, &amp;quot;foo&amp;quot;);&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;@Override&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;public void messageReceived(ChannelHandlerContext ctx, MessageEvent e) {&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;System.out.println(&amp;quot;Received Message&amp;quot;);&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;System.out.println(client.get(&amp;quot;received&amp;quot;));&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br/&gt;
&amp;nbsp;&amp;nbsp;}&lt;br/&gt;
}&lt;br/&gt;
</comment>
                    <comment id="53484" author="daschl" created="Tue, 26 Mar 2013 00:51:55 -0500"  >will be available in 1.1.5.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                <customfield id="customfield_10010" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                <customfieldname>Flagged</customfieldname>
                <customfieldvalues>
                        <customfieldvalue key="10010"><![CDATA[Release Note]]></customfieldvalue>
    
                </customfieldvalues>
            </customfield>
                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8595</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-275] Slow performance in virtualized environments</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-275</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>This is a placeholder bug meant to indicate that there are disproportionate performance impacts in the Java client when running under a virtualized environment. There are no obvious bottlenecks but it is something we&amp;#39;ve seen in multiple situations and should be investigated.&lt;br/&gt;
&lt;br/&gt;
In short, there is no specific CPU, network, or disk bottleneck being hit, but performance still seems to drop significantly.&lt;br/&gt;
&lt;br/&gt;
Will update with specific stats later on.</description>
                <environment></environment>
            <key id="23265">JCBC-275</key>
            <summary>Slow performance in virtualized environments</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="mnunberg">Mark Nunberg</reporter>
                        <labels>
                    </labels>
                <created>Mon, 18 Mar 2013 16:17:26 -0500</created>
                <updated>Wed, 20 Mar 2013 07:27:21 -0500</updated>
                                                                    <component>library</component>
                                <votes>0</votes>
                        <watches>2</watches>
                                                            <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                            <customfield id="customfield_10284" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                <customfieldname>Planned End</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Mon, 18 Mar 2013 12:00:00 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10283" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                <customfieldname>Planned Start</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Mon, 18 Mar 2013 12:00:00 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>10093</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-271] Adding a node to an existing cluster causes issues with a running memcached bucket</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-271</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>When adding a node to a cluster, I&amp;#39;d observed a number of AssertionErrors and some very odd errors about connections being null.  &lt;br/&gt;
&lt;br/&gt;
This popped up when I wasn&amp;#39;t expecting an issue, so I&amp;#39;m a bit surprised.   The scenario I think is:&lt;br/&gt;
&lt;br/&gt;
Steps to reproduce:&lt;br/&gt;
1. Have two nodes running (.200 and .201 in my case here)&lt;br/&gt;
2. Add another node (.202 in my case here)&lt;br/&gt;
&lt;br/&gt;
See the logs for what detail is available.</description>
                <environment>3 node cluster of 2.0, one memcached bucket authenticated, Couchbase Java Client 1.1.2 with required spymemcached 2.8.11</environment>
            <key id="23212">JCBC-271</key>
            <summary>Adding a node to an existing cluster causes issues with a running memcached bucket</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="2" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/critical.png">Critical</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="ingenthr">Matt Ingenthron</reporter>
                        <labels>
                    </labels>
                <created>Wed, 13 Mar 2013 21:25:05 -0500</created>
                <updated>Sat, 16 Mar 2013 02:36:33 -0500</updated>
                    <resolved>Sat, 16 Mar 2013 02:36:33 -0500</resolved>
                            <version>1.1.2</version>
                                <fixVersion>1.1.5</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>4</watches>
                                                    <comments>
                    <comment id="52877" author="daschl" created="Fri, 15 Mar 2013 03:28:18 -0500"  >This is the same root cause, the channel gets overriden on add.</comment>
                    <comment id="52879" author="daschl" created="Fri, 15 Mar 2013 04:20:17 -0500"  >&lt;a href=&quot;http://review.couchbase.com/#/c/25171/&quot;&gt;http://review.couchbase.com/#/c/25171/&lt;/a&gt;</comment>
                    <comment id="52942" author="ingenthr" created="Sat, 16 Mar 2013 02:36:33 -0500"  >Yes, that fixed the issue.  I had some issues on adding that node back, but there was a problem at the cluster side.  </comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10001">
                <name>Duplicate</name>
                                <outwardlinks description="duplicates">
                            <issuelink>
            <issuekey id="23169">JCBC-267</issuekey>
        </issuelink>
                    </outwardlinks>
                                                <inwardlinks description="is duplicated by">
                            <issuelink>
            <issuekey id="23213">JCBC-272</issuekey>
        </issuelink>
                    </inwardlinks>
                            </issuelinktype>
                    </issuelinks>
                <attachments>
                    <attachment id="16943" name="CBSE-472repro.txt" size="36679" author="ingenthr" created="Wed, 13 Mar 2013 21:25:05 -0500" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                            <customfield id="customfield_10284" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                <customfieldname>Planned End</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Wed, 13 Mar 2013 12:00:00 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10283" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                <customfieldname>Planned Start</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Wed, 13 Mar 2013 12:00:00 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>9456</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-273] Unknown Host Exception should be caught</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-273</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>Encountered these errors while running on Jenkins. These need to be handled.&lt;br/&gt;
&lt;br/&gt;
Stack Trace :&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;[junit] Testcase: testMessageReceived took 0.173 sec&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] Testsuite: com.couchbase.client.vbucket.ConfigurationProviderHTTPDownNodeTest&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 2013-03-15 04:07:54.268 WARN com.couchbase.client.vbucket.ConfigurationProviderHTTP:  Connection problems with URI &lt;a href=&quot;http://bogus:8091/pools&quot;&gt;http://bogus:8091/pools&lt;/a&gt; ...skipping&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] java.net.UnknownHostException: bogus&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:175)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at java.net.Socket.connect(Socket.java:546)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at sun.net.NetworkClient.doConnect(NetworkClient.java:173)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at sun.net.&lt;a href=&quot;http://www.http.HttpClient.openServer(HttpClient.java:409)&quot;&gt;www.http.HttpClient.openServer(HttpClient.java:409)&lt;/a&gt;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at sun.net.&lt;a href=&quot;http://www.http.HttpClient.openServer(HttpClient.java:530)&quot;&gt;www.http.HttpClient.openServer(HttpClient.java:530)&lt;/a&gt;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at sun.net.&lt;a href=&quot;http://www.http.HttpClient.&amp;lt;init&amp;gt;(HttpClient.java:240)&quot;&gt;www.http.HttpClient.&amp;amp;lt;init&amp;amp;gt;(HttpClient.java:240)&lt;/a&gt;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at sun.net.&lt;a href=&quot;http://www.http.HttpClient.New(HttpClient.java:321)&quot;&gt;www.http.HttpClient.New(HttpClient.java:321)&lt;/a&gt;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at sun.net.&lt;a href=&quot;http://www.http.HttpClient.New(HttpClient.java:338)&quot;&gt;www.http.HttpClient.New(HttpClient.java:338)&lt;/a&gt;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at sun.net.&lt;a href=&quot;http://www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:935)&quot;&gt;www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:935)&lt;/a&gt;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at sun.net.&lt;a href=&quot;http://www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:876)&quot;&gt;www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:876)&lt;/a&gt;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at sun.net.&lt;a href=&quot;http://www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:801)&quot;&gt;www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:801)&lt;/a&gt;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at sun.net.&lt;a href=&quot;http://www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1139)&quot;&gt;www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1139)&lt;/a&gt;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at com.couchbase.client.vbucket.ConfigurationProviderHTTP.readToString(ConfigurationProviderHTTP.java:417)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at com.couchbase.client.vbucket.ConfigurationProviderHTTP.readPools(ConfigurationProviderHTTP.java:210)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at com.couchbase.client.vbucket.ConfigurationProviderHTTP.getBucketConfiguration(ConfigurationProviderHTTP.java:147)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at com.couchbase.client.vbucket.ConfigurationProviderHTTPDownNodeTest.testGetBucketConfiguration(ConfigurationProviderHTTPDownNodeTest.java:67)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at java.lang.reflect.Method.invoke(Method.java:616)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at junit.framework.TestCase.runTest(TestCase.java:168)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at junit.framework.TestCase.runBare(TestCase.java:134)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at junit.framework.TestResult$1.protect(TestResult.java:110)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at junit.framework.TestResult.runProtected(TestResult.java:128)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at junit.framework.TestResult.run(TestResult.java:113)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at junit.framework.TestCase.run(TestCase.java:124)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at junit.framework.TestSuite.runTest(TestSuite.java:232)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at junit.framework.TestSuite.run(TestSuite.java:227)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:420)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:911)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:768)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 2013-03-15 04:07:54.724 WARN com.couchbase.client.vbucket.ConfigurationProviderHTTP:  Connection problems with URI &lt;a href=&quot;http://bogustoo:8091/pools&quot;&gt;http://bogustoo:8091/pools&lt;/a&gt; ...skipping&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] java.net.UnknownHostException: bogustoo&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:175)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at java.net.Socket.connect(Socket.java:546)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at sun.net.NetworkClient.doConnect(NetworkClient.java:173)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at sun.net.&lt;a href=&quot;http://www.http.HttpClient.openServer(HttpClient.java:409)&quot;&gt;www.http.HttpClient.openServer(HttpClient.java:409)&lt;/a&gt;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at sun.net.&lt;a href=&quot;http://www.http.HttpClient.openServer(HttpClient.java:530)&quot;&gt;www.http.HttpClient.openServer(HttpClient.java:530)&lt;/a&gt;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at sun.net.&lt;a href=&quot;http://www.http.HttpClient.&amp;lt;init&amp;gt;(HttpClient.java:240)&quot;&gt;www.http.HttpClient.&amp;amp;lt;init&amp;amp;gt;(HttpClient.java:240)&lt;/a&gt;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at sun.net.&lt;a href=&quot;http://www.http.HttpClient.New(HttpClient.java:321)&quot;&gt;www.http.HttpClient.New(HttpClient.java:321)&lt;/a&gt;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at sun.net.&lt;a href=&quot;http://www.http.HttpClient.New(HttpClient.java:338)&quot;&gt;www.http.HttpClient.New(HttpClient.java:338)&lt;/a&gt;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at sun.net.&lt;a href=&quot;http://www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:935)&quot;&gt;www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:935)&lt;/a&gt;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at sun.net.&lt;a href=&quot;http://www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:876)&quot;&gt;www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:876)&lt;/a&gt;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at sun.net.&lt;a href=&quot;http://www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:801)&quot;&gt;www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:801)&lt;/a&gt;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at sun.net.&lt;a href=&quot;http://www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1139)&quot;&gt;www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1139)&lt;/a&gt;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at com.couchbase.client.vbucket.ConfigurationProviderHTTP.readToString(ConfigurationProviderHTTP.java:417)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at com.couchbase.client.vbucket.ConfigurationProviderHTTP.readPools(ConfigurationProviderHTTP.java:210)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at com.couchbase.client.vbucket.ConfigurationProviderHTTP.getBucketConfiguration(ConfigurationProviderHTTP.java:147)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at com.couchbase.client.vbucket.ConfigurationProviderHTTPDownNodeTest.testGetBucketConfiguration(ConfigurationProviderHTTPDownNodeTest.java:67)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at java.lang.reflect.Method.invoke(Method.java:616)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at junit.framework.TestCase.runTest(TestCase.java:168)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at junit.framework.TestCase.runBare(TestCase.java:134)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at junit.framework.TestResult$1.protect(TestResult.java:110)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at junit.framework.TestResult.runProtected(TestResult.java:128)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at junit.framework.TestResult.run(TestResult.java:113)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at junit.framework.TestCase.run(TestCase.java:124)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at junit.framework.TestSuite.runTest(TestSuite.java:232)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at junit.framework.TestSuite.run(TestSuite.java:227)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:420)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:911)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:768)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.991 sec&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] ------------- Standard Error -----------------&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 2013-03-15 04:07:54.268 WARN com.couchbase.client.vbucket.ConfigurationProviderHTTP:  Connection problems with URI &lt;a href=&quot;http://bogus:8091/pools&quot;&gt;http://bogus:8091/pools&lt;/a&gt; ...skipping&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] java.net.UnknownHostException: bogus&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:175)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at java.net.Socket.connect(Socket.java:546)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at sun.net.NetworkClient.doConnect(NetworkClient.java:173)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at sun.net.&lt;a href=&quot;http://www.http.HttpClient.openServer(HttpClient.java:409)&quot;&gt;www.http.HttpClient.openServer(HttpClient.java:409)&lt;/a&gt;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at sun.net.&lt;a href=&quot;http://www.http.HttpClient.openServer(HttpClient.java:530)&quot;&gt;www.http.HttpClient.openServer(HttpClient.java:530)&lt;/a&gt;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at sun.net.&lt;a href=&quot;http://www.http.HttpClient.&amp;lt;init&amp;gt;(HttpClient.java:240)&quot;&gt;www.http.HttpClient.&amp;amp;lt;init&amp;amp;gt;(HttpClient.java:240)&lt;/a&gt;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at sun.net.&lt;a href=&quot;http://www.http.HttpClient.New(HttpClient.java:321)&quot;&gt;www.http.HttpClient.New(HttpClient.java:321)&lt;/a&gt;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at sun.net.&lt;a href=&quot;http://www.http.HttpClient.New(HttpClient.java:338)&quot;&gt;www.http.HttpClient.New(HttpClient.java:338)&lt;/a&gt;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at sun.net.&lt;a href=&quot;http://www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:935)&quot;&gt;www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:935)&lt;/a&gt;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at sun.net.&lt;a href=&quot;http://www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:876)&quot;&gt;www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:876)&lt;/a&gt;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at sun.net.&lt;a href=&quot;http://www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:801)&quot;&gt;www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:801)&lt;/a&gt;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at sun.net.&lt;a href=&quot;http://www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1139)&quot;&gt;www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1139)&lt;/a&gt;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at com.couchbase.client.vbucket.ConfigurationProviderHTTP.readToString(ConfigurationProviderHTTP.java:417)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at com.couchbase.client.vbucket.ConfigurationProviderHTTP.readPools(ConfigurationProviderHTTP.java:210)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at com.couchbase.client.vbucket.ConfigurationProviderHTTP.getBucketConfiguration(ConfigurationProviderHTTP.java:147)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at com.couchbase.client.vbucket.ConfigurationProviderHTTPDownNodeTest.testGetBucketConfiguration(ConfigurationProviderHTTPDownNodeTest.java:67)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at java.lang.reflect.Method.invoke(Method.java:616)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at junit.framework.TestCase.runTest(TestCase.java:168)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at junit.framework.TestCase.runBare(TestCase.java:134)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at junit.framework.TestResult$1.protect(TestResult.java:110)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at junit.framework.TestResult.runProtected(TestResult.java:128)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at junit.framework.TestResult.run(TestResult.java:113)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at junit.framework.TestCase.run(TestCase.java:124)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at junit.framework.TestSuite.runTest(TestSuite.java:232)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at junit.framework.TestSuite.run(TestSuite.java:227)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:420)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:911)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:768)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 2013-03-15 04:07:54.724 WARN com.couchbase.client.vbucket.ConfigurationProviderHTTP:  Connection problems with URI &lt;a href=&quot;http://bogustoo:8091/pools&quot;&gt;http://bogustoo:8091/pools&lt;/a&gt; ...skipping&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] java.net.UnknownHostException: bogustoo&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:175)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at java.net.Socket.connect(Socket.java:546)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at sun.net.NetworkClient.doConnect(NetworkClient.java:173)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at sun.net.&lt;a href=&quot;http://www.http.HttpClient.openServer(HttpClient.java:409)&quot;&gt;www.http.HttpClient.openServer(HttpClient.java:409)&lt;/a&gt;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at sun.net.&lt;a href=&quot;http://www.http.HttpClient.openServer(HttpClient.java:530)&quot;&gt;www.http.HttpClient.openServer(HttpClient.java:530)&lt;/a&gt;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at sun.net.&lt;a href=&quot;http://www.http.HttpClient.&amp;lt;init&amp;gt;(HttpClient.java:240)&quot;&gt;www.http.HttpClient.&amp;amp;lt;init&amp;amp;gt;(HttpClient.java:240)&lt;/a&gt;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at sun.net.&lt;a href=&quot;http://www.http.HttpClient.New(HttpClient.java:321)&quot;&gt;www.http.HttpClient.New(HttpClient.java:321)&lt;/a&gt;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at sun.net.&lt;a href=&quot;http://www.http.HttpClient.New(HttpClient.java:338)&quot;&gt;www.http.HttpClient.New(HttpClient.java:338)&lt;/a&gt;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at sun.net.&lt;a href=&quot;http://www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:935)&quot;&gt;www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:935)&lt;/a&gt;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at sun.net.&lt;a href=&quot;http://www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:876)&quot;&gt;www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:876)&lt;/a&gt;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at sun.net.&lt;a href=&quot;http://www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:801)&quot;&gt;www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:801)&lt;/a&gt;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at sun.net.&lt;a href=&quot;http://www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1139)&quot;&gt;www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1139)&lt;/a&gt;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at com.couchbase.client.vbucket.ConfigurationProviderHTTP.readToString(ConfigurationProviderHTTP.java:417)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at com.couchbase.client.vbucket.ConfigurationProviderHTTP.readPools(ConfigurationProviderHTTP.java:210)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at com.couchbase.client.vbucket.ConfigurationProviderHTTP.getBucketConfiguration(ConfigurationProviderHTTP.java:147)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at com.couchbase.client.vbucket.ConfigurationProviderHTTPDownNodeTest.testGetBucketConfiguration(ConfigurationProviderHTTPDownNodeTest.java:67)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at java.lang.reflect.Method.invoke(Method.java:616)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at junit.framework.TestCase.runTest(TestCase.java:168)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at junit.framework.TestCase.runBare(TestCase.java:134)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at junit.framework.TestResult$1.protect(TestResult.java:110)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at junit.framework.TestResult.runProtected(TestResult.java:128)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at junit.framework.TestResult.run(TestResult.java:113)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at junit.framework.TestCase.run(TestCase.java:124)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at junit.framework.TestSuite.runTest(TestSuite.java:232)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at junit.framework.TestSuite.run(TestSuite.java:227)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:39)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:420)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:911)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:768)</description>
                <environment></environment>
            <key id="23230">JCBC-273</key>
            <summary>Unknown Host Exception should be caught</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="deeptida">Deepti Dawar</reporter>
                        <labels>
                    </labels>
                <created>Fri, 15 Mar 2013 06:15:49 -0500</created>
                <updated>Fri, 15 Mar 2013 10:34:26 -0500</updated>
                                                                                    <votes>0</votes>
                        <watches>2</watches>
                                                    <comments>
                    <comment id="52889" author="daschl" created="Fri, 15 Mar 2013 10:17:33 -0500"  >Why should it be caught? The UnknownHostException is semantically 100% spot on.</comment>
                    <comment id="52894" author="deeptida" created="Fri, 15 Mar 2013 10:34:26 -0500"  >If it is not caught, it should be handled in the junit test such that the junit test should expect that exception otherwise the test fails.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                            <customfield id="customfield_10284" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                <customfieldname>Planned End</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Fri, 15 Mar 2013 12:00:00 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10283" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                <customfieldname>Planned Start</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Fri, 15 Mar 2013 12:00:00 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>9471</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-272] removing non-bootstrap node with memcached bucket okay, but adding the same node results in failures</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-272</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>From the attached log, one will see first the removal of a node (click remove -&amp;gt; click rebalance), and things are generally okay.&lt;br/&gt;
&lt;br/&gt;
Following that, you&amp;#39;ll see the node added (via the config wizard, joining to node 192.168.1.200), and one configuration received, but nothing actually used yet.&lt;br/&gt;
&lt;br/&gt;
Following that, you&amp;#39;ll see the node rebalanced in with a set of assertion errors and then workload ceases.&lt;br/&gt;
&lt;br/&gt;
Notably: &lt;br/&gt;
2013-03-13 19:29:03.924 INFO com.couchbase.client.CouchbaseMemcachedConnection:  Reconnecting {QA sa=/192.168.1.201:11210, #Rops=1, #Wops=0, #iq=0, topRop=Cmd: 0 Opaque: 139891 Key: pool-25-thread-1:48454, topWop=null, toWrite=0, interested=1}&lt;br/&gt;
Exception in thread &amp;quot;Memcached IO over {MemcachedConnection to /192.168.1.200:11210 /192.168.1.202:11210 /192.168.1.201:11210}&amp;quot; java.lang.AssertionError: Attempting to overwrite channel</description>
                <environment>Client 1.1.2 with required spymemcached 2.8.11.  Server 2.0.0 with a single authenticated memcached bucket.   Assertions enabled.</environment>
            <key id="23213">JCBC-272</key>
            <summary>removing non-bootstrap node with memcached bucket okay, but adding the same node results in failures</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="2" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/critical.png">Critical</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="3">Duplicate</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="ingenthr">Matt Ingenthron</reporter>
                        <labels>
                    </labels>
                <created>Wed, 13 Mar 2013 21:35:10 -0500</created>
                <updated>Fri, 15 Mar 2013 03:28:33 -0500</updated>
                    <resolved>Fri, 15 Mar 2013 03:28:33 -0500</resolved>
                                            <fixVersion>1.1.5</fixVersion>
                                                <votes>0</votes>
                        <watches>3</watches>
                                                    <comments>
                    <comment id="52780" author="deeptida" created="Thu, 14 Mar 2013 04:23:15 -0500"  >In this scenario, I am encountering something like this :&lt;br/&gt;
&lt;br/&gt;
[INFO 33.11 cbsdk.scenario failover.py:198] Sleeping for 60 seconds after failover&lt;br/&gt;
[SDKD(WARNING) 33.12 cbsdk.sdkd.local executor.py:66] Mar 14, 2013 2:17:37 AM net.spy.memcached.MemcachedConnection handleIO&lt;br/&gt;
[SDKD(WARNING) 33.12 cbsdk.sdkd.local executor.py:66] INFO: Reconnecting due to exception on {QA sa=/10.3.2.57:11210, #Rops=1, #Wops=0, #iq=0, topRop=Cmd: 0 Opaque: 5552 Key: SimpleKey__REP_149, topWop=null, toWrite=0, interested=1}&lt;br/&gt;
[SDKD(WARNING) 33.12 cbsdk.sdkd.local executor.py:66] java.io.IOException: Disconnected unexpected, will reconnect.&lt;br/&gt;
[SDKD(WARNING) 33.12 cbsdk.sdkd.local executor.py:66] 	at net.spy.memcached.MemcachedConnection.handleReads(MemcachedConnection.java:526)&lt;br/&gt;
[SDKD(WARNING) 33.12 cbsdk.sdkd.local executor.py:66] 	at net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:454)&lt;br/&gt;
[SDKD(WARNING) 33.12 cbsdk.sdkd.local executor.py:66] 	at net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:247)&lt;br/&gt;
[SDKD(WARNING) 33.12 cbsdk.sdkd.local executor.py:66] 	at com.couchbase.client.CouchbaseMemcachedConnection.run(CouchbaseMemcachedConnection.java:158)&lt;br/&gt;
[SDKD(WARNING) 33.12 cbsdk.sdkd.local executor.py:66] Mar 14, 2013 2:17:37 AM net.spy.memcached.MemcachedConnection queueReconnect&lt;br/&gt;
[SDKD(WARNING) 33.12 cbsdk.sdkd.local executor.py:66] WARNING: Closing, and reopening {QA sa=/10.3.2.57:11210, #Rops=1, #Wops=0, #iq=1, topRop=Cmd: 0 Opaque: 5552 Key: SimpleKey__REP_149, topWop=null, toWrite=0, interested=1}, attempt 0.&lt;br/&gt;
[SDKD(WARNING) 33.12 cbsdk.sdkd.local executor.py:66] Mar 14, 2013 2:17:37 AM net.spy.memcached.protocol.TCPMemcachedNodeImpl setupResend&lt;br/&gt;
[SDKD(WARNING) 33.13 cbsdk.sdkd.local executor.py:66] WARNING: Discarding partially completed op: Cmd: 0 Opaque: 5552 Key: SimpleKey__REP_149&lt;br/&gt;
[SDKD(WARNING) 33.13 cbsdk.sdkd.local executor.py:66] Mar 14, 2013 2:17:37 AM com.couchbase.sdkd.cbclient.CommandResult warnAbout&lt;br/&gt;
[SDKD(WARNING) 33.13 cbsdk.sdkd.local executor.py:66] WARNING: Unknown exception encountered (for operation) future warnings will be suppressed&lt;br/&gt;
[SDKD(WARNING) 33.13 cbsdk.sdkd.local executor.py:66] java.lang.RuntimeException: Cancelled&lt;br/&gt;
[SDKD(WARNING) 33.13 cbsdk.sdkd.local executor.py:66] 	at net.spy.memcached.internal.OperationFuture.get(OperationFuture.java:169)&lt;br/&gt;
[SDKD(WARNING) 33.13 cbsdk.sdkd.local executor.py:66] 	at net.spy.memcached.internal.OperationFuture.get(OperationFuture.java:132)&lt;br/&gt;
[SDKD(WARNING) 33.13 cbsdk.sdkd.local executor.py:66] 	at com.couchbase.sdkd.cbclient.PendingCommand.onReady(PendingCommand.java:55)&lt;br/&gt;
[SDKD(WARNING) 33.13 cbsdk.sdkd.local executor.py:66] 	at com.couchbase.sdkd.cbclient.OperationCollector.submitSync(OperationCollector.java:114)&lt;br/&gt;
[SDKD(WARNING) 33.13 cbsdk.sdkd.local executor.py:66] 	at com.couchbase.sdkd.cbclient.OperationCollector.submit(OperationCollector.java:131)&lt;br/&gt;
[SDKD(WARNING) 33.13 cbsdk.sdkd.local executor.py:66] 	at com.couchbase.sdkd.cbclient.GetCommandContext.doOneCommand(GetCommandContext.java:64)&lt;br/&gt;
[SDKD(WARNING) 33.13 cbsdk.sdkd.local executor.py:66] 	at com.couchbase.sdkd.cbclient.CommandContext.execIter(CommandContext.java:276)&lt;br/&gt;
[SDKD(WARNING) 33.13 cbsdk.sdkd.local executor.py:66] 	at com.couchbase.sdkd.cbclient.CommandContext.execute(CommandContext.java:311)&lt;br/&gt;
[SDKD(WARNING) 33.13 cbsdk.sdkd.local executor.py:66] 	at com.couchbase.sdkd.server.SdkServer.executeCommand(SdkServer.java:135)&lt;br/&gt;
[SDKD(WARNING) 33.13 cbsdk.sdkd.local executor.py:66] 	at com.couchbase.sdkd.server.SdkServer.handleRequest(SdkServer.java:156)&lt;br/&gt;
[SDKD(WARNING) 33.13 cbsdk.sdkd.local executor.py:66] 	at com.couchbase.sdkd.server.SdkServer.run(SdkServer.java:212)&lt;br/&gt;
[SDKD(WARNING) 33.16 cbsdk.sdkd.local executor.py:66] Mar 14, 2013 2:17:37 AM com.couchbase.client.CouchbaseMemcachedConnection reconfigure&lt;br/&gt;
[SDKD(WARNING) 33.17 cbsdk.sdkd.local executor.py:66] INFO: Scheduling Node /10.3.2.57:11210for shutdown.&lt;br/&gt;
</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10001">
                <name>Duplicate</name>
                                <outwardlinks description="duplicates">
                            <issuelink>
            <issuekey id="23212">JCBC-271</issuekey>
        </issuelink>
                    </outwardlinks>
                                            </issuelinktype>
                    </issuelinks>
                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                            <customfield id="customfield_10284" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                <customfieldname>Planned End</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Wed, 13 Mar 2013 12:00:00 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10283" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                <customfieldname>Planned Start</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Wed, 13 Mar 2013 12:00:00 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>9457</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-252] Rebound phase encounter assertion errors with memcached connection</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-252</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>Failover one node and add it back while the couchbase server is getting started. &lt;br/&gt;
The workload that is applied is the GetSetWorkload.&lt;br/&gt;
Many assertion errors are appearing in the rebound phase related to state of MemcachedConnection.&lt;br/&gt;
&lt;br/&gt;
</description>
                <environment></environment>
            <key id="22866">JCBC-252</key>
            <summary>Rebound phase encounter assertion errors with memcached connection</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="6" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="deeptida">Deepti Dawar</reporter>
                        <labels>
                    </labels>
                <created>Mon, 25 Feb 2013 05:02:57 -0600</created>
                <updated>Tue, 12 Mar 2013 10:31:48 -0500</updated>
                    <resolved>Tue, 12 Mar 2013 10:31:40 -0500</resolved>
                                                                            <votes>0</votes>
                        <watches>2</watches>
                                                    <comments>
                    <comment id="51319" author="mnunberg" created="Mon, 25 Feb 2013 11:40:59 -0600"  >The log says this is using the 1.1.1 SDK. The current version is 1.1.2</comment>
                    <comment id="52515" author="deeptida" created="Tue, 12 Mar 2013 10:31:07 -0500"  >Finding with the latest version attached.&lt;br/&gt;
&lt;br/&gt;
The scenario passes fine with this version.&lt;br/&gt;
&lt;br/&gt;
Hence, closing the issue.</comment>
                </comments>
                    <attachments>
                    <attachment id="16820" name="assertion_errors_still_reproducible.txt" size="100936" author="deeptida" created="Mon, 25 Feb 2013 05:17:57 -0600" />
                    <attachment id="16935" name="scenario_passing.log" size="18367" author="deeptida" created="Tue, 12 Mar 2013 10:31:07 -0500" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                            <customfield id="customfield_10284" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                <customfieldname>Planned End</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Mon, 25 Feb 2013 12:00:00 -0600</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10283" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                <customfieldname>Planned Start</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Mon, 25 Feb 2013 12:00:00 -0600</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>9090</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-261] Warmup Backoff breaks Memcache Buckets</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-261</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>A recent change regarding warmup backoff breaks compat with memcache type buckets.</description>
                <environment></environment>
            <key id="23128">JCBC-261</key>
            <summary>Warmup Backoff breaks Memcache Buckets</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="1" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/blocker.png">Blocker</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="daschl">Michael Nitschinger</reporter>
                        <labels>
                    </labels>
                <created>Mon, 11 Mar 2013 09:35:18 -0500</created>
                <updated>Tue, 12 Mar 2013 06:22:04 -0500</updated>
                    <resolved>Tue, 12 Mar 2013 06:22:04 -0500</resolved>
                            <version>1.1.3</version>
                                <fixVersion>1.1.4</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>1</watches>
                                                            <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                            <customfield id="customfield_10284" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                <customfieldname>Planned End</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Mon, 11 Mar 2013 12:00:00 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10283" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                <customfieldname>Planned Start</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Mon, 11 Mar 2013 12:00:00 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>9345</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-265] ConfigurationProviderMock fails during test.</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-265</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>Hi Michael,&lt;br/&gt;
&lt;br/&gt;
This issue is reproducible as below :&lt;br/&gt;
&lt;br/&gt;
java.lang.AssertionError: Could not verify the init of a memcache bucket&lt;br/&gt;
	at org.junit.Assert.fail(Assert.java:91)&lt;br/&gt;
	at org.junit.Assert.assertTrue(Assert.java:43)&lt;br/&gt;
	at com.couchbase.client.CouchbaseClientMemcachedBucketTest.testMemcacheBucketInitialization(CouchbaseClientMemcachedBucketTest.java:78)&lt;br/&gt;
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;br/&gt;
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)&lt;br/&gt;
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;br/&gt;
	at java.lang.reflect.Method.invoke(Method.java:601)&lt;br/&gt;
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)&lt;br/&gt;
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)&lt;br/&gt;
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)&lt;br/&gt;
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)&lt;br/&gt;
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)&lt;br/&gt;
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)&lt;br/&gt;
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)&lt;br/&gt;
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)&lt;br/&gt;
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)&lt;br/&gt;
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)&lt;br/&gt;
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)&lt;br/&gt;
	at org.junit.runners.ParentRunner.run(ParentRunner.java:236)&lt;br/&gt;
	at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)&lt;br/&gt;
	at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)&lt;br/&gt;
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)&lt;br/&gt;
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)&lt;br/&gt;
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)&lt;br/&gt;
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)&lt;br/&gt;
&lt;br/&gt;
</description>
                <environment></environment>
            <key id="23161">JCBC-265</key>
            <summary>ConfigurationProviderMock fails during test.</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="4" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/minor.png">Minor</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="deeptida">Deepti Dawar</reporter>
                        <labels>
                    </labels>
                <created>Tue, 12 Mar 2013 03:38:11 -0500</created>
                <updated>Tue, 12 Mar 2013 05:52:45 -0500</updated>
                    <resolved>Tue, 12 Mar 2013 05:52:45 -0500</resolved>
                                            <fixVersion>1.1.4</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>2</watches>
                                                    <comments>
                    <comment id="52500" author="daschl" created="Tue, 12 Mar 2013 05:49:49 -0500"  >This is already up on review: &lt;a href=&quot;http://review.couchbase.com/#/c/25101/&quot;&gt;http://review.couchbase.com/#/c/25101/&lt;/a&gt;</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10000">
                <name>Dependency</name>
                                                <inwardlinks description="blocks">
                                    </inwardlinks>
                            </issuelinktype>
                    </issuelinks>
                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                            <customfield id="customfield_10284" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                <customfieldname>Planned End</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Tue, 12 Mar 2013 12:00:00 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10283" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                <customfieldname>Planned Start</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Tue, 12 Mar 2013 12:00:00 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>9411</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-264] create a unit test for ensuring couchbase client configuration works with memcached bucket type</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-264</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>With a recent bug, we had the config&amp;#39;s lack of warmup throwing off the configuration provider.  This should be unit-testable since we have unit tests for the configuration provider.</description>
                <environment></environment>
            <key id="23149">JCBC-264</key>
            <summary>create a unit test for ensuring couchbase client configuration works with memcached bucket type</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="ingenthr">Matt Ingenthron</reporter>
                        <labels>
                    </labels>
                <created>Mon, 11 Mar 2013 14:47:34 -0500</created>
                <updated>Mon, 11 Mar 2013 15:44:29 -0500</updated>
                                                                                    <votes>0</votes>
                        <watches>1</watches>
                                                    <comments>
                    <comment id="52452" author="ingenthr" created="Mon, 11 Mar 2013 15:43:49 -0500"  >Opened on the wrong project.  I&amp;#39;ll fix it.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                <customfield id="customfield_10283" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                <customfieldname>Planned Start</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Mon, 11 Mar 2013 12:00:00 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>9356</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-263] memcached connection fails with &quot;Attempting to overwrite channel&quot;</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-263</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>In this case, multiple CouchbaseClient objects are being connected. At the 14th instance, this is printed to the screen and the application hangs.&lt;br/&gt;
&lt;br/&gt;
[SDKD(WARNING) 5.49 cbsdk.sdkd.remote remote.py:266] WARNING: URIs: [&lt;a href=&quot;http://10.2.1.102:8091/pools?#&quot;&gt;http://10.2.1.102:8091/pools?#&lt;/a&gt;]&lt;br/&gt;
[SDKD(WARNING) 5.51 cbsdk.sdkd.remote remote.py:266] Mar 8, 2013 5:39:20 PM com.couchbase.sdkd.cbclient.Handle makeViewTimeout                                                                                              &lt;br/&gt;
[SDKD(WARNING) 5.51 cbsdk.sdkd.remote remote.py:266] WARNING: &lt;a href=&quot;http://www.couchbase.com/issues/browse/JCBC-168&quot; title=&quot;CouchClient.getView always throws an exception&quot;&gt;&lt;strike&gt;JCBC-168&lt;/strike&gt;&lt;/a&gt;: Manually setting view timeout to 75000&lt;br/&gt;
[SDKD(WARNING) 5.51 cbsdk.sdkd.remote remote.py:266] Mar 8, 2013 5:39:20 PM net.spy.memcached.MemcachedConnection createConnections                                                                                         &lt;br/&gt;
[SDKD(WARNING) 5.51 cbsdk.sdkd.remote remote.py:266] INFO: Added {QA sa=/10.2.1.102:11210, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0} to connect queue                                     &lt;br/&gt;
[SDKD(WARNING) 5.53 cbsdk.sdkd.remote remote.py:266] Mar 8, 2013 5:39:20 PM net.spy.memcached.MemcachedConnection createConnections                                                                                         &lt;br/&gt;
[SDKD(WARNING) 5.53 cbsdk.sdkd.remote remote.py:266] INFO: Added {QA sa=/10.2.1.101:11210, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0} to connect queue                                     &lt;br/&gt;
[SDKD(WARNING) 5.53 cbsdk.sdkd.remote remote.py:266] Mar 8, 2013 5:39:20 PM com.couchbase.client.CouchbaseClient &amp;lt;init&amp;gt;                                                                                                     &lt;br/&gt;
[SDKD(WARNING) 5.53 cbsdk.sdkd.remote remote.py:266] INFO: viewmode property isn&amp;#39;t defined. Setting viewmode to production mode                                                                                             &lt;br/&gt;
[SDKD(WARNING) 5.53 cbsdk.sdkd.remote remote.py:266] Mar 8, 2013 5:39:20 PM net.spy.memcached.MemcachedConnection handleIO                                                                                                  &lt;br/&gt;
[SDKD(WARNING) 5.53 cbsdk.sdkd.remote remote.py:266] INFO: Connection state changed for &lt;a href=&apos;mailto:sun.nio.ch.SelectionKeyImpl@6d79953c&apos;&gt;sun.nio.ch.SelectionKeyImpl@6d79953c&lt;/a&gt;                                                                                                &lt;br/&gt;
[SDKD(WARNING) 5.53 cbsdk.sdkd.remote remote.py:266] Mar 8, 2013 5:39:20 PM net.spy.memcached.MemcachedConnection handleIO                                                                                                  &lt;br/&gt;
[SDKD(WARNING) 5.53 cbsdk.sdkd.remote remote.py:266] INFO: Connection state changed for &lt;a href=&apos;mailto:sun.nio.ch.SelectionKeyImpl@4934ce4a&apos;&gt;sun.nio.ch.SelectionKeyImpl@4934ce4a&lt;/a&gt;                                                                                                &lt;br/&gt;
[SDKD(WARNING) 5.55 cbsdk.sdkd.remote remote.py:266] Mar 8, 2013 5:39:20 PM net.spy.memcached.MemcachedConnection queueReconnect                                                                                            &lt;br/&gt;
[SDKD(WARNING) 5.55 cbsdk.sdkd.remote remote.py:266] WARNING: Closing, and reopening {QA sa=/10.2.1.101:11210, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=8}, attempt 1.                      &lt;br/&gt;
[SDKD(WARNING) 5.55 cbsdk.sdkd.remote remote.py:266] Mar 8, 2013 5:39:20 PM net.spy.memcached.MemcachedConnection handleIO                                                                                                  &lt;br/&gt;
[SDKD(WARNING) 5.55 cbsdk.sdkd.remote remote.py:266] INFO: Reconnecting due to failure to connect to {QA sa=/10.2.1.101:11210, #Rops=0, #Wops=1, #iq=0, topRop=null, topWop=Cmd: 10 Opaque: 55, toWrite=0, interested=0}    &lt;br/&gt;
[SDKD(WARNING) 5.55 cbsdk.sdkd.remote remote.py:266] java.net.ConnectException: Could not send noop upon connect! This may indicate a running, but not responding memcached instance.                                       &lt;br/&gt;
[SDKD(WARNING) 5.55 cbsdk.sdkd.remote remote.py:266]    at net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:439)                                                                                     &lt;br/&gt;
[SDKD(WARNING) 5.55 cbsdk.sdkd.remote remote.py:266]    at net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:247)                                                                                     &lt;br/&gt;
[SDKD(WARNING) 5.55 cbsdk.sdkd.remote remote.py:266]    at com.couchbase.client.CouchbaseMemcachedConnection.run(CouchbaseMemcachedConnection.java:158)                                                                     &lt;br/&gt;
[SDKD(WARNING) 5.55 cbsdk.sdkd.remote remote.py:266] Mar 8, 2013 5:39:20 PM net.spy.memcached.MemcachedConnection queueReconnect                                                                                            &lt;br/&gt;
[SDKD(WARNING) 5.55 cbsdk.sdkd.remote remote.py:266] WARNING: Closing, and reopening {QA sa=/10.2.1.101:11210, #Rops=0, #Wops=1, #iq=0, topRop=null, topWop=Cmd: 10 Opaque: 55, toWrite=0, interested=0}, attempt 1.        &lt;br/&gt;
[SDKD(WARNING) 5.55 cbsdk.sdkd.remote remote.py:266] Mar 8, 2013 5:39:20 PM net.spy.memcached.MemcachedConnection queueReconnect                                                                                            &lt;br/&gt;
[SDKD(WARNING) 5.55 cbsdk.sdkd.remote remote.py:266] WARNING: Closing, and reopening {QA sa=/10.2.1.101:11210, #Rops=0, #Wops=1, #iq=0, topRop=null, topWop=Cmd: 10 Opaque: 55, toWrite=0, interested=0}, attempt 3.        &lt;br/&gt;
[SDKD(WARNING) 5.55 cbsdk.sdkd.remote remote.py:266] Mar 8, 2013 5:39:20 PM net.spy.memcached.MemcachedConnection queueReconnect                                                                                            &lt;br/&gt;
[SDKD(WARNING) 5.55 cbsdk.sdkd.remote remote.py:266] INFO: The channel or socket was null for {QA sa=/10.2.1.101:11210, #Rops=0, #Wops=1, #iq=0, topRop=null, topWop=Cmd: 10 Opaque: 55, toWrite=0, interested=0}           &lt;br/&gt;
[SDKD(WARNING) 5.55 cbsdk.sdkd.remote remote.py:266] Exception in thread &amp;quot;SDK Handle-14&amp;quot; java.lang.NullPointerException                                                                                                     &lt;br/&gt;
[SDKD(WARNING) 5.55 cbsdk.sdkd.remote remote.py:266]    at net.spy.memcached.MemcachedConnection.queueReconnect(MemcachedConnection.java:589)                                                                               &lt;br/&gt;
[SDKD(WARNING) 5.55 cbsdk.sdkd.remote remote.py:266]    at com.couchbase.client.CouchbaseMemcachedConnection.reconfigure(CouchbaseMemcachedConnection.java:132)                                                             &lt;br/&gt;
[SDKD(WARNING) 5.55 cbsdk.sdkd.remote remote.py:266]    at com.couchbase.client.CouchbaseClient.reconfigure(CouchbaseClient.java:273)                                                                                       &lt;br/&gt;
[SDKD(WARNING) 5.55 cbsdk.sdkd.remote remote.py:266]    at com.couchbase.client.vbucket.ReconfigurableObserver.update(ReconfigurableObserver.java:54)                                                                       &lt;br/&gt;
[SDKD(WARNING) 5.55 cbsdk.sdkd.remote remote.py:266]    at java.util.Observable.notifyObservers(Observable.java:159)                                                                                                        &lt;br/&gt;
[SDKD(WARNING) 5.55 cbsdk.sdkd.remote remote.py:266]    at com.couchbase.client.vbucket.BucketMonitor.setBucket(BucketMonitor.java:258)                                                                                     &lt;br/&gt;
[SDKD(WARNING) 5.55 cbsdk.sdkd.remote remote.py:266]    at com.couchbase.client.vbucket.BucketMonitor.startMonitor(BucketMonitor.java:188)                                                                                  &lt;br/&gt;
[SDKD(WARNING) 5.55 cbsdk.sdkd.remote remote.py:266]    at com.couchbase.client.vbucket.ConfigurationProviderHTTP.subscribe(ConfigurationProviderHTTP.java:288)                                                             &lt;br/&gt;
[SDKD(WARNING) 5.55 cbsdk.sdkd.remote remote.py:266]    at com.couchbase.client.CouchbaseClient.&amp;lt;init&amp;gt;(CouchbaseClient.java:246)                                                                                            &lt;br/&gt;
[SDKD(WARNING) 5.55 cbsdk.sdkd.remote remote.py:266]    at com.couchbase.sdkd.SdkdConfig.getClient(SdkdConfig.java:99)                                                                                                      &lt;br/&gt;
[SDKD(WARNING) 5.55 cbsdk.sdkd.remote remote.py:266]    at com.couchbase.sdkd.cbclient.Handle.&amp;lt;init&amp;gt;(Handle.java:159)                                                                                                       &lt;br/&gt;
[SDKD(WARNING) 5.59 cbsdk.sdkd.remote remote.py:266]    at com.couchbase.sdkd.server.SdkServer.executeCommand(SdkServer.java:104)                                                                                           &lt;br/&gt;
[SDKD(WARNING) 5.59 cbsdk.sdkd.remote remote.py:266]    at com.couchbase.sdkd.server.SdkServer.handleRequest(SdkServer.java:189)                                                                                            &lt;br/&gt;
[SDKD(WARNING) 5.59 cbsdk.sdkd.remote remote.py:266]    at com.couchbase.sdkd.server.SdkServer.run(SdkServer.java:245)&lt;br/&gt;
[SDKD(WARNING) 5.59 cbsdk.sdkd.remote remote.py:266] Mar 8, 2013 5:39:20 PM net.spy.memcached.auth.AuthThread$1 receivedStatus&lt;br/&gt;
[SDKD(WARNING) 5.59 cbsdk.sdkd.remote remote.py:266] INFO: Authenticated to /10.2.1.102:11210&lt;br/&gt;
[SDKD(WARNING) 13.55 cbsdk.sdkd.remote remote.py:266] Mar 8, 2013 5:39:28 PM net.spy.memcached.MemcachedConnection attemptReconnects&lt;br/&gt;
[SDKD(WARNING) 13.55 cbsdk.sdkd.remote remote.py:266] INFO: Reconnecting {QA sa=/10.2.1.101:11210, #Rops=0, #Wops=1, #iq=0, topRop=null, topWop=Cmd: 10 Opaque: 55, toWrite=0, interested=0}&lt;br/&gt;
[SDKD(WARNING) 13.55 cbsdk.sdkd.remote remote.py:266] Mar 8, 2013 5:39:28 PM net.spy.memcached.MemcachedConnection handleIO&lt;br/&gt;
[SDKD(WARNING) 13.55 cbsdk.sdkd.remote remote.py:266] INFO: Connection state changed for &lt;a href=&apos;mailto:sun.nio.ch.SelectionKeyImpl@79884a40&apos;&gt;sun.nio.ch.SelectionKeyImpl@79884a40&lt;/a&gt;&lt;br/&gt;
[SDKD(WARNING) 13.56 cbsdk.sdkd.remote remote.py:266] Mar 8, 2013 5:39:28 PM net.spy.memcached.auth.AuthThread$1 receivedStatus&lt;br/&gt;
[SDKD(WARNING) 13.56 cbsdk.sdkd.remote remote.py:266] INFO: Authenticated to /10.2.1.101:11210&lt;br/&gt;
[SDKD(WARNING) 21.55 cbsdk.sdkd.remote remote.py:266] Mar 8, 2013 5:39:36 PM net.spy.memcached.MemcachedConnection attemptReconnects&lt;br/&gt;
[SDKD(WARNING) 21.55 cbsdk.sdkd.remote remote.py:266] INFO: Reconnecting {QA sa=/10.2.1.101:11210, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0}&lt;br/&gt;
[SDKD(WARNING) 21.55 cbsdk.sdkd.remote remote.py:266] Exception in thread &amp;quot;Memcached IO over {MemcachedConnection to /10.2.1.102:11210 /10.2.1.101:11210}&amp;quot; java.lang.AssertionError: Attempting to overwrite channel&lt;br/&gt;
[SDKD(WARNING) 21.55 cbsdk.sdkd.remote remote.py:266]   at net.spy.memcached.protocol.TCPMemcachedNodeImpl.setChannel(TCPMemcachedNodeImpl.java:496)&lt;br/&gt;
[SDKD(WARNING) 21.55 cbsdk.sdkd.remote remote.py:266]   at net.spy.memcached.protocol.TCPMemcachedNodeImpl.registerChannel(TCPMemcachedNodeImpl.java:484)&lt;br/&gt;
[SDKD(WARNING) 21.55 cbsdk.sdkd.remote remote.py:266]   at net.spy.memcached.MemcachedConnection.attemptReconnects(MemcachedConnection.java:680)&lt;br/&gt;
[SDKD(WARNING) 21.55 cbsdk.sdkd.remote remote.py:266]   at net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:262)&lt;br/&gt;
[SDKD(WARNING) 21.55 cbsdk.sdkd.remote remote.py:266]   at com.couchbase.client.CouchbaseMemcachedConnection.run(CouchbaseMemcachedConnection.java:158)&lt;br/&gt;
</description>
                <environment>This is a &amp;quot;run of the mill&amp;quot; memcached instance. I have not particularly been able to reproduce it though - nevertheless I am placing it in here so that it may be noted.&lt;br/&gt;
&lt;br/&gt;
Server version is 2.0.0</environment>
            <key id="23146">JCBC-263</key>
            <summary>memcached connection fails with &quot;Attempting to overwrite channel&quot;</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="mnunberg">Mark Nunberg</reporter>
                        <labels>
                    </labels>
                <created>Mon, 11 Mar 2013 13:38:10 -0500</created>
                <updated>Mon, 11 Mar 2013 13:45:28 -0500</updated>
                                    <version>1.1.2</version>
                                                <component>library</component>
                                <votes>0</votes>
                        <watches>1</watches>
                                                            <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                            <customfield id="customfield_10284" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                <customfieldname>Planned End</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Mon, 11 Mar 2013 12:00:00 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10283" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                <customfieldname>Planned Start</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Mon, 11 Mar 2013 12:00:00 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>9354</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-262] Transcoder error not reported correctly</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-262</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>When a custom transcoder has an error, certain CAS operations fail with an error about the operation being cancelled, which is misleading and doesn&amp;#39;t point to the transcoder as a problem.&lt;br/&gt;
&lt;br/&gt;
Logs:&lt;br/&gt;
Mar 7, 2013 10:20:37 AM net.spy.memcached.protocol.TCPMemcachedNodeImpl setupResend&lt;br/&gt;
WARNING: Discarding partially completed op: Cmd: 0 Opaque: 120 Key: *****&lt;br/&gt;
Mar 7, 2013 10:20:40 AM net.spy.memcached.auth.AuthThread$1 receivedStatus&lt;br/&gt;
INFO: Authenticated to 127.0.0.1/127.0.0.1:11210&lt;br/&gt;
&lt;br/&gt;
The error occurs on the get on the future. It is in fact a marshalling error in the transcoder but that never gets reported.&lt;br/&gt;
&lt;br/&gt;
Code:&lt;br/&gt;
OperationFuture&amp;lt;CASValue&amp;lt;documentType&amp;gt;&amp;gt; future = this.client.asyncGets(key, transcoder); &lt;br/&gt;
return future.get(5, TimeUnit.SECONDS);&lt;br/&gt;
&lt;br/&gt;
Transcoder (incorrect):&lt;br/&gt;
&lt;br/&gt;
@Component &lt;br/&gt;
public class TranscoderImpl&amp;lt;T&amp;gt; implements Transcoder&amp;lt;T&amp;gt; {&lt;br/&gt;
&lt;br/&gt;
@Autowired &lt;br/&gt;
@Qualifier(&amp;quot;JSON&amp;quot;) &lt;br/&gt;
Marshaller marshaler; &lt;br/&gt;
&lt;br/&gt;
@Autowired &lt;br/&gt;
@Qualifier(&amp;quot;JSON&amp;quot;)	&lt;br/&gt;
Unmarshaller unmarshaler; &lt;br/&gt;
&lt;br/&gt;
@Override &lt;br/&gt;
public boolean asyncDecode(CachedData arg0) { &lt;br/&gt;
// TODO Auto-generated method stub &lt;br/&gt;
return false; &lt;br/&gt;
}&lt;br/&gt;
&lt;br/&gt;
@Override &lt;br/&gt;
public T decode(CachedData arg0) { &lt;br/&gt;
// TODO Auto-generated method stub &lt;br/&gt;
StreamSource str = new StreamSource(new java.io.ByteArrayInputStream(arg0.getData())); &lt;br/&gt;
&lt;br/&gt;
Object obj; &lt;br/&gt;
try { &lt;br/&gt;
obj = unmarshaler.unmarshal(str); &lt;br/&gt;
} catch (Exception e) { &lt;br/&gt;
// TODO Auto-generated catch block &lt;br/&gt;
throw new RuntimeException(e); &lt;br/&gt;
} &lt;br/&gt;
&lt;br/&gt;
return (T)obj; &lt;br/&gt;
}&lt;br/&gt;
&lt;br/&gt;
@Override &lt;br/&gt;
public CachedData encode(T arg0) { &lt;br/&gt;
// TODO Auto-generated method stub &lt;br/&gt;
ByteArrayOutputStream sink = new ByteArrayOutputStream(); &lt;br/&gt;
&lt;br/&gt;
try { &lt;br/&gt;
marshaler.marshal(arg0, new StreamResult(sink)); &lt;br/&gt;
} catch (Exception e) { &lt;br/&gt;
// TODO Auto-generated catch block &lt;br/&gt;
throw new RuntimeException(e); &lt;br/&gt;
} &lt;br/&gt;
&lt;br/&gt;
return new CachedData(0, sink.toByteArray(), getMaxSize()); &lt;br/&gt;
}&lt;br/&gt;
&lt;br/&gt;
@Override &lt;br/&gt;
public int getMaxSize() { &lt;br/&gt;
// TODO Auto-generated method stub &lt;br/&gt;
return CachedData.MAX_SIZE; &lt;br/&gt;
}&lt;br/&gt;
&lt;br/&gt;
}</description>
                <environment></environment>
            <key id="23130">JCBC-262</key>
            <summary>Transcoder error not reported correctly</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="perry">Perry Krug</reporter>
                        <labels>
                    </labels>
                <created>Mon, 11 Mar 2013 09:42:32 -0500</created>
                <updated>Mon, 11 Mar 2013 09:42:32 -0500</updated>
                                    <version>1.1.3</version>
                                                <component>library</component>
                                <votes>0</votes>
                        <watches>1</watches>
                                                            <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                            <customfield id="customfield_10284" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                <customfieldname>Planned End</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Mon, 11 Mar 2013 12:00:00 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10283" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                <customfieldname>Planned Start</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Mon, 11 Mar 2013 12:00:00 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>9347</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-3] running integration tests under CI</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-3</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description></description>
                <environment></environment>
            <key id="15827">JCBC-3</key>
            <summary>running integration tests under CI</summary>
                <type id="3" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/task.png">Task</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="6" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="deeptida">Deepti Dawar</assignee>
                                <reporter username="ingenthr">Matt Ingenthron</reporter>
                        <labels>
                    </labels>
                <created>Thu, 12 Jan 2012 01:03:22 -0600</created>
                <updated>Mon, 11 Mar 2013 04:11:25 -0500</updated>
                    <resolved>Mon, 11 Feb 2013 04:29:41 -0600</resolved>
                                            <fixVersion>.next</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>1</watches>
                                                    <comments>
                    <comment id="49167" author="daschl" created="Thu, 31 Jan 2013 09:20:31 -0600"  >Since we mix unit and integration tests in the test suite, I consider this one ticket (therefore duplicating &lt;a href=&quot;http://www.couchbase.com/issues/browse/JCBC-2&quot; title=&quot;running unit tests under CI&quot;&gt;&lt;strike&gt;JCBC-2&lt;/strike&gt;&lt;/a&gt;).</comment>
                    <comment id="49168" author="daschl" created="Thu, 31 Jan 2013 09:20:54 -0600"  >Assigning to Deepti because she&amp;#39;s been working on this currently.</comment>
                    <comment id="50010" author="deeptida" created="Mon, 11 Feb 2013 04:28:58 -0600"  >&lt;a href=&quot;http://review.couchbase.org/#/c/24299/&quot;&gt;http://review.couchbase.org/#/c/24299/&lt;/a&gt;</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10001">
                <name>Duplicate</name>
                                                <inwardlinks description="is duplicated by">
                            <issuelink>
            <issuekey id="15806">JCBC-2</issuekey>
        </issuelink>
                    </inwardlinks>
                            </issuelinktype>
                    </issuelinks>
                <attachments>
                    <attachment id="16486" name="test_errors.png" size="96616" author="deeptida" created="Fri, 1 Feb 2013 05:47:23 -0600" />
                    <attachment id="16487" name="test_failures.png" size="93134" author="deeptida" created="Fri, 1 Feb 2013 05:47:23 -0600" />
                    <attachment id="16488" name="test_results.png" size="80249" author="deeptida" created="Fri, 1 Feb 2013 05:48:41 -0600" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>2954</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-257] NPE encountered in the DefaultConnectionFactory as per CBSE-404</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-257</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>NPE encountered in the DefaultConnectionFactory as per customer explanation in CBSE-404.&lt;br/&gt;
This JCBC targets to fix the code related to this problem.</description>
                <environment></environment>
            <key id="22994">JCBC-257</key>
            <summary>NPE encountered in the DefaultConnectionFactory as per CBSE-404</summary>
                <type id="3" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/task.png">Task</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="6" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="deeptida">Deepti Dawar</assignee>
                                <reporter username="deeptida">Deepti Dawar</reporter>
                        <labels>
                    </labels>
                <created>Mon, 4 Mar 2013 04:29:34 -0600</created>
                <updated>Mon, 11 Mar 2013 04:10:46 -0500</updated>
                    <resolved>Tue, 5 Mar 2013 07:53:57 -0600</resolved>
                                            <fixVersion>1.1.4</fixVersion>
                                                <votes>0</votes>
                        <watches>2</watches>
                                                    <comments>
                    <comment id="51881" author="daschl" created="Mon, 4 Mar 2013 04:35:33 -0600"  >Hi Deepti,&lt;br/&gt;
&lt;br/&gt;
can you update me quickly what&amp;#39;s going on there and what the proposed fix from your side is? Thanks.</comment>
                    <comment id="51883" author="deeptida" created="Mon, 4 Mar 2013 04:47:25 -0600"  >CouchbaseConnectionFactoryBuilder has a method buildCouchbaseConnection which when called before setting the values for DefaultHashAlgorithm and FailureMode, gives a null pointer in the toString method of DefaultConnectionFactory.&lt;br/&gt;
&lt;br/&gt;
There are two ways of fixing this :&lt;br/&gt;
&lt;br/&gt;
1) Null check is added in toString of DefaultConnectionFactory&lt;br/&gt;
2) Default values of DefaultHashAlgorithm and FailureMode are provided as constants in CouchbaseConnectionFactoryBuilder.&lt;br/&gt;
&lt;br/&gt;
I am fixing it the first way.&lt;br/&gt;
&lt;br/&gt;
You can have a look at :&lt;br/&gt;
&lt;a href=&quot;http://review.couchbase.org/24968&quot;&gt;http://review.couchbase.org/24968&lt;/a&gt;</comment>
                    <comment id="52039" author="daschl" created="Tue, 5 Mar 2013 07:54:07 -0600"  >Has been merged into master.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                <customfield id="customfield_10283" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                <customfieldname>Planned Start</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Mon, 4 Mar 2013 12:00:00 -0600</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>9206</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-249] Observe tests enhancement</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-249</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>Few observe tests need to be added as per the latest test plan.</description>
                <environment></environment>
            <key id="22748">JCBC-249</key>
            <summary>Observe tests enhancement</summary>
                <type id="3" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/task.png">Task</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="6" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="deeptida">Deepti Dawar</assignee>
                                <reporter username="deeptida">Deepti Dawar</reporter>
                        <labels>
                    </labels>
                <created>Mon, 18 Feb 2013 07:42:55 -0600</created>
                <updated>Mon, 11 Mar 2013 04:09:46 -0500</updated>
                    <resolved>Tue, 5 Mar 2013 07:49:23 -0600</resolved>
                                            <fixVersion>1.1.4</fixVersion>
                                                <votes>0</votes>
                        <watches>1</watches>
                                                    <comments>
                    <comment id="51184" author="deeptida" created="Thu, 21 Feb 2013 21:48:01 -0600"  >&lt;a href=&quot;http://review.couchbase.org/#/c/24767/&quot;&gt;http://review.couchbase.org/#/c/24767/&lt;/a&gt;</comment>
                    <comment id="52404" author="deeptida" created="Mon, 11 Mar 2013 04:09:46 -0500"  >Merged into the repository. Hence, closing the issue.</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10000">
                <name>Dependency</name>
                                <outwardlinks description="depends on">
                                    </outwardlinks>
                                            </issuelinktype>
                    </issuelinks>
                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                <customfield id="customfield_10283" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                <customfieldname>Planned Start</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Mon, 18 Feb 2013 12:00:00 -0600</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8873</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-225] ClusterManagerTest - Handle failure in testWithSomeBadAddrs</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-225</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>Handle failure in testWithSomeBadAddrs.&lt;br/&gt;
The failure in this test is happening because the RuntimeException is not caught.&lt;br/&gt;
</description>
                <environment></environment>
            <key id="22066">JCBC-225</key>
            <summary>ClusterManagerTest - Handle failure in testWithSomeBadAddrs</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="6" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="deeptida">Deepti Dawar</assignee>
                                <reporter username="deeptida">Deepti Dawar</reporter>
                        <labels>
                    </labels>
                <created>Wed, 30 Jan 2013 03:35:02 -0600</created>
                <updated>Mon, 11 Mar 2013 04:08:50 -0500</updated>
                    <resolved>Wed, 30 Jan 2013 06:01:36 -0600</resolved>
                            <version>1.1.1</version>
                                <fixVersion>1.1.2</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>1</watches>
                                                    <comments>
                    <comment id="48994" author="deeptida" created="Wed, 30 Jan 2013 06:01:23 -0600"  >Checked in at &lt;a href=&quot;http://review.couchbase.org/#/c/24299/&quot;&gt;http://review.couchbase.org/#/c/24299/&lt;/a&gt;</comment>
                    <comment id="52403" author="deeptida" created="Mon, 11 Mar 2013 04:08:50 -0500"  >Merged into repository.</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10001">
                <name>Duplicate</name>
                                                <inwardlinks description="is duplicated by">
                            <issuelink>
            <issuekey id="21220">JCBC-176</issuekey>
        </issuelink>
                    </inwardlinks>
                            </issuelinktype>
                    </issuelinks>
                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8756</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-260] Upload the 1.1.3 release notes on Website</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-260</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>Release note are not up to date on &lt;a href=&quot;http://www.couchbase.com/develop&quot;&gt;www.couchbase.com/develop&lt;/a&gt;</description>
                <environment></environment>
            <key id="23076">JCBC-260</key>
            <summary>Upload the 1.1.3 release notes on Website</summary>
                <type id="3" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/task.png">Task</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="6" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="4">Incomplete</resolution>
                    <security id="10011">Public</security>
                        <assignee username="kzeller">Karen Zeller</assignee>
                                <reporter username="tgrall">Tug Grall</reporter>
                        <labels>
                    </labels>
                <created>Thu, 7 Mar 2013 08:14:46 -0600</created>
                <updated>Thu, 7 Mar 2013 12:06:34 -0600</updated>
                    <resolved>Thu, 7 Mar 2013 12:06:28 -0600</resolved>
                            <version>1.1.3</version>
                                                <component>docs</component>
                                <votes>0</votes>
                        <watches>2</watches>
                                                    <comments>
                    <comment id="52247" author="kzeller" created="Thu, 7 Mar 2013 12:06:28 -0600"  >Uploaded just not processed by production server</comment>
                    <comment id="52248" author="kzeller" created="Thu, 7 Mar 2013 12:06:34 -0600"  >Uploaded just not processed by production server</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                <customfield id="customfield_10283" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                <customfieldname>Planned Start</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Thu, 7 Mar 2013 12:00:00 -0600</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>9287</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-259] String starting with number converted to number only in setKey for views</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-259</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>If a key of &amp;quot;3abc&amp;quot; is passed in to a setKey for a view query, it will convert this into just 3.&lt;br/&gt;
&lt;br/&gt;
Looking at /src/main/java/com/couchbase/client/protocol/views/Query.java:558&lt;br/&gt;
it looks like NumberFormat.getInstance().parse(value.toString()).toString(); will convert 3abc to 3.&lt;br/&gt;
&lt;br/&gt;
This is because NumberFormat.parse is define to &amp;quot;Parses text from the beginning of the given string to produce a number. The method may not use the entire text of the given string.&amp;quot; so if the string starts with a number it will not fail out and just be used as a string.&lt;br/&gt;
&lt;br/&gt;
</description>
                <environment></environment>
            <key id="23064">JCBC-259</key>
            <summary>String starting with number converted to number only in setKey for views</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="james.mauss">James Mauss</reporter>
                        <labels>
                    </labels>
                <created>Wed, 6 Mar 2013 14:52:18 -0600</created>
                <updated>Wed, 6 Mar 2013 14:52:18 -0600</updated>
                                    <version>1.1.3</version>
                                                <component>library</component>
                                <votes>0</votes>
                        <watches>1</watches>
                                                            <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                            <customfield id="customfield_10284" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                <customfieldname>Planned End</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Wed, 6 Mar 2013 12:00:00 -0600</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10283" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                <customfieldname>Planned Start</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Wed, 6 Mar 2013 12:00:00 -0600</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>9281</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-27] race condition during startup</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-27</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>During startup, if there is no authentication (and thus no authentication latch) we can reply with errors before we get the configuration back and settled in with the node locator.  This should be more reliable.</description>
                <environment></environment>
            <key id="16389">JCBC-27</key>
            <summary>race condition during startup</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="1" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/blocker.png">Blocker</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="ingenthr">Matt Ingenthron</reporter>
                        <labels>
                    </labels>
                <created>Fri, 23 Mar 2012 15:39:03 -0500</created>
                <updated>Mon, 4 Mar 2013 08:59:49 -0600</updated>
                    <resolved>Mon, 4 Mar 2013 08:59:49 -0600</resolved>
                            <version>1.0</version>
                <version>1.0.1</version>
                <version>1.1dp</version>
                <version>1.1.0</version>
                                <fixVersion>1.1.3</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>1</watches>
                                                    <comments>
                    <comment id="25115" author="ingenthr" created="Fri, 23 Mar 2012 15:43:31 -0500"  >See &lt;a href=&quot;http://www.couchbase.com/forums/thread/fast-computer-race-condition-java-client&quot;&gt;http://www.couchbase.com/forums/thread/fast-computer-race-condition-java-client&lt;/a&gt;</comment>
                    <comment id="37235" author="ingenthr" created="Wed, 29 Aug 2012 10:14:35 -0500"  >I think part of the solution on this is to poll the configuration until it transitions from warmup to healthy.</comment>
                    <comment id="40643" author="ingenthr" created="Mon, 8 Oct 2012 12:50:24 -0500"  >The idea is that there is a section of the code that walks the URIs, finds the bucket, then after finding it sets up the stream for the configuration.  When it first finds the bucket, if it&amp;#39;s in a &amp;quot;warmup&amp;quot; state, (easy to simulate by restarting a server) it will show that it is and will not have a vbucket map.  At that point, we should loop without setting up the stream *or* we should set up the stream and let anything handling reconfigure handle the transition from warmup to warmed up.</comment>
                    <comment id="45063" author="daschl" created="Fri, 30 Nov 2012 02:50:28 -0600"  >&lt;a href=&quot;http://review.couchbase.com/#/c/22933/1&quot;&gt;http://review.couchbase.com/#/c/22933/1&lt;/a&gt;</comment>
                    <comment id="45249" author="ingenthr" created="Mon, 3 Dec 2012 13:02:39 -0600"  >Still working out the flow here.  Based on our current understanding, this can be deferred to 1.1.0 or even post since it&amp;#39;s an enhancement for reliable operation in a secondary or tertiary circumstance.  Should be release noted though.</comment>
                    <comment id="51585" author="ingenthr" created="Wed, 27 Feb 2013 14:22:07 -0600"  >Determined that the proposed approach is a good change, but better change is needed.  That&amp;#39;s tracked under &lt;a href=&quot;http://www.couchbase.com/issues/browse/JCBC-255&quot; title=&quot;improve warmup handing&quot;&gt;JCBC-255&lt;/a&gt;.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                <customfield id="customfield_10010" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                <customfieldname>Flagged</customfieldname>
                <customfieldvalues>
                        <customfieldvalue key="10010"><![CDATA[Release Note]]></customfieldvalue>
    
                </customfieldvalues>
            </customfield>
                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8604</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-218] CLONE - Client constructor blocks or deadlocks</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-218</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>I am evaluating the couchbase product and hit a brick wall immediately when running through the simple hello world example.&lt;br/&gt;
&lt;br/&gt;
I have a 3 node cluster running couchbase enterprise 1.8.2 on ubuntu 10.04 64 bit VMware images. All three are running in VMWare player instances on Windows 7 64bit.&lt;br/&gt;
&lt;br/&gt;
When I try to run the Main example on Windows 7 using Java6 (64 bit) the code blocks somewhere in the Client constructor. The result is the logging below.&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
2012-06-14 14:07:46.313 INFO com.couchbase.client.CouchbaseConnection:  Added {QA sa=/192.168.186.150:11210, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0} to connect queue&lt;br/&gt;
2012-06-14 14:07:46.316 INFO com.couchbase.client.CouchbaseConnection:  Added {QA sa=/192.168.186.151:11210, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0} to connect queue&lt;br/&gt;
2012-06-14 14:07:46.319 INFO com.couchbase.client.CouchbaseConnection:  Added {QA sa=/192.168.186.152:11210, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0} to connect queue&lt;br/&gt;
2012-06-14 14:07:59.843 INFO com.couchbase.client.CouchbaseConnection:  Connection state changed for &lt;a href=&apos;mailto:sun.nio.ch.SelectionKeyImpl@24a4e2e3&apos;&gt;sun.nio.ch.SelectionKeyImpl@24a4e2e3&lt;/a&gt;&lt;br/&gt;
2012-06-14 14:08:52.983 INFO com.couchbase.client.CouchbaseConnection:  Connection state changed for &lt;a href=&apos;mailto:sun.nio.ch.SelectionKeyImpl@21ec6696&apos;&gt;sun.nio.ch.SelectionKeyImpl@21ec6696&lt;/a&gt;&lt;br/&gt;
2012-06-14 14:08:52.987 INFO com.couchbase.client.CouchbaseConnection:  Connection state changed for &lt;a href=&apos;mailto:sun.nio.ch.SelectionKeyImpl@27431340&apos;&gt;sun.nio.ch.SelectionKeyImpl@27431340&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
I have also tried debugging but the code blocks in the constructor at&lt;br/&gt;
&lt;br/&gt;
client = new CouchbaseClient(uris, &amp;quot;default&amp;quot;, &amp;quot;&amp;quot;);&lt;br/&gt;
&lt;br/&gt;
The program never completes.&lt;br/&gt;
&lt;br/&gt;
This works fine in a Linux environment with the following output received&lt;br/&gt;
&lt;br/&gt;
2012-06-14 04:58:50.693 INFO com.couchbase.client.CouchbaseConnection:  Added {QA sa=/192.168.186.150:11210, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0} to connect queue&lt;br/&gt;
2012-06-14 04:58:50.703 INFO com.couchbase.client.CouchbaseConnection:  Added {QA sa=/192.168.186.151:11210, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0} to connect queue&lt;br/&gt;
2012-06-14 04:58:50.708 INFO com.couchbase.client.CouchbaseConnection:  Added {QA sa=/192.168.186.152:11210, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0} to connect queue&lt;br/&gt;
2012-06-14 04:58:50.830 INFO com.couchbase.client.CouchbaseConnection:  Connection state changed for &lt;a href=&apos;mailto:sun.nio.ch.SelectionKeyImpl@1bc74f37&apos;&gt;sun.nio.ch.SelectionKeyImpl@1bc74f37&lt;/a&gt;&lt;br/&gt;
2012-06-14 04:58:50.834 INFO com.couchbase.client.CouchbaseConnection:  Connection state changed for &lt;a href=&apos;mailto:sun.nio.ch.SelectionKeyImpl@3a21b220&apos;&gt;sun.nio.ch.SelectionKeyImpl@3a21b220&lt;/a&gt;&lt;br/&gt;
2012-06-14 04:58:50.843 INFO com.couchbase.client.CouchbaseConnection:  Connection state changed for &lt;a href=&apos;mailto:sun.nio.ch.SelectionKeyImpl@732b3d53&apos;&gt;sun.nio.ch.SelectionKeyImpl@732b3d53&lt;/a&gt;&lt;br/&gt;
2012-06-14 04:58:51.135 INFO com.couchbase.client.CouchbaseConnection:  Shut down Couchbase client&lt;br/&gt;
Set Succeeded&lt;br/&gt;
Synchronous Get failed&lt;br/&gt;
Asynchronous Get Succeeded: Hello World!&lt;br/&gt;
&lt;br/&gt;
Is there a JDK for windows 7 or a configuration setting that can be used to prevent this?</description>
                <environment>OS: Windows 7 64bit&lt;br/&gt;
JDK: 1.6.0_31 also 1.6.0_33 64 bit&lt;br/&gt;
Couchbase enterprise edition running on 3 nodes all Ubuntu 10.04 64bit server (VMware images)&lt;br/&gt;
</environment>
            <key id="21938">JCBC-218</key>
            <summary>CLONE - Client constructor blocks or deadlocks</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="2">Won&apos;t Fix</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="seand88">sean diamond</reporter>
                        <labels>
                    </labels>
                <created>Wed, 23 Jan 2013 14:46:04 -0600</created>
                <updated>Wed, 27 Feb 2013 15:28:50 -0600</updated>
                    <resolved>Wed, 27 Feb 2013 15:28:50 -0600</resolved>
                            <version>1.0.2</version>
                                <fixVersion>1.1.3</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>2</watches>
                                                    <comments>
                    <comment id="48398" author="seand88" created="Wed, 23 Jan 2013 14:47:34 -0600"  >I am having this exact same issue with couchbase 2.0 community edition, and the latest java client 1.1&lt;br/&gt;
&lt;br/&gt;
Only workaround is to not use the client on windows. If i connect to couchbase via linux with the same setup it works fine.&lt;br/&gt;
Deadlocking on windows during the constructor. &lt;br/&gt;
</comment>
                    <comment id="48405" author="ingenthr" created="Wed, 23 Jan 2013 15:36:39 -0600"  >Can you confirm you see this with 1.1.1?  We just released it in the last 12 hours, and there was a fix in the ctor area.</comment>
                    <comment id="48411" author="seand88" created="Wed, 23 Jan 2013 16:15:33 -0600"  >just updated to client version 1.1.1 and it has the same problem.&lt;br/&gt;
</comment>
                    <comment id="49156" author="daschl" created="Thu, 31 Jan 2013 08:48:28 -0600"  >moving to 1.1.2 for more investigation.</comment>
                    <comment id="51488" author="seand88" created="Tue, 26 Feb 2013 19:27:50 -0600"  >I was able to figure out was was going on and fortunately it doesn&amp;#39;t look like this is due to the couchbase client!&lt;br/&gt;
&lt;br/&gt;
I am using avast antivirus which is appearing to forward the port.&lt;br/&gt;
Resolution can be found here in this post for a similar issue someone was having due to port forwarding.&lt;br/&gt;
Similar to this post here &lt;a href=&quot;http://forum.avast.com/index.php?topic=95134.0&quot;&gt;http://forum.avast.com/index.php?topic=95134.0&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
I am assuming the original poster of this issue is also using some kind of antivirus that may be messing with the port couchbase is trying to connect on.&lt;br/&gt;
&lt;br/&gt;
Thanks for looking into this anyway.&lt;br/&gt;
</comment>
                    <comment id="51600" author="daschl" created="Wed, 27 Feb 2013 15:28:42 -0600"  >Ok so I&amp;#39;m closing this. Thanks for updating us!</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8577</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-226] Delete&apos;s get() doesnt return the right value</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-226</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>Deleting is faulty, I asked for get() which should wait for the result, but every 5th returns with false, however the deletion has performed.&lt;br/&gt;
&lt;br/&gt;
I have attached a sample code and the output result.&lt;br/&gt;
</description>
                <environment>Linux Mint Maya&lt;br/&gt;
Couchbase Server 2.0, 1956, 1976&lt;br/&gt;
Couchbase Client Java API 1.1.0, 1.1.1</environment>
            <key id="22078">JCBC-226</key>
            <summary>Delete&apos;s get() doesnt return the right value</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="ureczky">Balint Ureczky</reporter>
                        <labels>
                    </labels>
                <created>Wed, 30 Jan 2013 11:20:15 -0600</created>
                <updated>Wed, 27 Feb 2013 15:25:55 -0600</updated>
                    <resolved>Wed, 27 Feb 2013 15:25:55 -0600</resolved>
                            <version>1.1.0</version>
                <version>1.1.1</version>
                                <fixVersion>1.1.3</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>2</watches>
                                                    <comments>
                    <comment id="49131" author="ureczky" created="Thu, 31 Jan 2013 03:23:00 -0600"  >I also tested on the 2.0.0 enterprise server (build-1976), which was the same.&lt;br/&gt;
&lt;br/&gt;
The server returns with the error &amp;quot;Key was modified&amp;quot; as you can see in the attached output.txt</comment>
                    <comment id="49173" author="daschl" created="Thu, 31 Jan 2013 09:44:40 -0600"  >To clarify, this error comes up when using the persistence constraints (persist, replicate) in combination. Just out of curiosity, can you try without them and see if it works as expected? Thanks</comment>
                    <comment id="49233" author="ureczky" created="Thu, 31 Jan 2013 15:23:25 -0600"  >Yes, with the default ReplicateTo.ZERO, PersistTo.ZERO settings, its 1000 times faster and there arent any failure in 100.000 tries.&lt;br/&gt;
With ReplicateTo.ZERO, PersistTo.ONE settings, i got ~20 failure in 100 tries.</comment>
                    <comment id="51597" author="daschl" created="Wed, 27 Feb 2013 15:25:55 -0600"  >This will be fixed in 1.1.3, we just pushed some changes that fixes this.</comment>
                </comments>
                    <attachments>
                    <attachment id="16357" name="CouchBaseTester.java" size="2881" author="ureczky" created="Wed, 30 Jan 2013 11:20:15 -0600" />
                    <attachment id="16356" name="Output.txt" size="4861" author="ureczky" created="Wed, 30 Jan 2013 11:20:15 -0600" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>1999</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-254] handle NOT_FOUND responses in observe() method for delete observe situations</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-254</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description></description>
                <environment></environment>
            <key id="22912">JCBC-254</key>
            <summary>handle NOT_FOUND responses in observe() method for delete observe situations</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="james.mauss">James Mauss</reporter>
                        <labels>
                    </labels>
                <created>Tue, 26 Feb 2013 20:26:53 -0600</created>
                <updated>Wed, 27 Feb 2013 15:08:53 -0600</updated>
                    <resolved>Wed, 27 Feb 2013 15:08:53 -0600</resolved>
                            <version>1.1.2</version>
                                <fixVersion>1.1.3</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>1</watches>
                                                    <comments>
                    <comment id="51514" author="ingenthr" created="Wed, 27 Feb 2013 02:33:35 -0600"  >Michael, the patch set for this is up already.  Please review it at your earliest convenience!</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                <customfield id="customfield_10283" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                <customfieldname>Planned Start</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Tue, 26 Feb 2013 12:00:00 -0600</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>9132</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-255] improve warmup handing</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-255</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>With the integration of &lt;a href=&quot;http://www.couchbase.com/issues/browse/JCBC-27&quot; title=&quot;race condition during startup&quot;&gt;&lt;strike&gt;JCBC-27&lt;/strike&gt;&lt;/a&gt;, the client will do an exponential backoff at construction time when the server is unavailable, and then throw an exception (from the ctor, unfortunately) if it could not complete.&lt;br/&gt;
&lt;br/&gt;
There are scenarios where this isn&amp;#39;t ideal.  For example, if someone were to cut off power to a datacenter, the app servers will start up much faster than the Couchbase cluster will.  Unfortunately, this means someone will need to go around and restart the app servers after the DB cluster is up.&lt;br/&gt;
&lt;br/&gt;
This process should be improved and bootstrapping should no longer block construction.  It should block operations (there is a latch for that), but not construction.</description>
                <environment></environment>
            <key id="22927">JCBC-255</key>
            <summary>improve warmup handing</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="ingenthr">Matt Ingenthron</reporter>
                        <labels>
                    </labels>
                <created>Wed, 27 Feb 2013 14:18:56 -0600</created>
                <updated>Wed, 27 Feb 2013 14:18:56 -0600</updated>
                                    <version>1.1.3</version>
                                                                <votes>0</votes>
                        <watches>1</watches>
                                                            <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                            <customfield id="customfield_10284" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                <customfieldname>Planned End</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Wed, 27 Feb 2013 12:00:00 -0600</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10283" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                <customfieldname>Planned Start</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Wed, 27 Feb 2013 12:00:00 -0600</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>9142</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-253] Observe timing out when failing over</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-253</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>When using observe commands and a node is failed over and not rebalanced automatically, the code will time out because no broadcast will ever return but it expects one.&lt;br/&gt;
&lt;br/&gt;
Proposed solution is to throw an exception to fail fast when there is no replica available.</description>
                <environment></environment>
            <key id="22892">JCBC-253</key>
            <summary>Observe timing out when failing over</summary>
                <type id="3" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/task.png">Task</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="daschl">Michael Nitschinger</reporter>
                        <labels>
                    </labels>
                <created>Tue, 26 Feb 2013 11:20:57 -0600</created>
                <updated>Wed, 27 Feb 2013 13:51:01 -0600</updated>
                    <resolved>Wed, 27 Feb 2013 13:51:01 -0600</resolved>
                            <version>1.1.0</version>
                <version>1.1.1</version>
                <version>1.1.2</version>
                                <fixVersion>1.1.3</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>1</watches>
                                                    <comments>
                    <comment id="51436" author="daschl" created="Tue, 26 Feb 2013 11:28:00 -0600"  >&lt;a href=&quot;http://review.couchbase.org/#/c/24867&quot;&gt;http://review.couchbase.org/#/c/24867&lt;/a&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                            <customfield id="customfield_10284" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                <customfieldname>Planned End</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Tue, 26 Feb 2013 12:00:00 -0600</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10283" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                <customfieldname>Planned Start</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Tue, 26 Feb 2013 12:00:00 -0600</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>9114</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-245] Docs: Javadoc states that a java.lang.String is required for the value in a write operation, whereas online docs state object</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-245</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>Java docs here: &lt;a href=&quot;http://www.couchbase.com/autodocs/couchbase-java-client-1.1.2/&quot;&gt;http://www.couchbase.com/autodocs/couchbase-java-client-1.1.2/&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
All set/replace/add/cas operations state something like:&lt;br/&gt;
cas(java.lang.String key, long cas, java.lang.String value, PersistTo req)&lt;br/&gt;
&lt;br/&gt;
Whereas the docs here: &lt;a href=&quot;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/api-reference-summary.html&quot;&gt;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/api-reference-summary.html&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
State that it&amp;#39;s an &amp;quot;Object value&amp;quot;&lt;br/&gt;
&lt;br/&gt;
Looking deeper, it appears that the memcached methods inherited from spy use java.lang.object which leads to user confusion when trying to compare the two.</description>
                <environment></environment>
            <key id="22634">JCBC-245</key>
            <summary>Docs: Javadoc states that a java.lang.String is required for the value in a write operation, whereas online docs state object</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="1" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/blocker.png">Blocker</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="perry">Perry Krug</reporter>
                        <labels>
                    </labels>
                <created>Tue, 12 Feb 2013 07:04:08 -0600</created>
                <updated>Wed, 27 Feb 2013 13:47:44 -0600</updated>
                    <resolved>Wed, 27 Feb 2013 13:47:44 -0600</resolved>
                            <version>1.1.2</version>
                                <fixVersion>1.1.3</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>2</watches>
                                                    <comments>
                    <comment id="50163" author="perry" created="Tue, 12 Feb 2013 07:23:56 -0600"  >Adding a library component since the Java docs show what the required type is, and if we are limiting to strings, we are preventing people from using these methods with non-string objects without writing their own transcoder which seems a little arduous in the simpler cases.</comment>
                    <comment id="50785" author="daschl" created="Tue, 19 Feb 2013 03:11:50 -0600"  >That&amp;#39;s purely a lib bug, since those should also require Object instead of String.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8778</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-198] Using ReplicateTo.ONE after node-failover leads to index out of bounds</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-198</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>using couchbase client library version 1.1.0, server version 2.0.0 community edition (build-1976-rel).&lt;br/&gt;
The cluster configuration remains same as in my initial email - three servers with &amp;quot;Enable Failover&amp;quot; property ON,  a dedicated port &amp;quot;couchbase&amp;quot; bucket with 1 replica enabled.&lt;br/&gt;
&lt;br/&gt;
When stopping a server the client fails to communicate with the cluster with several errors.&lt;br/&gt;
&lt;br/&gt;
Client initializing -&lt;br/&gt;
&lt;br/&gt;
List&amp;lt;URI&amp;gt; serverList = parseConnectionProperties(port, hosts);&lt;br/&gt;
CouchbaseConnectionFactory cf = new CouchbaseConnectionFactory(serverList, cacheName, &amp;quot;&amp;quot;);&lt;br/&gt;
client = new CouchbaseClient(cf);  &lt;br/&gt;
&lt;br/&gt;
Usage of the client to write data - &lt;br/&gt;
&lt;br/&gt;
public void put(final String key, final String value) {&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;client.set(key, expirationSeconds, value, PersistTo.MASTER, ReplicateTo.ONE);&lt;br/&gt;
&amp;nbsp;}&lt;br/&gt;
&lt;br/&gt;
During the tests, when cluster is not available, I did a thread dump to the application , see the print below (&lt;a href=&apos;mailto:ajp--127.0.0.1-8020-1@8796&apos;&gt;ajp--127.0.0.1-8020-1@8796&lt;/a&gt;). Is it possible that node that is down is in some way a &amp;quot;master&amp;quot; of the data, and since the client.set() method uses PersistTo.MASTER parameter the things do not work? &lt;br/&gt;
&lt;br/&gt;
&amp;quot;&lt;a href=&apos;mailto:ajp--127.0.0.1-8020-1@8796&apos;&gt;ajp--127.0.0.1-8020-1@8796&lt;/a&gt;&amp;quot; daemon prio=5 tid=0x8c nid=NA waiting&lt;br/&gt;
&amp;nbsp;&amp;nbsp;java.lang.Thread.State: WAITING&lt;br/&gt;
	  at sun.misc.Unsafe.park(Unsafe.java:-1)&lt;br/&gt;
	  at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:226)&lt;br/&gt;
	  at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedNanos(AbstractQueuedSynchronizer.java:1033)&lt;br/&gt;
	  at java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireSharedNanos(AbstractQueuedSynchronizer.java:1326)&lt;br/&gt;
	  at java.util.concurrent.CountDownLatch.await(CountDownLatch.java:282)&lt;br/&gt;
	  at com.couchbase.client.CouchbaseClient.observe(CouchbaseClient.java:1650)&lt;br/&gt;
	  at com.couchbase.client.CouchbaseClient.observePoll(CouchbaseClient.java:1750)&lt;br/&gt;
	  at com.couchbase.client.CouchbaseClient.set(CouchbaseClient.java:1199)&lt;br/&gt;
	  at com.liveperson.liveEngage.cache.CouchbaseReadWriteCache.put(CouchbaseReadWriteCache.java:40)&lt;br/&gt;
	  at com.liveperson.liveEngage.cache.CouchbaseReadWriteCache.put(CouchbaseReadWriteCache.java:17)&lt;br/&gt;
	  at com.liveperson.liveEngage.cache.LEUsersCacheManager.setSessionDataCache(LEUsersCacheManager.java:121)&lt;br/&gt;
	  at com.liveperson.liveEngage.ssoIdpLogin.LoginVerification.writeLoginDataToJbossCache(LoginVerification.java:246)&lt;br/&gt;
	  at com.liveperson.liveEngage.ssoIdpLogin.LoginVerification.verifySsoLogin(LoginVerification.java:87)&lt;br/&gt;
	  at com.liveperson.liveEngage.filters.AuthFilter.doFilter(AuthFilter.java:71)&lt;br/&gt;
	  at com.liveperson.liveengage.authentication.filters.AuthenticationByProtocolFilter.doFilter(AuthenticationByProtocolFilter.java:71)&lt;br/&gt;
	  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)&lt;br/&gt;
	  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)&lt;br/&gt;
	  at com.liveperson.liveEngage.filters.CommonFilter.doFilter(CommonFilter.java:35)&lt;br/&gt;
	  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)&lt;br/&gt;
	  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)&lt;br/&gt;
	  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)&lt;br/&gt;
	  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)&lt;br/&gt;
	  at org.jboss.as.web.session.ClusteredSessionValve.handleRequest(ClusteredSessionValve.java:125)&lt;br/&gt;
	  at org.jboss.as.web.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:91)&lt;br/&gt;
	  at org.jboss.as.web.session.JvmRouteValve.invoke(JvmRouteValve.java:88)&lt;br/&gt;
	  at org.jboss.as.web.session.LockingValve.invoke(LockingValve.java:56)&lt;br/&gt;
	  at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)&lt;br/&gt;
	  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)&lt;br/&gt;
	  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)&lt;br/&gt;
	  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)&lt;br/&gt;
	  at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)&lt;br/&gt;
	  at org.apache.coyote.ajp.AjpAprProcessor.process(AjpAprProcessor.java:490)&lt;br/&gt;
	  at org.apache.coyote.ajp.AjpAprProtocol$AjpConnectionHandler.process(AjpAprProtocol.java:480)&lt;br/&gt;
	  at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:2039)&lt;br/&gt;
	  at java.lang.Thread.run(Thread.java:722)&lt;br/&gt;
&lt;br/&gt;
The errors i get during the test after a server was failed over -&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&lt;br/&gt;
17:45:41,911 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) [ERROR] [ajp--127.0.0.1-8020-4] Verify Sso Login failed. sessionId - n2b+0EZEzTaM7a64gKKS7k+L.undefined [com.liveperson.liveEngage.ssoIdpLogin.LoginVerification]&lt;br/&gt;
17:45:41,911 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) java.lang.RuntimeException: Timed out waiting for operation&lt;br/&gt;
17:45:41,912 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at net.spy.memcached.internal.OperationFuture.get(OperationFuture.java:134)&lt;br/&gt;
17:45:41,912 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at com.couchbase.client.CouchbaseClient.set(CouchbaseClient.java:1188)&lt;br/&gt;
17:45:41,912 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at com.liveperson.liveEngage.cache.CouchbaseReadWriteCache.put(CouchbaseReadWriteCache.java:40)&lt;br/&gt;
17:45:41,912 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at com.liveperson.liveEngage.cache.CouchbaseReadWriteCache.put(CouchbaseReadWriteCache.java:17)&lt;br/&gt;
17:45:41,912 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at com.liveperson.liveEngage.cache.LEUsersCacheManager.setSessionDataCache(LEUsersCacheManager.java:121)&lt;br/&gt;
17:45:41,912 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at com.liveperson.liveEngage.ssoIdpLogin.LoginVerification.writeLoginDataToJbossCache(LoginVerification.java:246)&lt;br/&gt;
17:45:41,913 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at com.liveperson.liveEngage.ssoIdpLogin.LoginVerification.verifySsoLogin(LoginVerification.java:87)&lt;br/&gt;
17:45:41,913 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at com.liveperson.liveEngage.filters.AuthFilter.doFilter(AuthFilter.java:71)&lt;br/&gt;
17:45:41,913 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at com.liveperson.liveengage.authentication.filters.AuthenticationByProtocolFilter.doFilter(AuthenticationByProtocolFilter.java:71)&lt;br/&gt;
17:45:41,913 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)&lt;br/&gt;
17:45:41,913 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)&lt;br/&gt;
17:45:41,914 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at com.liveperson.liveEngage.filters.CommonFilter.doFilter(CommonFilter.java:35)&lt;br/&gt;
17:45:41,914 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)&lt;br/&gt;
17:45:41,914 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)&lt;br/&gt;
17:45:41,914 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)&lt;br/&gt;
17:45:41,914 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)&lt;br/&gt;
17:45:41,914 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at org.jboss.as.web.session.ClusteredSessionValve.handleRequest(ClusteredSessionValve.java:125)&lt;br/&gt;
17:45:41,915 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at org.jboss.as.web.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:91)&lt;br/&gt;
17:45:41,915 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at org.jboss.as.web.session.JvmRouteValve.invoke(JvmRouteValve.java:88)&lt;br/&gt;
17:45:41,915 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at org.jboss.as.web.session.LockingValve.invoke(LockingValve.java:56)&lt;br/&gt;
17:45:41,915 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)&lt;br/&gt;
17:45:41,915 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)&lt;br/&gt;
17:45:41,916 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)&lt;br/&gt;
17:45:41,916 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)&lt;br/&gt;
17:45:41,916 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)&lt;br/&gt;
17:45:41,916 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at org.apache.coyote.ajp.AjpAprProcessor.process(AjpAprProcessor.java:490)&lt;br/&gt;
17:45:41,916 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at org.apache.coyote.ajp.AjpAprProtocol$AjpConnectionHandler.process(AjpAprProtocol.java:480)&lt;br/&gt;
17:45:41,916 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:2039)&lt;br/&gt;
17:45:41,917 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at java.lang.Thread.run(Thread.java:722)&lt;br/&gt;
17:45:41,917 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) Caused by: net.spy.memcached.internal.CheckedOperationTimeoutException: Timed out waiting for operation - failing node: tlv-le-couchbase-int1.tlv.lpnet.com/192.168.24.184:11210&lt;br/&gt;
17:45:41,918 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at net.spy.memcached.internal.OperationFuture.get(OperationFuture.java:159)&lt;br/&gt;
17:45:41,918 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at net.spy.memcached.internal.OperationFuture.get(OperationFuture.java:132)&lt;br/&gt;
17:45:41,918 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	... 28 more&lt;br/&gt;
&lt;br/&gt;
OR&lt;br/&gt;
&lt;br/&gt;
19:21:47,997 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) [ERROR] [ajp--127.0.0.1-8020-3] Verify Sso Login failed. sessionId - 6tJElgOsTUcr-7lWgJlWh2HV.undefined [com.liveperson.liveEngage.ssoIdpLogin.LoginVerification]&lt;br/&gt;
19:21:47,997 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) java.lang.ArrayIndexOutOfBoundsException: -1&lt;br/&gt;
19:21:47,998 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at java.util.ArrayList.elementData(ArrayList.java:371)&lt;br/&gt;
19:21:47,998 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at java.util.ArrayList.get(ArrayList.java:384)&lt;br/&gt;
19:21:47,998 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at com.couchbase.client.vbucket.config.DefaultConfig.getServer(DefaultConfig.java:81)&lt;br/&gt;
19:21:47,998 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at com.couchbase.client.vbucket.VBucketNodeLocator.getServerByIndex(VBucketNodeLocator.java:112)&lt;br/&gt;
19:21:47,999 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at com.couchbase.client.CouchbaseClient.observe(CouchbaseClient.java:1621)&lt;br/&gt;
19:21:47,999 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at com.couchbase.client.CouchbaseClient.observePoll(CouchbaseClient.java:1750)&lt;br/&gt;
19:21:47,999 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at com.couchbase.client.CouchbaseClient.set(CouchbaseClient.java:1199)&lt;br/&gt;
19:21:47,999 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at com.liveperson.liveEngage.cache.CouchbaseReadWriteCache.put(CouchbaseReadWriteCache.java:40)&lt;br/&gt;
19:21:48,000 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at com.liveperson.liveEngage.cache.CouchbaseReadWriteCache.put(CouchbaseReadWriteCache.java:17)&lt;br/&gt;
19:21:48,000 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at com.liveperson.liveEngage.cache.LEUsersCacheManager.setSessionDataCache(LEUsersCacheManager.java:121)&lt;br/&gt;
19:21:48,000 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at com.liveperson.liveEngage.ssoIdpLogin.LoginVerification.writeLoginDataToJbossCache(LoginVerification.java:246)&lt;br/&gt;
19:21:48,001 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at com.liveperson.liveEngage.ssoIdpLogin.LoginVerification.verifySsoLogin(LoginVerification.java:87)&lt;br/&gt;
19:21:48,001 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at com.liveperson.liveEngage.filters.AuthFilter.doFilter(AuthFilter.java:71)&lt;br/&gt;
19:21:48,001 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at com.liveperson.liveengage.authentication.filters.AuthenticationByProtocolFilter.doFilter(AuthenticationByProtocolFilter.java:71)&lt;br/&gt;
19:21:48,002 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)&lt;br/&gt;
19:21:48,002 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)&lt;br/&gt;
19:21:48,002 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at com.liveperson.liveEngage.filters.CommonFilter.doFilter(CommonFilter.java:35)&lt;br/&gt;
19:21:48,002 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)&lt;br/&gt;
19:21:48,003 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)&lt;br/&gt;
19:21:48,003 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)&lt;br/&gt;
19:21:48,003 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)&lt;br/&gt;
19:21:48,003 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at org.jboss.as.web.session.ClusteredSessionValve.handleRequest(ClusteredSessionValve.java:125)&lt;br/&gt;
19:21:48,004 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at org.jboss.as.web.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:91)&lt;br/&gt;
19:21:48,004 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at org.jboss.as.web.session.JvmRouteValve.invoke(JvmRouteValve.java:88)&lt;br/&gt;
19:21:48,004 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at org.jboss.as.web.session.LockingValve.invoke(LockingValve.java:56)&lt;br/&gt;
19:21:48,004 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)&lt;br/&gt;
19:21:48,005 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)&lt;br/&gt;
19:21:48,005 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)&lt;br/&gt;
19:21:48,005 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)&lt;br/&gt;
19:21:48,005 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)&lt;br/&gt;
19:21:48,006 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at org.apache.coyote.ajp.AjpAprProcessor.process(AjpAprProcessor.java:490)&lt;br/&gt;
19:21:48,006 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at org.apache.coyote.ajp.AjpAprProtocol$AjpConnectionHandler.process(AjpAprProtocol.java:480)&lt;br/&gt;
19:21:48,006 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:2039)&lt;br/&gt;
19:21:48,006 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at java.lang.Thread.run(Thread.java:722)&lt;br/&gt;
&lt;br/&gt;
Hopefully it&amp;#39;s the same one, but just in case, here&amp;#39;s another one:&lt;br/&gt;
17:41:34,231 ERROR [stderr] (Couchbase View Thread for node tlv-le-couchbase-int2.tlv.lpnet.com/192.168.24.185:8092) 2012-12-10 17:41:34.231 INFO com.couchbase.client.ViewNode:  I/O reactor terminated for tlv-le-couchbase-int2.tlv.lpnet.com&lt;br/&gt;
17:42:23,120 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) [ERROR] [ajp--127.0.0.1-8020-2] Exception while trying to remove data from cache for session id: y6mpopojZkaJDcWeRDL4J0xp.undefined [org.apache.jsp.views.logout_jsp]&lt;br/&gt;
17:42:23,121 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) java.lang.IndexOutOfBoundsException: Index: 2, Size: 2&lt;br/&gt;
17:42:23,121 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at java.util.ArrayList.rangeCheck(ArrayList.java:604)&lt;br/&gt;
17:42:23,122 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at java.util.ArrayList.get(ArrayList.java:382)&lt;br/&gt;
17:42:23,122 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at com.couchbase.client.vbucket.config.DefaultConfig.getServer(DefaultConfig.java:81)&lt;br/&gt;
17:42:23,122 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at com.couchbase.client.vbucket.VBucketNodeLocator.getServerByIndex(VBucketNodeLocator.java:112)&lt;br/&gt;
17:42:23,123 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at com.couchbase.client.CouchbaseClient.observe(CouchbaseClient.java:1624)&lt;br/&gt;
17:42:23,123 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at com.couchbase.client.CouchbaseClient.observePoll(CouchbaseClient.java:1753)&lt;br/&gt;
17:42:23,124 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at com.couchbase.client.CouchbaseClient.delete(CouchbaseClient.java:1113)&lt;br/&gt;
17:42:23,124 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at com.liveperson.liveEngage.cache.CouchbaseReadWriteCache.remove(CouchbaseReadWriteCache.java:28)&lt;br/&gt;
17:42:23,124 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at com.liveperson.liveEngage.cache.CouchbaseReadWriteCache.remove(CouchbaseReadWriteCache.java:17)&lt;br/&gt;
17:42:23,125 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at com.liveperson.liveEngage.cache.LEUsersCacheManager.removeDataFromCache(LEUsersCacheManager.java:132)&lt;br/&gt;
17:42:23,125 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at org.apache.jsp.views.logout_jsp._jspService(logout_jsp.java:82)&lt;br/&gt;
17:42:23,125 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)&lt;br/&gt;
17:42:23,126 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)&lt;br/&gt;
17:42:23,126 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)&lt;br/&gt;
17:42:23,126 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:326)&lt;br/&gt;
17:42:23,127 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:253)&lt;br/&gt;
17:42:23,127 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)&lt;br/&gt;
17:42:23,127 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)&lt;br/&gt;
17:42:23,128 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)&lt;br/&gt;
17:42:23,128 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at com.liveperson.liveEngage.filters.ExceptionFilter.doFilter(ExceptionFilter.java:26)&lt;br/&gt;
17:42:23,128 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)&lt;br/&gt;
17:42:23,129 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)&lt;br/&gt;
17:42:23,129 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at com.liveperson.liveengage.authentication.filters.SSOAuthorizationFilterChain.doFilter(SSOAuthorizationFilterChain.java:30)&lt;br/&gt;
17:42:23,130 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at com.liveperson.liveEngage.filters.AuthFilter.doFilter(AuthFilter.java:65)&lt;br/&gt;
17:42:23,130 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at com.liveperson.liveengage.authentication.filters.AuthenticationByProtocolFilter.doFilter(AuthenticationByProtocolFilter.java:71)&lt;br/&gt;
17:42:23,130 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)&lt;br/&gt;
17:42:23,131 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)&lt;br/&gt;
17:42:23,131 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at com.liveperson.liveEngage.filters.CommonFilter.doFilter(CommonFilter.java:35)&lt;br/&gt;
17:42:23,132 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)&lt;br/&gt;
17:42:23,132 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)&lt;br/&gt;
17:42:23,133 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)&lt;br/&gt;
17:42:23,133 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)&lt;br/&gt;
17:42:23,133 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at org.jboss.as.web.session.ClusteredSessionValve.handleRequest(ClusteredSessionValve.java:125)&lt;br/&gt;
17:42:23,134 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at org.jboss.as.web.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:91)&lt;br/&gt;
17:42:23,134 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at org.jboss.as.web.session.JvmRouteValve.invoke(JvmRouteValve.java:88)&lt;br/&gt;
17:42:23,134 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at org.jboss.as.web.session.LockingValve.invoke(LockingValve.java:56)&lt;br/&gt;
17:42:23,135 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)&lt;br/&gt;
17:42:23,136 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)&lt;br/&gt;
17:42:23,136 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)&lt;br/&gt;
17:42:23,136 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)&lt;br/&gt;
17:42:23,137 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)&lt;br/&gt;
17:42:23,137 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at org.apache.coyote.ajp.AjpAprProcessor.process(AjpAprProcessor.java:490)&lt;br/&gt;
17:42:23,137 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at org.apache.coyote.ajp.AjpAprProtocol$AjpConnectionHandler.process(AjpAprProtocol.java:480)&lt;br/&gt;
17:42:23,138 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:2039)&lt;br/&gt;
17:42:23,140 INFO  [stdout] (AsyncAppender-Dispatcher-Thread-56) 	at java.lang.Thread.run(Thread.java:722)</description>
                <environment></environment>
            <key id="21540">JCBC-198</key>
            <summary>Using ReplicateTo.ONE after node-failover leads to index out of bounds</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="2" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/critical.png">Critical</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="perry">Perry Krug</reporter>
                        <labels>
                    </labels>
                <created>Fri, 28 Dec 2012 21:07:11 -0600</created>
                <updated>Wed, 27 Feb 2013 13:46:03 -0600</updated>
                    <resolved>Wed, 27 Feb 2013 13:46:03 -0600</resolved>
                            <version>1.1.0</version>
                                <fixVersion>1.1.3</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>1</watches>
                                                            <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8583</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-251] Observe ignores replica on index 0</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-251</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>A replica on index 0 is not added to the broadcast observe list and therefore leads to timeouts when persistence constraints are provided.</description>
                <environment></environment>
            <key id="22863">JCBC-251</key>
            <summary>Observe ignores replica on index 0</summary>
                <type id="3" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/task.png">Task</type>
                                <priority id="1" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/blocker.png">Blocker</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="daschl">Michael Nitschinger</reporter>
                        <labels>
                    </labels>
                <created>Sun, 24 Feb 2013 13:42:33 -0600</created>
                <updated>Wed, 27 Feb 2013 13:39:37 -0600</updated>
                    <resolved>Wed, 27 Feb 2013 13:39:37 -0600</resolved>
                            <version>1.1.0</version>
                <version>1.1.1</version>
                <version>1.1.2</version>
                                <fixVersion>1.1.3</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>1</watches>
                                                            <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                            <customfield id="customfield_10284" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                <customfieldname>Planned End</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Mon, 25 Feb 2013 12:00:00 -0600</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10283" key="com.atlassian.jira.plugin.system.customfieldtypes:datepicker">
                <customfieldname>Planned Start</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Mon, 25 Feb 2013 12:00:00 -0600</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>9087</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-30] document warning on not-my-vbucket errors</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-30</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>During rebalance, WARNING level errors such as&lt;br/&gt;
WARN com.couchbase.client.CouchbaseConnection:  Reschedule read op due to NOT_MY_VBUCKET error: Cmd: 0 Opaque: 460 Key: membase-test-key-24 &lt;br/&gt;
can come up.  These are safe to ignore, as long as they&amp;#39;re small in number and do not persist for a long period of time.&lt;br/&gt;
&lt;br/&gt;
This needs to be documented somewhere in the manuals.</description>
                <environment></environment>
            <key id="16479">JCBC-30</key>
            <summary>document warning on not-my-vbucket errors</summary>
                <type id="2" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/newfeature.png">New Feature</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="ingenthr">Matt Ingenthron</assignee>
                                <reporter username="ingenthr">Matt Ingenthron</reporter>
                        <labels>
                    </labels>
                <created>Thu, 5 Apr 2012 10:38:23 -0500</created>
                <updated>Wed, 27 Feb 2013 13:10:00 -0600</updated>
                    <resolved>Wed, 27 Feb 2013 13:10:00 -0600</resolved>
                                            <fixVersion>1.1.0</fixVersion>
                                <component>docs</component>
                                <votes>0</votes>
                        <watches>1</watches>
                                                    <comments>
                    <comment id="27425" author="SteveC" created="Wed, 16 May 2012 20:41:31 -0500"  >If safe to ignore, should the log level be INFO?&lt;br/&gt;
&lt;br/&gt;
When I see this error, couchbase reads fail with and the bucket being queried reindexes itself. The bucket is not readable during this period. Writes, however, seem ok&lt;br/&gt;
&lt;br/&gt;
Not sure if it is related or just a UI error, but the Admin console reports &amp;quot;-2929743.01979 resident %&amp;quot; under vbucket resources&lt;br/&gt;
</comment>
                    <comment id="37237" author="ingenthr" created="Wed, 29 Aug 2012 10:16:37 -0500"  >Yes, should be INFO log level.  I think this is fixed, but we&amp;#39;ll check.</comment>
                    <comment id="43894" author="daschl" created="Tue, 13 Nov 2012 09:43:22 -0600"  >In spy the mentioned log message is now a DEBUG. does this resolve the issue or is there something more to it?&lt;br/&gt;
&lt;br/&gt;
I wonder because its a &amp;quot;docs&amp;quot; issue and I don&amp;#39;t see specific info on what to document here.&lt;br/&gt;
&lt;br/&gt;
If not, we can safely close this one I think.&lt;br/&gt;
&lt;br/&gt;
Thanks,&lt;br/&gt;
Michael</comment>
                    <comment id="51568" author="ingenthr" created="Wed, 27 Feb 2013 13:10:00 -0600"  >This was fixed back in May of 2011.  There is no longer a warning.&lt;br/&gt;
&lt;br/&gt;
Note that there have been a couple of reported circumstances where users had an old spymemcached (which we do not prevent or warn against), and they&amp;#39;d still see these warnings.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8603</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-229] Find a way to proper test JCBC-227</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-229</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>The issue fixed in jcbc-227 needs proper testing. Can you please add tests for this either as a unit test, or integrate it into sdkd? I&amp;#39;m not sure where it fits - what do you think?</description>
                <environment></environment>
            <key id="22225">JCBC-229</key>
            <summary>Find a way to proper test JCBC-227</summary>
                <type id="3" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/task.png">Task</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="3" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/inprogress.png">In Progress</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="deeptida">Deepti Dawar</assignee>
                                <reporter username="daschl">Michael Nitschinger</reporter>
                        <labels>
                    </labels>
                <created>Fri, 1 Feb 2013 02:53:20 -0600</created>
                <updated>Mon, 25 Feb 2013 05:12:00 -0600</updated>
                                    <version>1.1.2</version>
                                <fixVersion>.next</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>2</watches>
                                                    <comments>
                    <comment id="49373" author="deeptida" created="Fri, 1 Feb 2013 05:01:38 -0600"  >Alright, I can add unit/integration test for the same.&lt;br/&gt;
</comment>
                    <comment id="50107" author="deeptida" created="Mon, 11 Feb 2013 17:14:11 -0600"  >&lt;a href=&quot;http://review.couchbase.org/#/c/24520/&quot;&gt;http://review.couchbase.org/#/c/24520/&lt;/a&gt;</comment>
                    <comment id="50146" author="daschl" created="Tue, 12 Feb 2013 00:09:44 -0600"  >Please only close once the change has been merged in, thanks.</comment>
                    <comment id="50400" author="deeptida" created="Thu, 14 Feb 2013 04:53:43 -0600"  >&lt;a href=&quot;http://review.couchbase.org/#/c/24520/6&quot;&gt;http://review.couchbase.org/#/c/24520/6&lt;/a&gt;</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10000">
                <name>Dependency</name>
                                <outwardlinks description="depends on">
                                    </outwardlinks>
                                            </issuelinktype>
                    </issuelinks>
                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>2946</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-210] Throw CancellationException instead of RuntimeException on op cancel</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-210</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>This is only a semantical change because CancellationExceptions are children of RuntimeExceptions, but it should give us better debugabillity in production deployments and those Exceptions can be better caught.</description>
                <environment></environment>
            <key id="21753">JCBC-210</key>
            <summary>Throw CancellationException instead of RuntimeException on op cancel</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="daschl">Michael Nitschinger</reporter>
                        <labels>
                    </labels>
                <created>Mon, 14 Jan 2013 02:40:41 -0600</created>
                <updated>Thu, 21 Feb 2013 07:35:46 -0600</updated>
                    <resolved>Thu, 21 Feb 2013 07:35:46 -0600</resolved>
                            <version>1.1.0</version>
                                <fixVersion>1.1.3</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>2</watches>
                                                    <comments>
                    <comment id="47761" author="daschl" created="Tue, 15 Jan 2013 02:44:33 -0600"  >Also, document these in the manual and in the docblocks where it makes sense.</comment>
                    <comment id="51088" author="daschl" created="Thu, 21 Feb 2013 07:35:46 -0600"  >Pushed to master, will be available in 1.1.3</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8579</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-246] Docs: No CAS+durability in API reference table</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-246</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>The table here: &lt;a href=&quot;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/api-reference-summary.html&quot;&gt;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/api-reference-summary.html&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
Doesn&amp;#39;t contain CAS methods with durability constraints.</description>
                <environment></environment>
            <key id="22635">JCBC-246</key>
            <summary>Docs: No CAS+durability in API reference table</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="perry">Perry Krug</reporter>
                        <labels>
                    </labels>
                <created>Tue, 12 Feb 2013 07:05:05 -0600</created>
                <updated>Tue, 12 Feb 2013 07:05:05 -0600</updated>
                                    <version>1.1.2</version>
                                                <component>docs</component>
                                <votes>0</votes>
                        <watches>1</watches>
                                                            <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8779</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-243] Docs: Reference installation</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-243</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>Customers have lots of choices at their fingertips, and many of those choices will result in a non-functioning installation, or at least a lot of time spent figuring out what the right pieces are.&lt;br/&gt;
&lt;br/&gt;
Can we please provide as much details as possible about a reference installation that we can be sure will work for a customer who is just getting started?  This is outside of our support for any one operatin system, but more about telling the customer &amp;quot;if you install with these versions and packages, this code will work&amp;quot;&lt;br/&gt;
&lt;br/&gt;
-OS&lt;br/&gt;
-&amp;quot;language&amp;quot; version (JDK 6, etc)&lt;br/&gt;
-other packages/modules required and/or tested with</description>
                <environment></environment>
            <key id="22607">JCBC-243</key>
            <summary>Docs: Reference installation</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="3">Duplicate</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="perry">Perry Krug</reporter>
                        <labels>
                    </labels>
                <created>Mon, 11 Feb 2013 05:36:18 -0600</created>
                <updated>Mon, 11 Feb 2013 06:22:50 -0600</updated>
                    <resolved>Mon, 11 Feb 2013 06:22:50 -0600</resolved>
                            <version>1.1.2</version>
                                                <component>docs</component>
                                <votes>0</votes>
                        <watches>2</watches>
                                                    <comments>
                    <comment id="50014" author="daschl" created="Mon, 11 Feb 2013 06:22:50 -0600"  >I think this issue pretty much duplicates the essential guide tickets!</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10001">
                <name>Duplicate</name>
                                <outwardlinks description="duplicates">
                            <issuelink>
            <issuekey id="22458">JCBC-235</issuekey>
        </issuelink>
                    </outwardlinks>
                                            </issuelinktype>
                    </issuelinks>
                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8736</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-242] The flush() operations always fails with &quot;401 Unathorized&quot; message</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-242</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>The flush operations seems to require some kind of authorization, however the client library does not provide a way to do it.&lt;br/&gt;
&lt;br/&gt;
The documentation is does not mention anything about this.&lt;br/&gt;
&lt;br/&gt;
Is there a magical way I can call flush?&lt;br/&gt;
I attached the source code which reproduces the problem.</description>
                <environment>uname -a&lt;br/&gt;
Linux Mint 3.2.0-35-generic #55-Ubuntu SMP Wed Dec 5 17:42:16 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux&lt;br/&gt;
&lt;br/&gt;
java -version&lt;br/&gt;
java version &amp;quot;1.7.0_11&amp;quot;&lt;br/&gt;
Java(TM) SE Runtime Environment (build 1.7.0_11-b21)&lt;br/&gt;
Java HotSpot(TM) 64-Bit Server VM (build 23.6-b04, mixed mode)&lt;br/&gt;
&lt;br/&gt;
Java couchbase client library&lt;br/&gt;
1.1.2 taken from: &lt;a href=&quot;http://files.couchbase.com/maven2/couchbase/couchbase-client/1.1.2/couchbase-client-1.1.2.jar&quot;&gt;http://files.couchbase.com/maven2/couchbase/couchbase-client/1.1.2/couchbase-client-1.1.2.jar&lt;/a&gt;</environment>
            <key id="22591">JCBC-242</key>
            <summary>The flush() operations always fails with &quot;401 Unathorized&quot; message</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="1" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/blocker.png">Blocker</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="3">Duplicate</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="ureczky">Balint Ureczky</reporter>
                        <labels>
                    </labels>
                <created>Fri, 8 Feb 2013 08:59:56 -0600</created>
                <updated>Fri, 8 Feb 2013 10:10:20 -0600</updated>
                    <resolved>Fri, 8 Feb 2013 10:08:39 -0600</resolved>
                            <version>1.1.2</version>
                                                <component>library</component>
                                <votes>0</votes>
                        <watches>2</watches>
                          <timeoriginalestimate seconds="60">1m</timeoriginalestimate>
                    <timeestimate seconds="60">1m</timeestimate>
                                  <comments>
                    <comment id="49971" author="daschl" created="Fri, 8 Feb 2013 10:08:39 -0600"  >Note that this is a known limitation because of the CouchbaseServer&lt;br/&gt;
&lt;br/&gt;
See the linked issue for more information! </comment>
                    <comment id="49972" author="daschl" created="Fri, 8 Feb 2013 10:10:20 -0600"  >Note that this is marked to be fixed in 2.0.1 which is the next bugfix release of couchbase server. Once upgraded, it should &amp;quot;magically&amp;quot; work!</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10001">
                <name>Duplicate</name>
                                <outwardlinks description="duplicates">
                            <issuelink>
            <issuekey id="21212">JCBC-173</issuekey>
        </issuelink>
                    </outwardlinks>
                                            </issuelinktype>
                    </issuelinks>
                <attachments>
                    <attachment id="16719" name="CouchbaseMagic.java" size="2062" author="ureczky" created="Fri, 8 Feb 2013 08:59:56 -0600" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                <customfield id="customfield_10010" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                <customfieldname>Flagged</customfieldname>
                <customfieldvalues>
                        <customfieldvalue key="10000"><![CDATA[Impediment]]></customfieldvalue>
    
                </customfieldvalues>
            </customfield>
                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8710</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-239] Docs: Document &quot;paginator&quot;</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-239</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>Docs still point to library version 1.1...will that be updated?&lt;br/&gt;
&lt;br/&gt;
I see reference to a paginator (&lt;a href=&quot;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/couchbase-sdk-java-rn_1-1-0c.html&quot;&gt;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/couchbase-sdk-java-rn_1-1-0c.html&lt;/a&gt;) but can&amp;#39;t find any further documentation on how to use it</description>
                <environment></environment>
            <key id="22557">JCBC-239</key>
            <summary>Docs: Document &quot;paginator&quot;</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="perry">Perry Krug</reporter>
                        <labels>
                    </labels>
                <created>Wed, 6 Feb 2013 09:21:21 -0600</created>
                <updated>Wed, 6 Feb 2013 15:18:23 -0600</updated>
                                    <version>1.1.2</version>
                                                <component>docs</component>
                                <votes>0</votes>
                        <watches>2</watches>
                                                    <comments>
                    <comment id="49899" author="daschl" created="Wed, 6 Feb 2013 15:18:23 -0600"  >Library version is 1.1.2? &lt;br/&gt;
&lt;br/&gt;
Docs for the paginator will be added soon!</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8610</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-178] Java Client&apos;s Manual 1.1</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-178</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>Following are the review comments :&lt;br/&gt;
&lt;br/&gt;
1) Chapter 11. Line - &amp;#39;The other alternative is create a logging.properties and add it to your in your classpath:&amp;#39;&lt;br/&gt;
2) Chapter 8. --&amp;gt; Table 8.1 --&amp;gt;  line 2 --&amp;gt; Append a value to an existing key with custom transcoder.&lt;br/&gt;
Also, incr and decr operation descriptions are the same for the three overloaded methods.&lt;br/&gt;
3) There is no mention of ViewConnection class and the methods like createViewConnection in the chapter 10 on Views and Queries.&lt;br/&gt;
4) The version of couchbase-client jar that is shown in the snap shots in the document is 1.1-dp2 and not 1.1-dp4.&lt;br/&gt;
5) Also, there is no mention of the helper classes for eg. BucketTool and their functionalities.&lt;br/&gt;
6) Chapter 6 --&amp;gt; section 6.2 should mention about Add with Observe like section 6.3 is about set with observe.&lt;br/&gt;
7) Couchbase client also has the methods observe and observePoll which have not been described in the manual.&lt;br/&gt;
8) Appendix A3 - mentions about the addition of delete and observe functionality on the server build 1553 and above, but the manual doesn&amp;#39;t have a section on delete with   observe in section 8.4.&lt;br/&gt;
9) Chapter 7. Table 7.1 - client.getAndLock(key [, getl-expiry ], transcoder) method is not hyperlinked.&lt;br/&gt;
10) Chapter 7. - only one &amp;#39;unlock&amp;#39; method is defined, however in the API, there are two overloaded methods.&lt;br/&gt;
11) The getDesignDocument method is not defined in any chapter inside the manual.&lt;br/&gt;
12) Spatial Views and map reduce views are not defined in Chapter 10.&lt;br/&gt;
Also the API methods to fetch the spatial views/paginator query have not been elaborated.&lt;br/&gt;
13) Chapter 9. - getKeyStats method is not defined.&lt;br/&gt;
14) Chapter 5, table 5.1 - string &amp;#39;client.new&amp;#39; should be replaced with &amp;#39;new&amp;#39;.&lt;br/&gt;
15) Chapter 4, Table 4.1 - Three add operations are not hyper-linked.&lt;br/&gt;
16) Section 4.3, Line - &amp;#39;You can also use a custom transcoder the serialization of objects. This can be to serialize objects in a format that is com-&lt;br/&gt;
patible with other languages or environments.&amp;#39; needs revision.&lt;br/&gt;
17) Instead of Query.new(), it should be new Query().&lt;br/&gt;
18) Chapter 5 - Connection Operations need to be elaborated in more detail. Other that CouchbaseClient, there are other classes which act as the helper classes for building the client to server connection. </description>
                <environment></environment>
            <key id="21254">JCBC-178</key>
            <summary>Java Client&apos;s Manual 1.1</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="deeptida">Deepti Dawar</reporter>
                        <labels>
                    </labels>
                <created>Tue, 11 Dec 2012 10:56:47 -0600</created>
                <updated>Wed, 6 Feb 2013 03:26:54 -0600</updated>
                    <resolved>Wed, 6 Feb 2013 03:26:54 -0600</resolved>
                            <version>1.1-beta</version>
                                <fixVersion>1.1.3</fixVersion>
                                <component>docs</component>
                                <votes>0</votes>
                        <watches>1</watches>
                                                    <comments>
                    <comment id="49829" author="daschl" created="Wed, 6 Feb 2013 03:26:54 -0600"  >In review on docs repo, soon in master.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8588</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-188] Tutorial quickstart</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-188</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>I think it worth to add quickstart section in the java tutorial to help people first quickly start the application and then experimenting while reading the rest of the tutorial. I&amp;#39;ve wrote and Michael merged already README file describing how to do it. Would be nice if some parts of it will be published in the tutorial: &lt;a href=&quot;https://github.com/couchbaselabs/beersample-java/blob/master/README.markdown&quot;&gt;https://github.com/couchbaselabs/beersample-java/blob/master/README.markdown&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
I left an output of the terminal commands, because they will show what people should expect</description>
                <environment></environment>
            <key id="21360">JCBC-188</key>
            <summary>Tutorial quickstart</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="avsej">Sergey Avseyev</reporter>
                        <labels>
                    </labels>
                <created>Mon, 17 Dec 2012 05:28:04 -0600</created>
                <updated>Wed, 6 Feb 2013 03:26:44 -0600</updated>
                    <resolved>Wed, 6 Feb 2013 03:26:44 -0600</resolved>
                                            <fixVersion>1.1.3</fixVersion>
                                <component>docs</component>
                                <votes>0</votes>
                        <watches>1</watches>
                                                    <comments>
                    <comment id="49828" author="daschl" created="Wed, 6 Feb 2013 03:26:44 -0600"  >In review on docs repo, soon in master.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8585</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-236] Error handling documentation</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-236</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>Please create some documentation specifying possible error/failures to operations, what they &amp;quot;look&amp;quot; like in the logs/exceptions/stack traces and what our recommendation is on how to handle them.&lt;br/&gt;
&lt;br/&gt;
i.e. tmp_oom, timeouts (connection/operation/java-internal/etc), &amp;quot;get miss&amp;quot; (it&amp;#39;s technically a failure, let&amp;#39;s make it overly obvious what it means), CAS failure, add() failure, replace() failure, &lt;br/&gt;
&lt;br/&gt;
Some of this should be covered in the API reference, but this bug is specifically for a single page where this information is aggregated that a customer/user could read about how to handle errors.</description>
                <environment></environment>
            <key id="22509">JCBC-236</key>
            <summary>Error handling documentation</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="3">Duplicate</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="perry">Perry Krug</reporter>
                        <labels>
                    </labels>
                <created>Tue, 5 Feb 2013 02:39:16 -0600</created>
                <updated>Wed, 6 Feb 2013 03:23:50 -0600</updated>
                    <resolved>Wed, 6 Feb 2013 03:23:50 -0600</resolved>
                            <version>1.1.1</version>
                                <fixVersion>1.1.3</fixVersion>
                                <component>docs</component>
                                <votes>0</votes>
                        <watches>1</watches>
                                                        <issuelinks>
                        <issuelinktype id="10001">
                <name>Duplicate</name>
                                <outwardlinks description="duplicates">
                            <issuelink>
            <issuekey id="21573">JCBC-206</issuekey>
        </issuelink>
                    </outwardlinks>
                                            </issuelinktype>
                    </issuelinks>
                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8510</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-230] View Connection only released when successful (not on failure)</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-230</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>When a view operation is cancelled (timeout or else), the underlying connection for the ConnectionManager is not released and as a result no new view request can go over it.</description>
                <environment></environment>
            <key id="22231">JCBC-230</key>
            <summary>View Connection only released when successful (not on failure)</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="2" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/critical.png">Critical</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="daschl">Michael Nitschinger</reporter>
                        <labels>
                    </labels>
                <created>Fri, 1 Feb 2013 07:12:37 -0600</created>
                <updated>Wed, 6 Feb 2013 01:50:09 -0600</updated>
                    <resolved>Wed, 6 Feb 2013 01:50:09 -0600</resolved>
                            <version>1.1.0</version>
                <version>1.1.1</version>
                                <fixVersion>1.1.2</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>1</watches>
                                                    <comments>
                    <comment id="49825" author="daschl" created="Wed, 6 Feb 2013 01:50:00 -0600"  >&lt;a href=&quot;https://github.com/couchbase/couchbase-java-client/commit/4b733eb37351aa62bab7c6d58d7f689f829ea704&quot;&gt;https://github.com/couchbase/couchbase-java-client/commit/4b733eb37351aa62bab7c6d58d7f689f829ea704&lt;/a&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>2960</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-170] Update java documentation in the SDK.</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-170</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>Update java documentation in the SDK.</description>
                <environment></environment>
            <key id="21177">JCBC-170</key>
            <summary>Update java documentation in the SDK.</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="6" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="ingenthr">Matt Ingenthron</assignee>
                                <reporter username="deeptida">Deepti Dawar</reporter>
                        <labels>
                    </labels>
                <created>Thu, 6 Dec 2012 02:07:42 -0600</created>
                <updated>Tue, 5 Feb 2013 05:27:31 -0600</updated>
                    <resolved>Thu, 31 Jan 2013 08:44:56 -0600</resolved>
                                            <fixVersion>1.1.2</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="45810" author="deeptida" created="Tue, 11 Dec 2012 11:21:03 -0600"  >Fixed and Checked it in gerrit.&lt;br/&gt;
Its under review.</comment>
                    <comment id="46844" author="deeptida" created="Wed, 2 Jan 2013 04:31:30 -0600"  >Hi Matt, Michael,&lt;br/&gt;
&lt;br/&gt;
Please review at &lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;http://review.couchbase.org/#/c/23021/18&quot;&gt;http://review.couchbase.org/#/c/23021/18&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
Regards,&lt;br/&gt;
Deepti</comment>
                    <comment id="49155" author="daschl" created="Thu, 31 Jan 2013 08:44:56 -0600"  >closing since it has been merged.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8521</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-227] client behaves poorly if entire URI list is not available</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-227</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>Currently, if the client has no valid URIs in it&amp;#39;s list, it&amp;#39;s reported that it will spin trying to connect nonstop.  We should add a backoff if the entire list is traversed and unavailable.  An exponential backoff (do-while style) with a ceiling and warning to a log is probably best.</description>
                <environment></environment>
            <key id="22100">JCBC-227</key>
            <summary>client behaves poorly if entire URI list is not available</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="2" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/critical.png">Critical</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="ingenthr">Matt Ingenthron</reporter>
                        <labels>
                    </labels>
                <created>Thu, 31 Jan 2013 02:44:37 -0600</created>
                <updated>Fri, 1 Feb 2013 02:52:04 -0600</updated>
                    <resolved>Fri, 1 Feb 2013 02:52:04 -0600</resolved>
                            <version>1.1.1</version>
                                <fixVersion>1.1.2</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="49146" author="daschl" created="Thu, 31 Jan 2013 07:30:07 -0600"  >&lt;a href=&quot;http://review.couchbase.org/#/c/24322/&quot;&gt;http://review.couchbase.org/#/c/24322/&lt;/a&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                <customfield id="customfield_10010" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                <customfieldname>Flagged</customfieldname>
                <customfieldvalues>
                        <customfieldvalue key="10010"><![CDATA[Release Note]]></customfieldvalue>
    
                </customfieldvalues>
            </customfield>
                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>2944</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-159] 1.0.4 in release notes but not available for d/l</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-159</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>Not sure if this is really a docs bug, but we need to address the inconsistency between what is avialable for d/l and the latest release notes.</description>
                <environment></environment>
            <key id="21028">JCBC-159</key>
            <summary>1.0.4 in release notes but not available for d/l</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="perry">Perry Krug</reporter>
                        <labels>
                    </labels>
                <created>Fri, 30 Nov 2012 12:52:10 -0600</created>
                <updated>Thu, 31 Jan 2013 23:39:11 -0600</updated>
                    <resolved>Wed, 5 Dec 2012 11:31:19 -0600</resolved>
                                            <fixVersion>1.1.0</fixVersion>
                                <component>docs</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="45199" author="ingenthr" created="Mon, 3 Dec 2012 03:26:47 -0600"  >Do you mean that release notes are published for 1.0.4, but there is no such release?  I think that&amp;#39;s for TechPubs.  </comment>
                    <comment id="45200" author="ingenthr" created="Mon, 3 Dec 2012 03:27:32 -0600"  >There seem to be 1.0.4 release notes, but no release.</comment>
                    <comment id="45201" author="mccouch" created="Mon, 3 Dec 2012 03:35:33 -0600"  >Given that TechPubs don&amp;#39;t write the release notes, or have visibility into what individual versions of the SDKs are actually released, I&amp;#39;m not quite sure how we would know that these weren&amp;#39;t correct. &lt;br/&gt;
&lt;br/&gt;
If the items that were fixed in what is marked as 1.0.4 were fixed in a different release, they need to be marked up as such.&lt;br/&gt;
&lt;br/&gt;
I&amp;#39;ve commented out the 1.0.4 release so it wont be published, but the entries must either be deleted or assigned to the correct version number. &lt;br/&gt;
</comment>
                    <comment id="45310" author="ingenthr" created="Mon, 3 Dec 2012 23:02:15 -0600"  >MC: Thanks for the temporary removal.&lt;br/&gt;
&lt;br/&gt;
Michael: Can you see where these 1.0.4 release notes should be and fix them up appropriately?</comment>
                    <comment id="45474" author="daschl" created="Wed, 5 Dec 2012 11:31:04 -0600"  >I checked it and there were only two open, which both are related to this: &lt;a href=&quot;http://www.couchbase.com/issues/browse/SPY-102&quot;&gt;http://www.couchbase.com/issues/browse/SPY-102&lt;/a&gt; (which is open).&lt;br/&gt;
&lt;br/&gt;
So I removed the release completely and both tickets, because nothing was actually fixed in there for the versions.&lt;br/&gt;
&lt;br/&gt;
This will go in there with the 1.1 GA release notes as well, so I&amp;#39;m going to close this here.</comment>
                    <comment id="45475" author="daschl" created="Wed, 5 Dec 2012 11:31:19 -0600"  >fixed with the 1.1.0 release notes.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>2914</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-36] document getl, unlock</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-36</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>A user reports that getl and unlock are not documented.  They should be.</description>
                <environment></environment>
            <key id="16697">JCBC-36</key>
            <summary>document getl, unlock</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="rags">Raghavan Srinivas</assignee>
                                <reporter username="ingenthr">Matt Ingenthron</reporter>
                        <labels>
                    </labels>
                <created>Mon, 23 Apr 2012 10:05:29 -0500</created>
                <updated>Thu, 31 Jan 2013 23:38:09 -0600</updated>
                    <resolved>Wed, 22 Aug 2012 11:40:02 -0500</resolved>
                            <version>1.0.2</version>
                                <fixVersion>1.1dp2</fixVersion>
                                <component>docs</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="34281" author="ingenthr" created="Mon, 30 Jul 2012 16:21:16 -0500"  >getl is partially documented, but unlock is not.  It should be.</comment>
                    <comment id="36509" author="rags" created="Wed, 22 Aug 2012 11:40:02 -0500"  >The documentation changes have been made. I have verified for 1.1 and it&amp;#39;s on the queue for 1.0</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>2913</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-120] NPE when connecting to memcached bucket without configured password</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-120</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>2012-09-28 09:53:31.562 INFO com.couchbase.client.CouchbaseMemcachedConnection:  Added {QA sa=/10.3.3.135:11210, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0} to connect queue&lt;br/&gt;
java.lang.NullPointerException&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at net.spy.memcached.auth.PlainCallbackHandler.&amp;lt;init&amp;gt;(PlainCallbackHandler.java:50)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.couchbase.client.CouchbaseConnectionFactory.getAuthDescriptor(CouchbaseConnectionFactory.java:187)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at net.spy.memcached.MemcachedClient.&amp;lt;init&amp;gt;(MemcachedClient.java:197)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.couchbase.client.CouchbaseClient.&amp;lt;init&amp;gt;(CouchbaseClient.java:230)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.couchbase.client.CouchbaseClient.&amp;lt;init&amp;gt;(CouchbaseClient.java:200)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.couchbase.cbc.App.main(App.java:69)&lt;br/&gt;
&lt;br/&gt;
-- SNIPPET --&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;CouchbaseClient cli = null;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;LinkedList&amp;lt;URI&amp;gt; uriList = new LinkedList&amp;lt;URI&amp;gt;();&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;try {&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;uriList.add(new URI(&amp;quot;http://&amp;quot; + options.hostname + &amp;quot;/pools&amp;quot;));&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;cli = new CouchbaseClient(&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;uriList,&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;options.bucket, options.username, options.password);&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;} catch (Exception ex) {&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ex.printStackTrace();&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;System.exit(-1);&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br/&gt;
</description>
                <environment>This happens when connecting to a memcached bucket which is not configured with a password, and no password is specified to the ctor.&lt;br/&gt;
&lt;br/&gt;
Tested with the beta cluster</environment>
            <key id="19968">JCBC-120</key>
            <summary>NPE when connecting to memcached bucket without configured password</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="4" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/minor.png">Minor</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="mnunberg">Mark Nunberg</reporter>
                        <labels>
                    </labels>
                <created>Fri, 28 Sep 2012 11:52:59 -0500</created>
                <updated>Thu, 31 Jan 2013 23:37:20 -0600</updated>
                    <resolved>Tue, 9 Oct 2012 13:17:05 -0500</resolved>
                            <version>1.1-dp3</version>
                                <fixVersion>1.1-dp4</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="40649" author="mnunberg" created="Mon, 8 Oct 2012 13:17:53 -0500"  >This is not a duplicate of &lt;a href=&quot;http://www.couchbase.com/issues/browse/JCBC-70&quot; title=&quot;Client fails to reconnect to server of non-default memcached bucket after failover and add back&quot;&gt;&lt;strike&gt;JCBC-70&lt;/strike&gt;&lt;/a&gt;. Specifically &lt;a href=&quot;http://www.couchbase.com/issues/browse/JCBC-70&quot; title=&quot;Client fails to reconnect to server of non-default memcached bucket after failover and add back&quot;&gt;&lt;strike&gt;JCBC-70&lt;/strike&gt;&lt;/a&gt; relates to issues about memcached buckets during failover. This bug has nothing to do with failover and has to do with connecting to a memcached bucket without a configured SASL password (which the admin console lets you do).</comment>
                    <comment id="40650" author="ingenthr" created="Mon, 8 Oct 2012 13:18:52 -0500"  >Yes, just noticed that it&amp;#39;s not a dupe.  Sorry about that.  I was about to reopen it.  Note, this could be related to &lt;a href=&quot;http://www.couchbase.com/issues/browse/JCBC-70&quot; title=&quot;Client fails to reconnect to server of non-default memcached bucket after failover and add back&quot;&gt;&lt;strike&gt;JCBC-70&lt;/strike&gt;&lt;/a&gt; though.</comment>
                    <comment id="40783" author="daschl" created="Tue, 9 Oct 2012 07:29:43 -0500"  >&lt;a href=&quot;http://review.couchbase.org/#/c/21446/&quot;&gt;http://review.couchbase.org/#/c/21446/&lt;/a&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>2912</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-211] Refactor property management into a centralized class.</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-211</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description></description>
                <environment></environment>
            <key id="21765">JCBC-211</key>
            <summary>Refactor property management into a centralized class.</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="daschl">Michael Nitschinger</reporter>
                        <labels>
                    </labels>
                <created>Tue, 15 Jan 2013 04:58:27 -0600</created>
                <updated>Thu, 31 Jan 2013 10:07:23 -0600</updated>
                    <resolved>Thu, 31 Jan 2013 10:07:23 -0600</resolved>
                            <version>1.1.0</version>
                                <fixVersion>1.1.2</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="49175" author="daschl" created="Thu, 31 Jan 2013 10:07:23 -0600"  >Fixed and merged into master.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                <customfield id="customfield_10010" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                <customfieldname>Flagged</customfieldname>
                <customfieldvalues>
                        <customfieldvalue key="10010"><![CDATA[Release Note]]></customfieldvalue>
    
                </customfieldvalues>
            </customfield>
                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8768</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-181] Misleading exception when replica server not found</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-181</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>If the number of Couchbase servers is not enough to provide the required number of replicas (e.g. when installing a stand-alone server and forgetting to uncheck the &amp;#39;Enable replicas&amp;#39; option), observe throws an ArrayIndexOutOfBoundsException. An exception with a more descriptive name would indicate the error cause more clearly.&lt;br/&gt;
&lt;br/&gt;
An example stack trace:&lt;br/&gt;
&lt;br/&gt;
ArrayIndexOutOfBoundsException: -1&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;java.util.ArrayList.elementData(ArrayList.java:371)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;java.util.ArrayList.get(ArrayList.java:384)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;com.couchbase.client.vbucket.config.DefaultConfig.getServer(DefaultConfig.java:81)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;com.couchbase.client.vbucket.VBucketNodeLocator.getServerByIndex(VBucketNodeLocator.java:112)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;com.couchbase.client.CouchbaseClient.observe(CouchbaseClient.java:1621)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;com.couchbase.client.CouchbaseClient.observePoll(CouchbaseClient.java:1750)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;com.couchbase.client.CouchbaseClient.set(CouchbaseClient.java:1199)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;...</description>
                <environment></environment>
            <key id="21302">JCBC-181</key>
            <summary>Misleading exception when replica server not found</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="4" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/minor.png">Minor</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="3">Duplicate</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="schp">schp</reporter>
                        <labels>
                    </labels>
                <created>Thu, 13 Dec 2012 05:38:08 -0600</created>
                <updated>Thu, 31 Jan 2013 10:00:19 -0600</updated>
                    <resolved>Thu, 31 Jan 2013 10:00:19 -0600</resolved>
                            <version>1.1.0</version>
                                <fixVersion>1.1.2</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                        <issuelinks>
                        <issuelinktype id="10001">
                <name>Duplicate</name>
                                <outwardlinks description="duplicates">
                            <issuelink>
            <issuekey id="22038">JCBC-223</issuekey>
        </issuelink>
                    </outwardlinks>
                                            </issuelinktype>
                    </issuelinks>
                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>11319</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-223] Cannot use Persist.ONE/MASTER on a single node installation</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-223</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>Using the default bucket I am trying to use the simple &amp;quot;Durability&amp;quot; option using the following code:&lt;br/&gt;
&lt;br/&gt;
----&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;System.out.println(&amp;quot;Set a Key-Value and Get the Key-Value&amp;quot;);&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;OperationFuture op =  cb.set(&amp;quot;mytest&amp;quot;, 0, &amp;quot;my value&amp;quot;, PersistTo.MASTER);&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;System.out.println(&amp;quot;cb.get(\&amp;quot;mytest\&amp;quot;)&amp;quot; + &amp;quot; =&amp;gt; &amp;quot; + cb.get(&amp;quot;mytest&amp;quot;) + &amp;quot;\&amp;quot;&amp;quot;);&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;System.out.println(&amp;quot;&amp;quot;);&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br/&gt;
----&lt;br/&gt;
&lt;br/&gt;
This raises the following exception:&lt;br/&gt;
java.lang.ArrayIndexOutOfBoundsException: -1&lt;br/&gt;
	at java.util.ArrayList.get(ArrayList.java:324)&lt;br/&gt;
	at com.couchbase.client.vbucket.config.DefaultConfig.getServer(DefaultConfig.java:81)&lt;br/&gt;
	at com.couchbase.client.vbucket.VBucketNodeLocator.getServerByIndex(VBucketNodeLocator.java:112)&lt;br/&gt;
	at com.couchbase.client.CouchbaseClient.observe(CouchbaseClient.java:1601)&lt;br/&gt;
	at com.couchbase.client.CouchbaseClient.observePoll(CouchbaseClient.java:1730)&lt;br/&gt;
	at com.couchbase.client.CouchbaseClient.set(CouchbaseClient.java:1179)&lt;br/&gt;
	at com.couchbase.client.CouchbaseClient.set(CouchbaseClient.java:1211)&lt;br/&gt;
	at com.couchbase.devday.Ex02Storage.main(Ex02Storage.java:36)&lt;br/&gt;
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;br/&gt;
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)&lt;br/&gt;
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)&lt;br/&gt;
	at java.lang.reflect.Method.invoke(Method.java:597)&lt;br/&gt;
	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
I am using the code available at :&lt;br/&gt;
&lt;a href=&quot;https://github.com/couchbaselabs/DeveloperDay&quot;&gt;https://github.com/couchbaselabs/DeveloperDay&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://github.com/couchbaselabs/DeveloperDay/blob/master/Java/basic-operations/src/main/java/com/couchbase/devday/Ex08Observe.java&quot;&gt;https://github.com/couchbaselabs/DeveloperDay/blob/master/Java/basic-operations/src/main/java/com/couchbase/devday/Ex08Observe.java&lt;/a&gt;&lt;br/&gt;
(this example does not contain the PersistTo.ONE or MASTER since it does not work on a single node.&lt;br/&gt;
but as you can see this is a very basic sample code</description>
                <environment>Couchbase 2.0.0 Single node installation</environment>
            <key id="22038">JCBC-223</key>
            <summary>Cannot use Persist.ONE/MASTER on a single node installation</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="tgrall">Tug Grall</reporter>
                        <labels>
                    </labels>
                <created>Tue, 29 Jan 2013 03:05:01 -0600</created>
                <updated>Thu, 31 Jan 2013 10:00:13 -0600</updated>
                    <resolved>Wed, 30 Jan 2013 05:23:09 -0600</resolved>
                            <version>1.1.0</version>
                <version>1.1.1</version>
                                <fixVersion>1.1.2</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="48877" author="daschl" created="Tue, 29 Jan 2013 03:35:50 -0600"  >Note that this only happens on a one-node bucket when replica is enabled. &lt;br/&gt;
&lt;br/&gt;
Looks like this then:&lt;br/&gt;
&lt;br/&gt;
{&amp;quot;hashAlgorithm&amp;quot;:&amp;quot;CRC&amp;quot;,&amp;quot;numReplicas&amp;quot;:1,&amp;quot;serverList&amp;quot;:[&amp;quot;127.0.0.1:11210&amp;quot;],&amp;quot;vBucketMap&amp;quot;:[[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1],[0,-1]]},&amp;quot;&lt;br/&gt;
&lt;br/&gt;
and when no replica is defined there is no -1 replica of course.&lt;br/&gt;
</comment>
                    <comment id="48880" author="daschl" created="Tue, 29 Jan 2013 04:14:07 -0600"  >&lt;a href=&quot;http://review.couchbase.org/#/c/24261&quot;&gt;http://review.couchbase.org/#/c/24261&lt;/a&gt;</comment>
                    <comment id="48990" author="daschl" created="Wed, 30 Jan 2013 05:23:09 -0600"  >fixed.</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10001">
                <name>Duplicate</name>
                                                <inwardlinks description="is duplicated by">
                            <issuelink>
            <issuekey id="21302">JCBC-181</issuekey>
        </issuelink>
                    </inwardlinks>
                            </issuelinktype>
                    </issuelinks>
                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8758</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-28] refactor the entire cluster stream connection</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-28</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>Because of the codebase&amp;#39;s legacy, the handling of the Bucket and Configuration is rather odd.  It used to exist outside the client to serve a different purpose.  At that time, not changing the client internals was desirable.&lt;br/&gt;
&lt;br/&gt;
Fast forwarding to now, the internals should be updated to have the NodeLocator or the connection abstract away much of the configuration details.</description>
                <environment></environment>
            <key id="16461">JCBC-28</key>
            <summary>refactor the entire cluster stream connection</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="4" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/reopened.png">Reopened</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="ingenthr">Matt Ingenthron</reporter>
                        <labels>
                    </labels>
                <created>Tue, 3 Apr 2012 19:36:03 -0500</created>
                <updated>Thu, 31 Jan 2013 09:57:54 -0600</updated>
                                                    <fixVersion>1.2</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                            <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>11051</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-5] automatically deploying to download locations</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-5</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>Idea here is that each commit to the master branch should automatically update a maven snapshot repository.  This way, approved code is automatically available for use.&lt;br/&gt;
&lt;br/&gt;
If the artifact&amp;#39;s git describe matches a release, it should deploy to the production repository.&lt;br/&gt;
&lt;br/&gt;
For example&lt;br/&gt;
&lt;br/&gt;
1.0.0 is a release&lt;br/&gt;
1.0.0_2_gf36ab47  is 2 changes past the last release&lt;br/&gt;
&lt;br/&gt;
The latter should go to a snapshot maven repo, while the former should go the production repository.</description>
                <environment></environment>
            <key id="15829">JCBC-5</key>
            <summary>automatically deploying to download locations</summary>
                <type id="3" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/task.png">Task</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="ingenthr">Matt Ingenthron</reporter>
                        <labels>
                    </labels>
                <created>Thu, 12 Jan 2012 01:10:24 -0600</created>
                <updated>Thu, 31 Jan 2013 09:57:45 -0600</updated>
                                                    <fixVersion>.next</fixVersion>
                                <component>infrastructure</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                            <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>10626</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-176] Using BucketTool helper - error in connection to the server, bucket creation, deletion.</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-176</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>BucketTool is not behaving properly to create default bucket and connect to the server.&lt;br/&gt;
Error received while running CouchbaseClientTest using the initClient method which is overridden - &lt;br/&gt;
&lt;br/&gt;
java.lang.RuntimeException: Http Error: 401 Reason: Unauthorized Details: No reason given&lt;br/&gt;
	at com.couchbase.client.ClusterManager.checkError(ClusterManager.java:300)&lt;br/&gt;
	at com.couchbase.client.ClusterManager.listBuckets(ClusterManager.java:186)&lt;br/&gt;
	at com.couchbase.client.BucketTool$1.callback(BucketTool.java:73)&lt;br/&gt;
	at com.couchbase.client.BucketTool.poll(BucketTool.java:108)&lt;br/&gt;
	at com.couchbase.client.BucketTool.deleteAllBuckets(BucketTool.java:84)&lt;br/&gt;
	at com.couchbase.client.CouchbaseClientTest.initClient(CouchbaseClientTest.java:60)&lt;br/&gt;
	at net.spy.memcached.ClientBaseCase.setUp(ClientBaseCase.java:72)&lt;br/&gt;
	at junit.framework.TestCase.runBare(TestCase.java:132)&lt;br/&gt;
	at junit.framework.TestResult$1.protect(TestResult.java:110)&lt;br/&gt;
	at junit.framework.TestResult.runProtected(TestResult.java:128)&lt;br/&gt;
	at junit.framework.TestResult.run(TestResult.java:113)&lt;br/&gt;
	at junit.framework.TestCase.run(TestCase.java:124)&lt;br/&gt;
	at junit.framework.TestSuite.runTest(TestSuite.java:232)&lt;br/&gt;
	at junit.framework.TestSuite.run(TestSuite.java:227)&lt;br/&gt;
	at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)&lt;br/&gt;
	at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)&lt;br/&gt;
	at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)&lt;br/&gt;
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)&lt;br/&gt;
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)&lt;br/&gt;
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)&lt;br/&gt;
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)&lt;br/&gt;
&lt;br/&gt;
</description>
                <environment></environment>
            <key id="21220">JCBC-176</key>
            <summary>Using BucketTool helper - error in connection to the server, bucket creation, deletion.</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="3">Duplicate</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="deeptida">Deepti Dawar</reporter>
                        <labels>
                    </labels>
                <created>Sun, 9 Dec 2012 23:32:36 -0600</created>
                <updated>Thu, 31 Jan 2013 09:28:14 -0600</updated>
                    <resolved>Thu, 31 Jan 2013 09:27:27 -0600</resolved>
                            <version>1.1-beta</version>
                                <fixVersion>1.1.2</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="45726" author="deeptida" created="Mon, 10 Dec 2012 11:33:13 -0600"  >Attaching the log extracted from the &amp;#39;ant test&amp;#39; run.&lt;br/&gt;
The error is different but the same test is still failing.&lt;br/&gt;
Not able to run CouchbaseClientTest.</comment>
                    <comment id="46338" author="daschl" created="Wed, 19 Dec 2012 11:43:15 -0600"  >Is this still an issue for you?</comment>
                    <comment id="46460" author="deeptida" created="Thu, 20 Dec 2012 22:18:06 -0600"  >The problem still exists for the remote VMs. If I run the same test on the local server, then it passes.&lt;br/&gt;
I am linking this issue to the &lt;a href=&quot;http://www.couchbase.com/issues/browse/JCBC-189&quot; title=&quot;Views having odd timeout issues on some clusters&quot;&gt;JCBC-189&lt;/a&gt;.&lt;br/&gt;
</comment>
                    <comment id="46461" author="deeptida" created="Thu, 20 Dec 2012 22:19:22 -0600"  >The resolution for these two issues should be similar as there is still a timeout issue that is appearing for the remotely hosted server.</comment>
                    <comment id="49170" author="daschl" created="Thu, 31 Jan 2013 09:27:27 -0600"  >This is addressed in &lt;a href=&quot;http://www.couchbase.com/issues/browse/JCBC-225&quot;&gt;http://www.couchbase.com/issues/browse/JCBC-225&lt;/a&gt;</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10000">
                <name>Dependency</name>
                                <outwardlinks description="depends on">
                            <issuelink>
            <issuekey id="21413">JCBC-189</issuekey>
        </issuelink>
                    </outwardlinks>
                                            </issuelinktype>
                        <issuelinktype id="10001">
                <name>Duplicate</name>
                                <outwardlinks description="duplicates">
                            <issuelink>
            <issuekey id="22066">JCBC-225</issuekey>
        </issuelink>
                    </outwardlinks>
                                            </issuelinktype>
                    </issuelinks>
                <attachments>
                    <attachment id="15987" name="log.txt" size="227046" author="deeptida" created="Mon, 10 Dec 2012 11:33:13 -0600" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>11306</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-2] running unit tests under CI</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-2</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description></description>
                <environment></environment>
            <key id="15806">JCBC-2</key>
            <summary>running unit tests under CI</summary>
                <type id="3" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/task.png">Task</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="ingenthr">Matt Ingenthron</reporter>
                        <labels>
                    </labels>
                <created>Thu, 5 Jan 2012 10:53:08 -0600</created>
                <updated>Thu, 31 Jan 2013 09:19:59 -0600</updated>
                    <resolved>Thu, 31 Jan 2013 09:19:59 -0600</resolved>
                            <version>1.0.2</version>
                                <fixVersion>1.2</fixVersion>
                                                <votes>0</votes>
                        <watches>0</watches>
                                                        <issuelinks>
                        <issuelinktype id="10001">
                <name>Duplicate</name>
                                <outwardlinks description="duplicates">
                            <issuelink>
            <issuekey id="15827">JCBC-3</issuekey>
        </issuelink>
                    </outwardlinks>
                                            </issuelinktype>
                    </issuelinks>
                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>11318</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-85] We need a better way to run our view tests</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-85</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>Right now we create a view and the wait for 30 seconds. We should add dome logic to be able to tell exactly when the view is created so that the unit tests run faster.</description>
                <environment></environment>
            <key id="18389">JCBC-85</key>
            <summary>We need a better way to run our view tests</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="mikew">Mike Wiederhold</reporter>
                        <labels>
                    </labels>
                <created>Thu, 12 Jul 2012 13:22:22 -0500</created>
                <updated>Thu, 31 Jan 2013 09:16:52 -0600</updated>
                    <resolved>Thu, 31 Jan 2013 09:16:52 -0600</resolved>
                                            <fixVersion>1.1.0</fixVersion>
                                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="40652" author="ingenthr" created="Mon, 8 Oct 2012 13:36:17 -0500"  >Passing to Michael as an improvement to be made in the 1.2 timeframe since there is a server dependency.  We can&amp;#39;t currently determine when the cluster has distributed ddocs (that happens asynchronously).</comment>
                    <comment id="49166" author="daschl" created="Thu, 31 Jan 2013 09:16:52 -0600"  >This has been fixed with the introduction of the ClusterManager as part of the test suite.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>10105</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-22] Spring Support for CouchbaseClient</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-22</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>We need to add support for the following Spring Integration Parts:&lt;br/&gt;
&lt;br/&gt;
- General Info on how to use the Client with Spring Beans&lt;br/&gt;
- Caching Support through @Cacheable annotations&lt;br/&gt;
- Spring Data Support (yet to be defined).&lt;br/&gt;
&lt;br/&gt;
Current progress of the (yet unofficial support) can be tracked here: &lt;a href=&quot;https://github.com/couchbaselabs/couchbase-spring&quot;&gt;https://github.com/couchbaselabs/couchbase-spring&lt;/a&gt;</description>
                <environment></environment>
            <key id="14653">JCBC-22</key>
            <summary>Spring Support for CouchbaseClient</summary>
                <type id="2" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/newfeature.png">New Feature</type>
                                <priority id="2" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/critical.png">Critical</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="2">Won&apos;t Fix</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="mikew">Mike Wiederhold</reporter>
                        <labels>
                    </labels>
                <created>Tue, 26 Jul 2011 01:22:50 -0500</created>
                <updated>Thu, 31 Jan 2013 09:15:13 -0600</updated>
                    <resolved>Thu, 31 Jan 2013 09:15:13 -0600</resolved>
                                                            <component>library</component>
                                <votes>4</votes>
                        <watches>1</watches>
                                                    <comments>
                    <comment id="44293" author="osk" created="Mon, 19 Nov 2012 07:44:57 -0600"  >Need any help on this?</comment>
                    <comment id="49163" author="daschl" created="Thu, 31 Jan 2013 09:14:54 -0600"  >I&amp;#39;m going to close this ticket because it&amp;#39;s not part of the couchbase client.&lt;br/&gt;
&lt;br/&gt;
All ongoing efforts can be found here: &lt;a href=&quot;https://github.com/couchbaselabs/spring-data-couchbase&quot;&gt;https://github.com/couchbaselabs/spring-data-couchbase&lt;/a&gt;</comment>
                    <comment id="49164" author="daschl" created="Thu, 31 Jan 2013 09:15:13 -0600"  >This is now part of a separate project.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>10785</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-207] incorrect logic in reconnection threshold leads to never actually reconnecting</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-207</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>In the CouchbaseConnectionFactory, the pastReconnThreshold() method doesn&amp;#39;t correctly check the threshold time.  It&amp;#39;s using millis mixed with nanos.</description>
                <environment></environment>
            <key id="21683">JCBC-207</key>
            <summary>incorrect logic in reconnection threshold leads to never actually reconnecting</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="6" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="ingenthr">Matt Ingenthron</assignee>
                                <reporter username="ingenthr">Matt Ingenthron</reporter>
                        <labels>
                    </labels>
                <created>Wed, 9 Jan 2013 02:29:41 -0600</created>
                <updated>Thu, 31 Jan 2013 08:50:30 -0600</updated>
                    <resolved>Thu, 31 Jan 2013 08:50:30 -0600</resolved>
                                            <fixVersion>1.1.0</fixVersion>
                                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="47349" author="ingenthr" created="Wed, 9 Jan 2013 02:31:25 -0600"  >This is a regression of &lt;a href=&quot;http://www.couchbase.com/issues/browse/JCBC-19&quot; title=&quot;client can fail to reconnect to the cluster if the place it&amp;#39;s currently connected fails&quot;&gt;&lt;strike&gt;JCBC-19&lt;/strike&gt;&lt;/a&gt;.</comment>
                    <comment id="47397" author="ingenthr" created="Wed, 9 Jan 2013 14:00:53 -0600"  >It turns out this is not a regression.  The way the test is being carried out is different in this case.&lt;br/&gt;
&lt;br/&gt;
so, I worked out why this java failover isn&amp;#39;t working.  it&amp;#39;s related to using kill -STOP&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
Here&amp;#39;s the current behavior, &lt;br/&gt;
there&amp;#39;s a per-node continuious operation timeout threshold&lt;br/&gt;
after a given node times out a bunch, the client will drop the connection to that node &lt;br/&gt;
then it&amp;#39;ll try to reestablish it &lt;br/&gt;
meanwhile, there&amp;#39;s another counter for how often we can&amp;#39;t find an established connection to a node the config says we should be using &lt;br/&gt;
that second one, the algorithm is 10 failures to find the node in a 10 second window means re-bootstrap&lt;br/&gt;
so, the problem... &lt;br/&gt;
is that when we kill -STOP (instead of an actual cable pull) &lt;br/&gt;
you can still establish new connections to 11210 &lt;br/&gt;
so, we drop and reestablish, send a bunch of stuff, then drop and reestablish quickly&lt;br/&gt;
&lt;br/&gt;
but this algorithm that I&amp;#39;d tested with actual cable pulls will work with actual cable pulls, but it won&amp;#39;t work (without big changes) in the sigstop case ingenthr &lt;br/&gt;
because we consider the connection &amp;quot;good&amp;quot; at the time of established, not at the time of sending data &lt;br/&gt;
maybe that&amp;#39;s incorrect to do</comment>
                    <comment id="47398" author="ingenthr" created="Wed, 9 Jan 2013 14:22:48 -0600"  >I think I&amp;#39;ve worked out an approach with Mark Nunberg&amp;#39;s help.&lt;br/&gt;
&lt;br/&gt;
We&amp;#39;ll need to change spymemcached to verify the connection is actually good with a noop before calling it good.  If it fails that, it&amp;#39;ll go back to be reconnected.  We may need backoff for this as well.</comment>
                    <comment id="47401" author="daschl" created="Wed, 9 Jan 2013 14:57:26 -0600"  >Just as a note, the changesets I&amp;#39;ve pushed were tested against &amp;quot;freezing&amp;quot; a VM.</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10000">
                <name>Dependency</name>
                                <outwardlinks description="depends on">
                            <issuelink>
            <issuekey id="21782">SPY-108</issuekey>
        </issuelink>
                    </outwardlinks>
                                            </issuelinktype>
                    </issuelinks>
                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8771</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-222] prioritized disk write queue - java client</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-222</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>ability for the client to specify that a write should be prioritized and the server to fast track that write to disk ahead of whatever might be in the disk write queue. Especially important during the case of rebalance where they may be a million+ items in the queue and the write needs to be prioritized for whatever purpose.&lt;br/&gt;
&lt;br/&gt;
Should be able to work with observe operations as well as observe+xdcr(&lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-7614&quot;&gt;http://www.couchbase.com/issues/browse/MB-7614&lt;/a&gt;)</description>
                <environment></environment>
            <key id="22022">JCBC-222</key>
            <summary>prioritized disk write queue - java client</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="ingenthr">Matt Ingenthron</assignee>
                                <reporter username="alex">Alex Ma</reporter>
                        <labels>
                    </labels>
                <created>Mon, 28 Jan 2013 12:40:55 -0600</created>
                <updated>Thu, 31 Jan 2013 08:46:51 -0600</updated>
                                                    <fixVersion>.next</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                            <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8759</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-221] XDCR observe - java client</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-221</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>Add functionality to the Java client so that request for observe can block the request until either persisted to disk, replicated to another node intra cluster or replicated to a remote cluster.</description>
                <environment>Couchbase Server 2.0 GA with XDCR either across datacenters or AWS Regions</environment>
            <key id="22020">JCBC-221</key>
            <summary>XDCR observe - java client</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="dipti">Dipti Borkar</assignee>
                                <reporter username="alex">Alex Ma</reporter>
                        <labels>
                    </labels>
                <created>Mon, 28 Jan 2013 12:27:34 -0600</created>
                <updated>Thu, 31 Jan 2013 08:46:36 -0600</updated>
                                                    <fixVersion>.next</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="48776" author="dipti" created="Mon, 28 Jan 2013 12:57:31 -0600"  >This needs additional internal discussion first. </comment>
                    <comment id="48826" author="ingenthr" created="Mon, 28 Jan 2013 15:31:02 -0600"  >We also need some semblance of what kind of throughput and response times are reasonable.  There are currently some architectural limitations that mean remote replication will take potentially quite a while.  I&amp;#39;d be reticent to implement this without knowing if the end result is useable.</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10000">
                <name>Dependency</name>
                                <outwardlinks description="depends on">
                            <issuelink>
            <issuekey id="22019">MB-7614</issuekey>
        </issuelink>
                    </outwardlinks>
                                            </issuelinktype>
                    </issuelinks>
                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8760</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-70] Client fails to reconnect to server of non-default memcached bucket after failover and add back</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-70</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>In earlier tests with reconnecting to a node on failover we used default memcached bucket. But when we tested the same scenario with a non-default bucket, we noticed the client did not reconnect (due to a null pointer exception internally). I have attached the SDK logs for this scenario where we used &amp;quot;IndexByLniataData&amp;quot; memcached bucket. The problem presents when adding the node back after a failover.&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&lt;br/&gt;
11:34:43,411 DEBUG [Memcached IO over {MemcachedConnection to /10.14.5.119:11210}] [CouchbaseMemcachedConnection] Selecting with delay of 3038ms &lt;br/&gt;
Exception in thread &amp;quot;Thread-3&amp;quot; java.lang.NullPointerException &lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at net.spy.memcached.auth.AuthThread.buildOperation(AuthThread.java:117) &lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at net.spy.memcached.auth.AuthThread.run(AuthThread.java:86) &lt;br/&gt;
&lt;br/&gt;
Logs/stack trace attached.</description>
                <environment></environment>
            <key id="18074">JCBC-70</key>
            <summary>Client fails to reconnect to server of non-default memcached bucket after failover and add back</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="1" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/blocker.png">Blocker</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="3">Duplicate</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="perry">Perry Krug</reporter>
                        <labels>
                        <label>customer</label>
                    </labels>
                <created>Thu, 28 Jun 2012 09:56:04 -0500</created>
                <updated>Wed, 30 Jan 2013 04:01:25 -0600</updated>
                    <resolved>Wed, 30 Jan 2013 04:01:10 -0600</resolved>
                            <version>1.0.3</version>
                                <fixVersion>1.1.2</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>3</watches>
                                                    <comments>
                    <comment id="36641" author="ingenthr" created="Wed, 22 Aug 2012 22:22:23 -0500"  >I&amp;#39;ve spent a bit of time analyzing this issue, and it&amp;#39;s not clear what the cause is.  It is correct though that this would cause the auth thread to die, and as such authentication to the node would never complete.&lt;br/&gt;
&lt;br/&gt;
There is a safeguard already in that the continuous timeout threshold will kick in and then the connection will be rebuilt.  I don&amp;#39;t know if this issue comes up all of the time, but assuming it&amp;#39;s a rare event we&amp;#39;d see 1000 operations timeout (by default) followed by the connection being rebuilt.&lt;br/&gt;
&lt;br/&gt;
We&amp;#39;d have to add some diagnostic information to the client and reliably reproduce this to identify the issue.  I think the scenario is:&lt;br/&gt;
1) set up a cluster of say 3 nodes&lt;br/&gt;
2) configure a client, have it work with an authenticated memcached bucket on the cluster&lt;br/&gt;
3) faillover a node by clicking on &amp;quot;failover&amp;quot; in the console&lt;br/&gt;
4) add the node back by clicking on &amp;quot;add back&amp;quot;&lt;br/&gt;
&lt;br/&gt;
Is this correct?</comment>
                    <comment id="36657" author="perry" created="Thu, 23 Aug 2012 03:09:21 -0500"  >That appears correct.  The customer has been able to reliably reproduce this, but since so much time has passed I would be hesitant in going back to them if not necessary...</comment>
                    <comment id="47348" author="ingenthr" created="Wed, 9 Jan 2013 01:55:32 -0600"  >There is an open changeset for this.  Please determine if it is correct, needs to go in.</comment>
                    <comment id="48986" author="daschl" created="Wed, 30 Jan 2013 04:01:10 -0600"  >Duplicate of Spy-111</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10000">
                <name>Dependency</name>
                                <outwardlinks description="depends on">
                            <issuelink>
            <issuekey id="20246">SPY-102</issuekey>
        </issuelink>
                    </outwardlinks>
                                            </issuelinktype>
                        <issuelinktype id="10001">
                <name>Duplicate</name>
                                                <inwardlinks description="is duplicated by">
                            <issuelink>
            <issuekey id="22010">SPY-111</issuekey>
        </issuelink>
                    </inwardlinks>
                            </issuelinktype>
                    </issuelinks>
                <attachments>
                    <attachment id="13745" name="sc_1_plabq11.dev.sabre.com.out.gz" size="1700132" author="perry" created="Thu, 28 Jun 2012 09:56:04 -0500" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>11302</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-224] Functional Integration tests failure tracking.</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-224</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>I am raising this JCBC issue as a blocker for the SDKQE task.&lt;br/&gt;
&lt;br/&gt;
The new observations that are coming everyday on the test runs would be updated here and if those are identified as major issues which could be fixed in the release 1.1.2, should be fixed as part of this task.&lt;br/&gt;
&lt;br/&gt;
I understand that we dont have a build ready now. But it would be good to track the issues and fix them as a preventive measure for the upcoming build.</description>
                <environment></environment>
            <key id="22058">JCBC-224</key>
            <summary>Functional Integration tests failure tracking.</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="2">Won&apos;t Fix</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="deeptida">Deepti Dawar</reporter>
                        <labels>
                    </labels>
                <created>Tue, 29 Jan 2013 19:16:37 -0600</created>
                <updated>Wed, 30 Jan 2013 00:39:29 -0600</updated>
                    <resolved>Wed, 30 Jan 2013 00:39:29 -0600</resolved>
                            <version>1.1.1</version>
                                                <component>library</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="48975" author="daschl" created="Wed, 30 Jan 2013 00:39:29 -0600"  >Hi Deepti,&lt;br/&gt;
&lt;br/&gt;
sorry to say but I have to disagree with you here. Please open tickets as issues arise. It doesn&amp;#39;t make sense to have a bug ticket around that doesn&amp;#39;t contain an actual bug, and tracking more than one bug in a ticket is not good either.&lt;br/&gt;
&lt;br/&gt;
As a result, I&amp;#39;m closing this, feel free to create distinct issues when they come  up with a descriptive title and a detailed description.&lt;br/&gt;
&lt;br/&gt;
thanks!</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10000">
                <name>Dependency</name>
                                                <inwardlinks description="blocks">
                                    </inwardlinks>
                            </issuelinktype>
                    </issuelinks>
                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8757</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-219] Fix reconnect logic when server closes the socket.</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-219</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>When the server disconnects on us during a valid remove/failover rebalance, it is the case that the CouchbaseClient stays connected and doesnt try to disconnect and retry. This leaves the client in a dangerous state where no updates are fetched and therefore the map is incorrect.</description>
                <environment></environment>
            <key id="21957">JCBC-219</key>
            <summary>Fix reconnect logic when server closes the socket.</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="1" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/blocker.png">Blocker</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="daschl">Michael Nitschinger</reporter>
                        <labels>
                    </labels>
                <created>Thu, 24 Jan 2013 08:52:52 -0600</created>
                <updated>Tue, 29 Jan 2013 01:32:40 -0600</updated>
                    <resolved>Tue, 29 Jan 2013 01:32:40 -0600</resolved>
                            <version>1.1.0</version>
                <version>1.1.1</version>
                                <fixVersion>1.1.2</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="48599" author="daschl" created="Fri, 25 Jan 2013 02:59:22 -0600"  >&lt;a href=&quot;http://review.couchbase.org/#/c/24182/&quot;&gt;http://review.couchbase.org/#/c/24182/&lt;/a&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8762</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-220] Spymemcached doesn&apos;t flush the queues correctly during bulk loads</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-220</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>CB:2.0&lt;br/&gt;
Library: 1.1.1&lt;br/&gt;
There is data loss in couchbase 2.0 when using the set command and the couchbase bucket . Loss seem to be severe the longer away the servers are from the client. Same java client works well with memcached buckets in 2.0, and both couchbase and memcached buckets in 1.8.1. See screenshots below. Note the item count in the couchbase bucket which is missing 24% of the data.&lt;br/&gt;
Attached Image for the total items stored in the couchbase bucket. Only 750K items stored for 1M inserts.&lt;br/&gt;
&lt;br/&gt;
On bulk loads using the 1.1.1 library, the customer is seeing data loss for the items that have been set.&lt;br/&gt;
&lt;br/&gt;
The customer tried to set 1M items using the latest Java Client 1.1.1 and figured out that all the items are getting persisted.&lt;br/&gt;
&lt;br/&gt;
An update from the customer.......&lt;br/&gt;
&lt;br/&gt;
I have rewritten it a bit and reproduced the problem here. Find the updated version enclosed where you can see the issue being reproduced. You will see that the number of keys reported by couchbase is not the number of keys that we have inserted.&lt;br/&gt;
&lt;br/&gt;
It seems that the problem is in the handling of queueing the set calls internally in the driver. I.e, if we don&amp;#39;t actively force the &amp;quot;async&amp;quot; queues to flush (by calling the future get()), data on the queues could be discarded. So this sounds like a spymemcached bug where it does not correctly flush the queues during high loads? According to the javadoc we should have seen the below, and if not, we should have assumed that all operations were properly processed?&lt;br/&gt;
&lt;br/&gt;
java.lang.IllegalStateException - in the rare circumstance where queue is too full to accept any more requests&lt;br/&gt;
&lt;br/&gt;
Attache code using which we were able to reproduce this error on bulk loads.&lt;br/&gt;
</description>
                <environment></environment>
            <key id="21990">JCBC-220</key>
            <summary>Spymemcached doesn&apos;t flush the queues correctly during bulk loads</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="5">Cannot Reproduce</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="mkumar">Muthu Kumar</reporter>
                        <labels>
                        <label>1.1.1</label>
                        <label>bulk</label>
                        <label>clients</label>
                        <label>issue</label>
                        <label>java</label>
                        <label>memcached</label>
                        <label>queueing</label>
                        <label>sets</label>
                    </labels>
                <created>Fri, 25 Jan 2013 09:05:52 -0600</created>
                <updated>Mon, 28 Jan 2013 05:51:52 -0600</updated>
                    <resolved>Fri, 25 Jan 2013 11:03:52 -0600</resolved>
                            <version>1.1.1</version>
                                                <component>library</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="48621" author="mkumar" created="Fri, 25 Jan 2013 09:13:31 -0600"  >The customer is also interested to know as below.&lt;br/&gt;
&lt;br/&gt;
Just a side note - could it be that the:&lt;br/&gt;
net.spy.memcached.DefaultConnectionFactory# createOperationQueue&lt;br/&gt;
need to be configured differently? From what I can see spymemcached provides two different operation queues, and it seems that it should either block the add of the async call or just let the queue keep growing (array versus linked queue).&lt;br/&gt;
Looking forward to engineering response.&lt;br/&gt;
</comment>
                    <comment id="48624" author="mkumar" created="Fri, 25 Jan 2013 10:08:34 -0600"  >No Michael - Can I close this and raise a CBSE ?</comment>
                    <comment id="48625" author="daschl" created="Fri, 25 Jan 2013 10:33:55 -0600"  >Yes please!</comment>
                    <comment id="48628" author="ingenthr" created="Fri, 25 Jan 2013 11:03:52 -0600"  >I&amp;#39;m sorry to say, the test is wrong.  The client&amp;#39;s shutdown method is never called, and that would allow the IO thread to complete work before shutting down.  &lt;br/&gt;
&lt;br/&gt;
The get() method on the OperationFuture never does flush a queue.  You&amp;#39;re just killing the IO thread with a System.exit(0) from the main thread before the IO thread gets to complete its work.</comment>
                    <comment id="48728" author="mkumar" created="Mon, 28 Jan 2013 05:27:15 -0600"  >Thanks Michael and Matt - I have updated the ticket with your comments and will raise a CBSE if the customer comes back with an issue.</comment>
                    <comment id="48731" author="mkumar" created="Mon, 28 Jan 2013 05:51:52 -0600"  >Raised this &lt;a href=&quot;http://www.couchbase.com/issues/browse/CBSE-366&quot;&gt;http://www.couchbase.com/issues/browse/CBSE-366&lt;/a&gt;</comment>
                </comments>
                    <attachments>
                    <attachment id="16301" name="2.0-couchbase.png" size="29167" author="mkumar" created="Fri, 25 Jan 2013 09:05:52 -0600" />
                    <attachment id="16300" name="Couch1234.java" size="2195" author="mkumar" created="Fri, 25 Jan 2013 09:05:52 -0600" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8761</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-149] Learn how to build/execute Java SDKD against multiple versions of the client library, whether from Maven, source, etc. (carryover)</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-149</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>Learn how to build/execute Java SDKD against multiple versions of the client library, whether from Maven, source, etc. (carryover)</description>
                <environment></environment>
            <key id="20827">JCBC-149</key>
            <summary>Learn how to build/execute Java SDKD against multiple versions of the client library, whether from Maven, source, etc. (carryover)</summary>
                <type id="3" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/task.png">Task</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="6" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="deeptida">Deepti Dawar</assignee>
                                <reporter username="deeptida">Deepti Dawar</reporter>
                        <labels>
                    </labels>
                <created>Mon, 19 Nov 2012 04:28:00 -0600</created>
                <updated>Thu, 24 Jan 2013 23:48:33 -0600</updated>
                    <resolved>Mon, 19 Nov 2012 04:28:52 -0600</resolved>
                            <version>1.1-dp4</version>
                                                <component>library</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="44286" author="deeptida" created="Mon, 19 Nov 2012 04:28:52 -0600"  >Finished the task and sent the output jar file for review.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>10070</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-140] Code breaks when Connection URI is improper</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-140</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>The code breaks abruptly when connection URI is not given in a proper format in the SDK client for connecting the to required Couchbase server.&lt;br/&gt;
For instance, when I am specifying the URI as &amp;quot;http:/10.3.2.57:8091/index.html&amp;quot; instead of &amp;quot;http:/10.3.2.57:8091/pools&amp;quot;, exception appears, &lt;br/&gt;
whereas a proper error message should be returned saying that &amp;#39;Connection could not be established to the requested server location&amp;#39;.&lt;br/&gt;
Please find attached the log file for the exception trace.</description>
                <environment>1939 - &amp;lt;manifest&amp;gt;&amp;lt;remote name=&amp;quot;couchbase&amp;quot; fetch=&amp;quot;&lt;a href=&quot;git://github.com/couchbase/&quot;&gt;git://github.com/couchbase/&lt;/a&gt;&amp;quot;/&amp;gt;&amp;lt;remote name=&amp;quot;membase&amp;quot; fetch=&amp;quot;&lt;a href=&quot;git://github.com/membase/&quot;&gt;git://github.com/membase/&lt;/a&gt;&amp;quot;/&amp;gt;&amp;lt;remote name=&amp;quot;apache&amp;quot; fetch=&amp;quot;&lt;a href=&quot;git://github.com/apache/&quot;&gt;git://github.com/apache/&lt;/a&gt;&amp;quot;/&amp;gt;&amp;lt;remote name=&amp;quot;erlang&amp;quot; fetch=&amp;quot;&lt;a href=&quot;git://github.com/erlang/&quot;&gt;git://github.com/erlang/&lt;/a&gt;&amp;quot;/&amp;gt;&amp;lt;default remote=&amp;quot;couchbase&amp;quot; revision=&amp;quot;master&amp;quot;/&amp;gt;&amp;lt;project name=&amp;quot;tlm&amp;quot; path=&amp;quot;tlm&amp;quot; revision=&amp;quot;12abea946eafd7411273d18a10ae1f84390db3d4&amp;quot;&amp;gt;&amp;lt;copyfile src=&amp;quot;Makefile.top&amp;quot; dest=&amp;quot;Makefile&amp;quot;/&amp;gt;&amp;lt;/project&amp;gt;&amp;lt;project name=&amp;quot;bucket_engine&amp;quot; path=&amp;quot;bucket_engine&amp;quot; revision=&amp;quot;70b3624abc697b7d18bf3d57f331b7674544e1e7&amp;quot;/&amp;gt;&amp;lt;project name=&amp;quot;ep-engine&amp;quot; path=&amp;quot;ep-engine&amp;quot; revision=&amp;quot;68e3f7c57ae40c42dcb94e4d282bbd1648f9adc0&amp;quot;/&amp;gt;&amp;lt;project name=&amp;quot;libconflate&amp;quot; path=&amp;quot;libconflate&amp;quot; revision=&amp;quot;2cc8eff8e77d497d9f03a30fafaecb85280535d6&amp;quot;/&amp;gt;&amp;lt;project name=&amp;quot;libmemcached&amp;quot; path=&amp;quot;libmemcached&amp;quot; revision=&amp;quot;ca739a890349ac36dc79447e37da7caa9ae819f5&amp;quot; remote=&amp;quot;membase&amp;quot;/&amp;gt;&amp;lt;project name=&amp;quot;libvbucket&amp;quot; path=&amp;quot;libvbucket&amp;quot; revision=&amp;quot;00d3763593c116e8e5d97aa0b646c42885727398&amp;quot;/&amp;gt;&amp;lt;project name=&amp;quot;membase-cli&amp;quot; path=&amp;quot;membase-cli&amp;quot; revision=&amp;quot;7fe4121e7e83952a4cb032e25a2cb9fca1709354&amp;quot; remote=&amp;quot;membase&amp;quot;/&amp;gt;&amp;lt;project name=&amp;quot;memcached&amp;quot; path=&amp;quot;memcached&amp;quot; revision=&amp;quot;7ea975a93a0231393502af4ca98976eee8a83386&amp;quot; remote=&amp;quot;membase&amp;quot;/&amp;gt;&amp;lt;project name=&amp;quot;moxi&amp;quot; path=&amp;quot;moxi&amp;quot; revision=&amp;quot;52a5fa887bfff0bf719c4ee5f29634dd8707500e&amp;quot;/&amp;gt;&amp;lt;project name=&amp;quot;ns_server&amp;quot; path=&amp;quot;ns_server&amp;quot; revision=&amp;quot;315aa6af297d7139c505e2fa9aa31dd429615a7d&amp;quot;/&amp;gt;&amp;lt;project name=&amp;quot;portsigar&amp;quot; path=&amp;quot;portsigar&amp;quot; revision=&amp;quot;1bc865e1622fb93a3fe0d1a4cdf18eb97ed9d600&amp;quot;/&amp;gt;&amp;lt;project name=&amp;quot;sigar&amp;quot; path=&amp;quot;sigar&amp;quot; revision=&amp;quot;63a3cd1b316d2d4aa6dd31ce8fc66101b983e0b0&amp;quot;/&amp;gt;&amp;lt;project name=&amp;quot;couchbase-examples&amp;quot; path=&amp;quot;couchbase-examples&amp;quot; revision=&amp;quot;544688dc56420faaf6f25946dd4b3ef3f7c15286&amp;quot;/&amp;gt;&amp;lt;project name=&amp;quot;couchbase-python-client&amp;quot; path=&amp;quot;couchbase-python-client&amp;quot; revision=&amp;quot;006c1aa8b76f6bce11109af8a309133b57079c4c&amp;quot;/&amp;gt;&amp;lt;project name=&amp;quot;couchdb&amp;quot; path=&amp;quot;couchdb&amp;quot; revision=&amp;quot;b68b5f40e0911db7de651b457e6a79a5937ff810&amp;quot;/&amp;gt;&amp;lt;project name=&amp;quot;couchdbx-app&amp;quot; path=&amp;quot;couchdbx-app&amp;quot; revision=&amp;quot;1130fa3c1f117527b761497cfa0c15a1e9968808&amp;quot;/&amp;gt;&amp;lt;project name=&amp;quot;couchstore&amp;quot; path=&amp;quot;couchstore&amp;quot; revision=&amp;quot;b5937c4479bf05dcc67264efe19abaf52870a127&amp;quot;/&amp;gt;&amp;lt;project name=&amp;quot;geocouch&amp;quot; path=&amp;quot;geocouch&amp;quot; revision=&amp;quot;849d5443689b1924f097548af864c539bffcc929&amp;quot;/&amp;gt;&amp;lt;project name=&amp;quot;mccouch&amp;quot; path=&amp;quot;mccouch&amp;quot; revision=&amp;quot;88701cc326bc3dde4ed072bb8441be83adcfb2a5&amp;quot;/&amp;gt;&amp;lt;project name=&amp;quot;testrunner&amp;quot; path=&amp;quot;testrunner&amp;quot; revision=&amp;quot;c4e82c929b3c7f2328f234fc9d79b38868268455&amp;quot;/&amp;gt;&amp;lt;project name=&amp;quot;otp&amp;quot; path=&amp;quot;otp&amp;quot; revision=&amp;quot;b6dc1a844eab061d0a7153d46e7e68296f15a504&amp;quot; remote=&amp;quot;erlang&amp;quot;/&amp;gt;&amp;lt;project name=&amp;quot;icu4c&amp;quot; path=&amp;quot;icu4c&amp;quot; revision=&amp;quot;26359393672c378f41f2103a8699c4357c894be7&amp;quot; remote=&amp;quot;couchbase&amp;quot;/&amp;gt;&amp;lt;project name=&amp;quot;snappy&amp;quot; path=&amp;quot;snappy&amp;quot; revision=&amp;quot;5681dde156e9d07adbeeab79666c9a9d7a10ec95&amp;quot; remote=&amp;quot;couchbase&amp;quot;/&amp;gt;&amp;lt;project name=&amp;quot;v8&amp;quot; path=&amp;quot;v8&amp;quot; revision=&amp;quot;447decb75060a106131ab4de934bcc374648e7f2&amp;quot; remote=&amp;quot;couchbase&amp;quot;/&amp;gt;&amp;lt;project name=&amp;quot;gperftools&amp;quot; path=&amp;quot;gperftools&amp;quot; revision=&amp;quot;8f60ba949fb8576c530ef4be148bff97106ddc59&amp;quot; remote=&amp;quot;couchbase&amp;quot;/&amp;gt;&amp;lt;project name=&amp;quot;pysqlite&amp;quot; path=&amp;quot;pysqlite&amp;quot; revision=&amp;quot;0ff6e32ea05037fddef1eb41a648f2a2141009ea&amp;quot; remote=&amp;quot;couchbase&amp;quot;/&amp;gt;&amp;lt;/manifest&amp;gt;</environment>
            <key id="20598">JCBC-140</key>
            <summary>Code breaks when Connection URI is improper</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="6" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="deeptida">Deepti Dawar</assignee>
                                <reporter username="deeptida">Deepti Dawar</reporter>
                        <labels>
                    </labels>
                <created>Wed, 7 Nov 2012 03:18:54 -0600</created>
                <updated>Thu, 24 Jan 2013 23:46:37 -0600</updated>
                    <resolved>Tue, 15 Jan 2013 11:45:02 -0600</resolved>
                            <version>1.1-dp3</version>
                                <fixVersion>1.1.1</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="43541" author="daschl" created="Thu, 8 Nov 2012 03:33:02 -0600"  >Deepti,&lt;br/&gt;
&lt;br/&gt;
I think the logs already provide a helpful error message with the stack trace that shows what it tried to parse.&lt;br/&gt;
&lt;br/&gt;
In the case you provided, the logs would say 2012-11-08 10:29:09.254 WARN com.couchbase.client.vbucket.ConfigurationProviderHTTP:  Provided URI &lt;a href=&quot;http://192.168.1.105:8091/index.html&quot;&gt;http://192.168.1.105:8091/index.html&lt;/a&gt; has an unparsable response...skipping&lt;br/&gt;
&lt;br/&gt;
and then print a stack trace of what was tried to parse (in this case hughe chunks of HTML).&lt;br/&gt;
&lt;br/&gt;
Also, if you pass in more URIs it would try to get the next one to establish a successful connection.&lt;br/&gt;
&lt;br/&gt;
I think we could catch it and add a different error message, but then it wont be clear to the user what happened.&lt;br/&gt;
&lt;br/&gt;
If you think we really should change something here, please reopen the issue and then we can discuss it together at a broader audience!&lt;br/&gt;
&lt;br/&gt;
Thanks,&lt;br/&gt;
Michael</comment>
                    <comment id="43546" author="deeptida" created="Thu, 8 Nov 2012 04:44:26 -0600"  >Dear Michael,&lt;br/&gt;
&lt;br/&gt;
As discussed with you, I think the exception here should be caught in a very generic manner that gives the user some information like this - &amp;quot;Connection could not be established - Either the URI provided is incorrect or the host is unavailable&amp;quot;. As the user is not concerned about what is happening beyond the scene and not in the least about what is getting parsed in order for the connection to be established. He is just concerned about the system URL he wants to connect to and the network. Either of these two if unavailable with cause an issue in connection, only that needs to be highlighted back to the user in form of a warning message. It should not abruptly break the code. Hence, I am reopening this defect for further investigation.&lt;br/&gt;
&lt;br/&gt;
Regards,&lt;br/&gt;
Deepti</comment>
                    <comment id="46574" author="deeptida" created="Wed, 26 Dec 2012 05:20:52 -0600"  >File changed.&lt;br/&gt;
Please approve for check in.</comment>
                    <comment id="46837" author="deeptida" created="Wed, 2 Jan 2013 03:55:50 -0600"  >Hi Michael,&lt;br/&gt;
&lt;br/&gt;
Please review at &lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;http://review.couchbase.org/#/c/23648/2&quot;&gt;http://review.couchbase.org/#/c/23648/2&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
Regards,&lt;br/&gt;
Deepti</comment>
                    <comment id="46946" author="mnunberg" created="Wed, 2 Jan 2013 20:13:04 -0600"  >I think this should be converted to some kind of connection or execution exception, providing more detailed information.</comment>
                    <comment id="47280" author="deeptida" created="Tue, 8 Jan 2013 09:22:43 -0600"  >Mark, can we have any exceptions like DisplayableException which could be shown to the end user ?&lt;br/&gt;
&lt;br/&gt;
Can you please give details about the connection or execution exceptions.</comment>
                    <comment id="47287" author="mnunberg" created="Tue, 8 Jan 2013 12:12:14 -0600"  >What is displayed to the user is a sub-component of logging and not of the exception itself. An exception is not an exception unless it represents an exceptional condition; it is up to the code catching the exception to convert this to something the user can understand.&lt;br/&gt;
&lt;br/&gt;
I am not sure if the Couchbase Java client has classes for &amp;quot;connection&amp;quot; exceptions which indicate a difficulty in communication between client and server, but if there isn&amp;#39;t such a class then it should be created.&lt;br/&gt;
&lt;br/&gt;
Theroetically&lt;br/&gt;
&lt;br/&gt;
class CouchbaseConnectionException extends Exception {&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;....&lt;br/&gt;
}&lt;br/&gt;
&lt;br/&gt;
Typically it seems most of the Couchbase exceptions in the Java client are RuntimeExceptions or ExecutionExceptions (i.e. generic &amp;quot;unchecked&amp;quot; exceptions).&lt;br/&gt;
&lt;br/&gt;
Matt and Michale might have more knowledge of the various classes contained therein and their suitability of use.</comment>
                    <comment id="47356" author="deeptida" created="Wed, 9 Jan 2013 05:02:51 -0600"  >I agree. There should be in-house exception classes meant to facilitate this purpose.&lt;br/&gt;
A user working with couchbase sdk, should have the feasibility of using those exception classes for understanding various scenarios and then acting accordingly.&lt;br/&gt;
&lt;br/&gt;
Please let us know if there are any exception classes for communicating the connection exception to the user in which we can embed a custom message stating what happened. </comment>
                    <comment id="47764" author="deeptida" created="Tue, 15 Jan 2013 06:36:15 -0600"  >Please review at &lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;http://review.couchbase.org/#/c/23648/&quot;&gt;http://review.couchbase.org/#/c/23648/&lt;/a&gt;</comment>
                    <comment id="47786" author="deeptida" created="Tue, 15 Jan 2013 11:45:02 -0600"  >Changes checked in for review in gerrit.</comment>
                </comments>
                    <attachments>
                    <attachment id="16066" name="ConfigurationParserJSON.java" size="5996" author="deeptida" created="Wed, 26 Dec 2012 05:20:52 -0600" />
                    <attachment id="15736" name="couchbase_SDK_connect_exception.odt" size="29784" author="deeptida" created="Wed, 7 Nov 2012 03:18:54 -0600" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>9494</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-134] resubscriber IllegalArgumentException during topology changes</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-134</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>Exception in thread &amp;quot;couchbase cluster resubscriber - running&amp;quot; java.lang.IllegalArgumentException: Bucket name cannot be null and must never be re-set to a new object.&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.couchbase.client.vbucket.ConfigurationProviderHTTP.subscribe(ConfigurationProviderHTTP.java:240)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.couchbase.client.vbucket.ConfigurationProviderHTTP.finishResubscribe(ConfigurationProviderHTTP.java:215)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.couchbase.client.CouchbaseConnectionFactory$Resubscriber.run(CouchbaseConnectionFactory.java:322)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at java.lang.Thread.run(Thread.java:679)&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
Unfortunately I don&amp;#39;t have a whole lot more insight into what&amp;#39;s happening, but the stack trace might be helpful to examine.. assigning to myself until I have more info..</description>
                <environment>Got this during a swap-rebalance. I don&amp;#39;t have any other relevant information to reproduce for now (fwiw I&amp;#39;ve run this many times and it&amp;#39;s the first time I&amp;#39;m seeing it.. though I&amp;#39;ve just seen it again on the very next run).&lt;br/&gt;
&lt;br/&gt;
During the second run, the cluster rebalance is actually hanging..</environment>
            <key id="20340">JCBC-134</key>
            <summary>resubscriber IllegalArgumentException during topology changes</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="2" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/critical.png">Critical</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="mnunberg">Mark Nunberg</reporter>
                        <labels>
                    </labels>
                <created>Fri, 19 Oct 2012 20:56:53 -0500</created>
                <updated>Wed, 23 Jan 2013 02:06:51 -0600</updated>
                    <resolved>Wed, 23 Jan 2013 02:06:51 -0600</resolved>
                            <version>1.0</version>
                <version>1.1.1</version>
                                <fixVersion>1.1.1</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="43542" author="daschl" created="Thu, 8 Nov 2012 03:36:46 -0600"  >Hi Mark,&lt;br/&gt;
&lt;br/&gt;
can you elaborate a bit more whats going on through the test? This particular exception can come up when the java sdk tries to subcribe to a new node when the old connection is closed. I think the scenario should give us a connection to what is happening at runtime in the java sdk.&lt;br/&gt;
&lt;br/&gt;
Thanks,&lt;br/&gt;
Michael</comment>
                    <comment id="45941" author="mnunberg" created="Wed, 12 Dec 2012 18:41:05 -0600"  >I&amp;#39;ve run the Java  SDKD tests several times already and cannot reproduce this. Will re-open it if i see it again</comment>
                    <comment id="48176" author="mnunberg" created="Mon, 21 Jan 2013 12:44:59 -0600"  >Seen again at:&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;http://review.couchbase.org/#/c/24092/&quot;&gt;http://review.couchbase.org/#/c/24092/&lt;/a&gt;</comment>
                    <comment id="48177" author="mnunberg" created="Mon, 21 Jan 2013 12:48:17 -0600"  >So as I mentioned in the bug, I closed it because I haven&amp;#39;t seen this error. Just now, both me and Michael encountered this error while running the SDKD tests</comment>
                    <comment id="48219" author="daschl" created="Tue, 22 Jan 2013 02:10:12 -0600"  >Attaching the logs for &lt;a href=&quot;http://review.couchbase.org/#/c/24092&quot;&gt;http://review.couchbase.org/#/c/24092&lt;/a&gt; changeset 4 (prefixed with daschl-4-) on some test runs.&lt;br/&gt;
&lt;br/&gt;
Deepti is currently running the changeset against the brun cluster, expect some info in 2 hours.</comment>
                    <comment id="48222" author="daschl" created="Tue, 22 Jan 2013 02:19:15 -0600"  >./stester -i 20devcluster.ini --service ALL --svcaction RESTART --num_nodes 3 --no_fo 1 -c failover.Once --dsw_timeres 1 -d -o restart.log -C 127.0.0.1:8050</comment>
                    <comment id="48223" author="daschl" created="Tue, 22 Jan 2013 02:31:13 -0600"  >./stester -i 20devcluster.ini -c rebalance.Once --mode out --rbcount 2 --dsw_timeres 1 -d -o rebealance_two_nodes.log  -C 127.0.0.1:8050</comment>
                    <comment id="48236" author="deeptida" created="Tue, 22 Jan 2013 06:36:23 -0600"  >Attaching the functional test results.&lt;br/&gt;
This was run against a local 2.0.0 node.&lt;br/&gt;
Pass rate is better this time - 92%.&lt;br/&gt;
</comment>
                    <comment id="48237" author="deeptida" created="Tue, 22 Jan 2013 06:59:47 -0600"  >For the Hybrid tests - failures are still coming.&lt;br/&gt;
&lt;br/&gt;
Attaching the intermittent log.</comment>
                    <comment id="48248" author="deeptida" created="Tue, 22 Jan 2013 10:15:53 -0600"  >The error that seems to be problematic in the unit test logs is this one - &lt;br/&gt;
&lt;br/&gt;
&amp;#39;Timeout occurred. Please note the time in the report does not reflect the time until the timeout.&lt;br/&gt;
junit.framework.AssertionFailedError: Timeout occurred. Please note the time in the report does not reflect the time until the timeout.&amp;#39;&lt;br/&gt;
&lt;br/&gt;
Most of the issues coming due to timeout.&lt;br/&gt;
&lt;br/&gt;
Note : that these tests were run against a local cluster. Hence, such problems should not be occurring.&lt;br/&gt;
</comment>
                    <comment id="48347" author="daschl" created="Wed, 23 Jan 2013 02:06:51 -0600"  >Merged in today, right before the 1.1.1 release.</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10000">
                <name>Dependency</name>
                                <outwardlinks description="depends on">
                                    </outwardlinks>
                                            </issuelinktype>
                    </issuelinks>
                <attachments>
                    <attachment id="16245" name="daschl-4-rebealance_two_nodes.log" size="1824783" author="daschl" created="Tue, 22 Jan 2013 02:31:13 -0600" />
                    <attachment id="16244" name="daschl-4-restart.log" size="261353" author="daschl" created="Tue, 22 Jan 2013 02:19:15 -0600" />
                    <attachment id="16246" name="junit.zip" size="362007" author="deeptida" created="Tue, 22 Jan 2013 06:36:23 -0600" />
                    <attachment id="16237" name="log2.txt.bz2" size="55667" author="mnunberg" created="Mon, 21 Jan 2013 12:48:37 -0600" />
                    <attachment id="16236" name="log2.txt.bz2" size="55667" author="mnunberg" created="Mon, 21 Jan 2013 12:48:02 -0600" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>9495</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-190] Allow ComplexKeys to work with Floats (not only Doubles)</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-190</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>See: &lt;a href=&quot;http://www.couchbase.com/forums/thread/set-floating-point-key-couchbase-client-1-1-0-jar&quot;&gt;http://www.couchbase.com/forums/thread/set-floating-point-key-couchbase-client-1-1-0-jar&lt;/a&gt;</description>
                <environment></environment>
            <key id="21418">JCBC-190</key>
            <summary>Allow ComplexKeys to work with Floats (not only Doubles)</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="2" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/critical.png">Critical</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="daschl">Michael Nitschinger</reporter>
                        <labels>
                    </labels>
                <created>Wed, 19 Dec 2012 02:50:27 -0600</created>
                <updated>Fri, 18 Jan 2013 03:57:33 -0600</updated>
                    <resolved>Fri, 18 Jan 2013 03:57:33 -0600</resolved>
                            <version>1.1.0</version>
                                <fixVersion>1.1.1</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="46659" author="daschl" created="Fri, 28 Dec 2012 06:02:01 -0600"  >&lt;a href=&quot;http://review.couchbase.com/#/c/23605/&quot;&gt;http://review.couchbase.com/#/c/23605/&lt;/a&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>9488</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-216] buildinfo class is not packaged properly</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-216</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>The buildinfo class should be getting packaged properly.&lt;br/&gt;
&lt;br/&gt;
$ java -jar build/jars/couchbase-client-1.1.0.jar &lt;br/&gt;
Exception in thread &amp;quot;main&amp;quot; java.lang.NoClassDefFoundError: com/couchbase/client/BuildInfo&lt;br/&gt;
Caused by: java.lang.ClassNotFoundException: com.couchbase.client.BuildInfo&lt;br/&gt;
	at java.net.URLClassLoader$1.run(URLClassLoader.java:202)&lt;br/&gt;
	at java.security.AccessController.doPrivileged(Native Method)&lt;br/&gt;
	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)&lt;br/&gt;
	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)&lt;br/&gt;
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)&lt;br/&gt;
	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)&lt;br/&gt;
$ jar -tvf build/jars/couchbase-client-1.1.0.jar | grep BuildInfo</description>
                <environment></environment>
            <key id="21842">JCBC-216</key>
            <summary>buildinfo class is not packaged properly</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="ingenthr">Matt Ingenthron</reporter>
                        <labels>
                    </labels>
                <created>Fri, 18 Jan 2013 00:18:29 -0600</created>
                <updated>Fri, 18 Jan 2013 03:56:29 -0600</updated>
                    <resolved>Fri, 18 Jan 2013 03:56:29 -0600</resolved>
                            <version>1.0.2</version>
                <version>1.0.3</version>
                <version>1.1.0</version>
                                <fixVersion>1.1.1</fixVersion>
                                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="48043" author="daschl" created="Fri, 18 Jan 2013 02:36:31 -0600"  >&lt;a href=&quot;http://review.couchbase.org/#/c/24048/&quot;&gt;http://review.couchbase.org/#/c/24048/&lt;/a&gt;</comment>
                    <comment id="48044" author="daschl" created="Fri, 18 Jan 2013 02:36:42 -0600"  >&lt;a href=&apos;mailto:michael@daschlbook&apos;&gt;michael@daschlbook&lt;/a&gt; ~/couchbase/couchbase-java-client $ java -jar build/jars/couchbase-client-1.1.0.jar &lt;br/&gt;
Couchbase Java Client 1.1.0&lt;br/&gt;
&lt;br/&gt;
Tree Version: 1.1.0-13-g584a1f7&lt;br/&gt;
Last Commit ID: 584a1f70953bcd90d120a0ef500d1eb9f791e582&lt;br/&gt;
&lt;br/&gt;
Compiled by &lt;a href=&apos;mailto:michael@daschlbook.local&apos;&gt;michael@daschlbook.local&lt;/a&gt; on Fri Jan 18 09:33:37 CET 2013</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8763</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-213] IllegalArgumentException when calling vBucket-related methods </title>
                <link>http://www.couchbase.com/issues/browse/JCBC-213</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>Getting an &amp;quot;TODO: Implement this&amp;quot; when calling CouchbaseConnectionFactory.getVbucketConfig().getVbucketsCount() and the bucket is a memcached bucket.&lt;br/&gt;
&lt;br/&gt;
While the failure is understandable, the exception thrown should be different.&lt;br/&gt;
&lt;br/&gt;
I&amp;#39;m not sure if this has always been the behavior or it was introduced into the 1.1.x version.&lt;br/&gt;
&lt;br/&gt;
the file from which the exception is thrown;&lt;br/&gt;
&lt;br/&gt;
src/main/java/com/couchbase/client/vbucket/config/CacheConfig.java&lt;br/&gt;
&lt;br/&gt;
Looking at the commit log on that file, it seems to be some older &amp;quot;configuration&amp;quot; class - and doesn&amp;#39;t seem to have changed significantly since.</description>
                <environment></environment>
            <key id="21830">JCBC-213</key>
            <summary>IllegalArgumentException when calling vBucket-related methods </summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="4" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/minor.png">Minor</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="mnunberg">Mark Nunberg</reporter>
                        <labels>
                    </labels>
                <created>Thu, 17 Jan 2013 16:13:39 -0600</created>
                <updated>Fri, 18 Jan 2013 01:30:09 -0600</updated>
                    <resolved>Fri, 18 Jan 2013 01:30:09 -0600</resolved>
                            <version>1.1.0</version>
                                <fixVersion>1.1.1</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="48040" author="daschl" created="Fri, 18 Jan 2013 00:56:55 -0600"  >I&amp;#39;ll change it into a UnsupportedOperationException with an appropriate message.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8766</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-215] Refactor viewmode property loading</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-215</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>After having the CouchbaseProperties class in place as a centralized repository for both system and file-based properties, the &amp;quot;viewmode&amp;quot; should also use this code.</description>
                <environment></environment>
            <key id="21841">JCBC-215</key>
            <summary>Refactor viewmode property loading</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="daschl">Michael Nitschinger</reporter>
                        <labels>
                    </labels>
                <created>Fri, 18 Jan 2013 00:00:03 -0600</created>
                <updated>Fri, 18 Jan 2013 00:54:14 -0600</updated>
                    <resolved>Fri, 18 Jan 2013 00:54:14 -0600</resolved>
                            <version>1.1.0</version>
                                <fixVersion>1.1.1</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="48039" author="daschl" created="Fri, 18 Jan 2013 00:00:11 -0600"  >&lt;a href=&quot;http://review.couchbase.com/#/c/24011/&quot;&gt;http://review.couchbase.com/#/c/24011/&lt;/a&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8764</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-214] client does not failover properly when bootstrap node fails in a soft way</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-214</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>If a given server just stops responding to TCP on both 8091 and 11210 (which can be simulated with a pkill -STOP), the client does not detect this failure mode and never recovers.</description>
                <environment></environment>
            <key id="21835">JCBC-214</key>
            <summary>client does not failover properly when bootstrap node fails in a soft way</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="ingenthr">Matt Ingenthron</reporter>
                        <labels>
                    </labels>
                <created>Thu, 17 Jan 2013 17:11:03 -0600</created>
                <updated>Fri, 18 Jan 2013 00:16:48 -0600</updated>
                    <resolved>Fri, 18 Jan 2013 00:16:48 -0600</resolved>
                            <version>1.0.2</version>
                <version>1.0.3</version>
                <version>1.1.0</version>
                                <fixVersion>1.1.1</fixVersion>
                                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="48037" author="daschl" created="Thu, 17 Jan 2013 23:58:21 -0600"  >&lt;a href=&quot;http://review.couchbase.com/#/c/24019/&quot;&gt;http://review.couchbase.com/#/c/24019/&lt;/a&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8765</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-212] Add new throttling feature to allow us to keep from using all system memory</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-212</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>When doing things like bulk loading, there are times we have multiple workload profiles.  Interactive applications using the same client and same server need &amp;quot;room to move&amp;quot; and should always be fast, while other workloads should throttle themselves.&lt;br/&gt;
&lt;br/&gt;
The intent here would be to add a feature such that:&lt;br/&gt;
for every N operations, pull stats from the nodes&lt;br/&gt;
if the amount of memory used is below high_wat, don&amp;#39;t do anything&lt;br/&gt;
else if the amount of memory used is 10% of the remaining memory above high_wat before max memory usage, insert a sleep of Y milliseconds before each operation, and log the backoff at a debug level, check stats again ever M operations&lt;br/&gt;
else if the amount of memory used is greater than 10% above that level above high_wat, insert a sleep of Z milliseconds before each operation and log the backoff at an info level, check stats again every O operations&lt;br/&gt;
Turning this on or off should be done via a properties file or just simple -D args to the JVM, either one is okay.&lt;br/&gt;
&lt;br/&gt;
N, M, O and Y, Z should all be tuneable, either via a properties file or a define.  All of them should be optional.&lt;br/&gt;
&lt;br/&gt;
Default values should be:&lt;br/&gt;
N = 10000&lt;br/&gt;
M = N/100&lt;br/&gt;
O = M/10&lt;br/&gt;
&lt;br/&gt;
Y = 1ms&lt;br/&gt;
Z = Y * 3&lt;br/&gt;
&lt;br/&gt;
</description>
                <environment></environment>
            <key id="21784">JCBC-212</key>
            <summary>Add new throttling feature to allow us to keep from using all system memory</summary>
                <type id="2" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/newfeature.png">New Feature</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="ingenthr">Matt Ingenthron</assignee>
                                <reporter username="ingenthr">Matt Ingenthron</reporter>
                        <labels>
                    </labels>
                <created>Tue, 15 Jan 2013 17:30:53 -0600</created>
                <updated>Fri, 18 Jan 2013 00:16:30 -0600</updated>
                    <resolved>Fri, 18 Jan 2013 00:16:30 -0600</resolved>
                                            <fixVersion>1.1.1</fixVersion>
                                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="48038" author="daschl" created="Thu, 17 Jan 2013 23:58:39 -0600"  >&lt;a href=&quot;http://review.couchbase.com/#/c/23658/&quot;&gt;http://review.couchbase.com/#/c/23658/&lt;/a&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8767</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-172] Clarify that getView returns a handle/future like object and not an actual rowset</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-172</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>In the getting started guide, there isn&amp;#39;t an example showing how to get a View object and how exactly it&amp;#39;s used with cb.query(). This is mentioned in the tutorial and somewhat implied in retrospect. Would be nice to clearly show an example;&lt;br/&gt;
&lt;br/&gt;
e.g.&lt;br/&gt;
&lt;br/&gt;
View view = cb.getView(&amp;quot;deignDoc&amp;quot;, &amp;quot;viewQuery&amp;quot;);&lt;br/&gt;
Query = new Query();&lt;br/&gt;
// ...&lt;br/&gt;
ViewResponse resp = cb.query(view, query);&lt;br/&gt;
&lt;br/&gt;
etc.</description>
                <environment></environment>
            <key id="21208">JCBC-172</key>
            <summary>Clarify that getView returns a handle/future like object and not an actual rowset</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="6" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="mnunberg">Mark Nunberg</assignee>
                                <reporter username="mnunberg">Mark Nunberg</reporter>
                        <labels>
                    </labels>
                <created>Fri, 7 Dec 2012 16:55:12 -0600</created>
                <updated>Mon, 14 Jan 2013 10:38:40 -0600</updated>
                    <resolved>Mon, 14 Jan 2013 10:38:37 -0600</resolved>
                            <version>1.1-beta</version>
                                <fixVersion>1.1.1</fixVersion>
                                <component>docs</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="47699" author="daschl" created="Mon, 14 Jan 2013 09:19:55 -0600"  >Is this not enough? &lt;a href=&quot;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/read-docs.html&quot;&gt;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/read-docs.html&lt;/a&gt;</comment>
                    <comment id="47700" author="daschl" created="Mon, 14 Jan 2013 09:20:26 -0600"  >Is this not enough info Mark?&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/read-docs.html&quot;&gt;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/read-docs.html&lt;/a&gt;</comment>
                    <comment id="47704" author="mnunberg" created="Mon, 14 Jan 2013 10:38:29 -0600"  >Yes, I&amp;#39;ve looked at the link and it&amp;#39;s good enough - this was probably not there when I filed the bug</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>9492</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-209] Clarify the sync/async nature of operations in the docs</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-209</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description></description>
                <environment></environment>
            <key id="21735">JCBC-209</key>
            <summary>Clarify the sync/async nature of operations in the docs</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="4" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/minor.png">Minor</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="daschl">Michael Nitschinger</reporter>
                        <labels>
                    </labels>
                <created>Fri, 11 Jan 2013 00:43:28 -0600</created>
                <updated>Fri, 11 Jan 2013 00:43:28 -0600</updated>
                                    <version>1.1.0</version>
                                <fixVersion>1.2</fixVersion>
                                <component>docs</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                            <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8769</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-208] HTTP flush needs to be async</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-208</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>Since flush can take a long time, it should be possible to handle this async.</description>
                <environment></environment>
            <key id="21685">JCBC-208</key>
            <summary>HTTP flush needs to be async</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="1" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/open.png">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="daschl">Michael Nitschinger</reporter>
                        <labels>
                    </labels>
                <created>Wed, 9 Jan 2013 05:12:32 -0600</created>
                <updated>Wed, 9 Jan 2013 05:13:02 -0600</updated>
                                    <version>1.1.0</version>
                                <fixVersion>1.2</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="47359" author="daschl" created="Wed, 9 Jan 2013 05:13:02 -0600"  >See also &lt;a href=&quot;http://www.couchbase.com/forums/thread/java-sdk-1-1-asynchronous-implementation-operation-requests&quot;&gt;http://www.couchbase.com/forums/thread/java-sdk-1-1-asynchronous-implementation-operation-requests&lt;/a&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                <customfield id="customfield_10010" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                <customfieldname>Flagged</customfieldname>
                <customfieldvalues>
                        <customfieldvalue key="10010"><![CDATA[Release Note]]></customfieldvalue>
    
                </customfieldvalues>
            </customfield>
                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8770</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>

<item>
            <title>[JCBC-185] autodocs don&apos;t have links to spymemcached methods (i.e., most of the API)</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-185</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>It&amp;#39;s great to have the generated docs for the Java client available on the website. However, it is confusing for a lot of people because most of the API methods aren&amp;#39;t documented there, they are inherited from spymemcached and the docs don&amp;#39;t link to spymemcached classes.&lt;br/&gt;
&lt;br/&gt;
If it is technically possible, it would be great to have live links in the autodocs for all the methods, including spymemcached ones.&lt;br/&gt;
&lt;br/&gt;
If not, it would be good to have a disambiguation page or some kind of explanation that, to get a complete view of the api docs, one must read both the spymemcached and couchbase docs. And a link to &lt;a href=&quot;http://www.couchbase.com/autodocs/java/spymemcached/2.8.3/index.html&quot;&gt;http://www.couchbase.com/autodocs/java/spymemcached/2.8.3/index.html&lt;/a&gt; (or whatever the latest link is).&lt;br/&gt;
</description>
                <environment>&lt;a href=&quot;http://www.couchbase.com/autodocs/couchbase-java-client-1.1.0/&quot;&gt;http://www.couchbase.com/autodocs/couchbase-java-client-1.1.0/&lt;/a&gt;</environment>
            <key id="21337">JCBC-185</key>
            <summary>autodocs don&apos;t have links to spymemcached methods (i.e., most of the API)</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="mccouch">MC Brown</assignee>
                                <reporter username="TimSmith">Tim Smith</reporter>
                        <labels>
                    </labels>
                <created>Fri, 14 Dec 2012 16:14:09 -0600</created>
                <updated>Mon, 7 Jan 2013 11:23:47 -0600</updated>
                    <resolved>Mon, 7 Jan 2013 11:23:47 -0600</resolved>
                            <version>1.1.0</version>
                                <fixVersion>1.1.1</fixVersion>
                                <component>docs</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="46062" author="daschl" created="Mon, 17 Dec 2012 01:25:50 -0600"  >MC,&lt;br/&gt;
&lt;br/&gt;
is it possible to do this? I also think this would greatly benefit the clarity of the docs, but can you merge two codebases (spy and couchbase-client) into one autodoc, or can we at least provide both that link each-other?&lt;br/&gt;
&lt;br/&gt;
Thanks,&lt;br/&gt;
Michael</comment>
                    <comment id="46079" author="mccouch" created="Mon, 17 Dec 2012 11:56:19 -0600"  >It is possible, but requires some changes to the way to I currently build the Javadoc content. I&amp;#39;ll get this fixed.&lt;br/&gt;
&lt;br/&gt;
Longer term, the intention is for the content to be incorporated into the API reference material in the main documentation as a unified reference.</comment>
                    <comment id="47182" author="mccouch" created="Mon, 7 Jan 2013 11:23:47 -0600"  >Fixed. The autodoc builds of the Couchbase client now include the spymemcached as a unified reference document. </comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>9491</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-200] heading too specific &quot;Set operations with Observe&quot;</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-200</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>The heading for this page is too narrow: &amp;quot;Set Operations with Observe&amp;quot;. It would be better to call it &amp;quot;Store Operations with Observe&amp;quot;.</description>
                <environment>&lt;a href=&quot;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/couchbase-sdk-java-set-observe.html&quot;&gt;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/couchbase-sdk-java-set-observe.html&lt;/a&gt;</environment>
            <key id="21558">JCBC-200</key>
            <summary>heading too specific &quot;Set operations with Observe&quot;</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="4" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/minor.png">Minor</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="mccouch">MC Brown</assignee>
                                <reporter username="TimSmith">Tim Smith</reporter>
                        <labels>
                    </labels>
                <created>Wed, 2 Jan 2013 14:12:41 -0600</created>
                <updated>Fri, 4 Jan 2013 10:38:49 -0600</updated>
                    <resolved>Fri, 4 Jan 2013 10:38:49 -0600</resolved>
                                                            <component>docs</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="46902" author="ingenthr" created="Wed, 2 Jan 2013 14:23:18 -0600"  >We need to document this somewhere, but generally we&amp;#39;ve agreed that we should call these &amp;quot;operations with durability requirements&amp;quot; rather than &amp;#39;with observe&amp;#39;, since it&amp;#39;s more correct semantically.  I think we&amp;#39;ll need to make changes across the docs for this.&lt;br/&gt;
&lt;br/&gt;
Since this affects a URL, this needs to be coordinated with tech pubs.  I&amp;#39;ll assign it that way.</comment>
                    <comment id="47078" author="mccouch" created="Fri, 4 Jan 2013 10:38:49 -0600"  >Item has been moved and updated here: &lt;br/&gt;
&lt;a href=&quot;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/couchbase-sdk-java-set-durability.html&quot;&gt;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/couchbase-sdk-java-set-durability.html&lt;/a&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8772</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-174] Add all Java IDE in .gitignore file</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-174</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>The gitignore file contains only the information to exclude Eclipse files/folders.&lt;br/&gt;
&lt;br/&gt;
We need to add other IDE such as Netbeans and IDEA</description>
                <environment></environment>
            <key id="21214">JCBC-174</key>
            <summary>Add all Java IDE in .gitignore file</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="6" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="tgrall">Tug Grall</assignee>
                                <reporter username="tgrall">Tug Grall</reporter>
                        <labels>
                    </labels>
                <created>Sat, 8 Dec 2012 09:09:15 -0600</created>
                <updated>Fri, 4 Jan 2013 06:56:43 -0600</updated>
                    <resolved>Fri, 4 Jan 2013 06:56:31 -0600</resolved>
                            <version>1.1.0</version>
                                <fixVersion>1.1.1</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>0</watches>
                          <timeoriginalestimate seconds="3600">1h</timeoriginalestimate>
                    <timeestimate seconds="3600">1h</timeestimate>
                                          <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>9203</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-197] High Couchbase clients apps&apos; CPU after upgraded from Couchbase Client 1.0.1 and spy 2.8.0 to 1.0.3 and 2.8.2.</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-197</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>&amp;nbsp;Incident #2373 &lt;br/&gt;
&lt;br/&gt;
Please see issue we encountered with our latest version below.&lt;br/&gt;
&lt;br/&gt;
This passed QA on stage but when going on to a live environment with full production load we see the behavior below. At first this occurred on a cluster we had just rebalanced. During that rebalance we saw rise in couchbase clients apps&amp;#39; CPU, which did not decrease after the rebalance was (successfully) done, until we restarted said clients. We suspected that the problem below is directly related to the issues we saw during rebalance so we also tested it on a different cluster that did not go any such rebalance. Results were the same. After searching all over to see what changed we realized that one change during this version was that we upgraded from Couchbase Client 1.0.1 and spy 2.8.0 to 1.0.3 and 2.8.2. We then took that exact build swapping the 1.0.3 with the 1.0.1 jars and everything started behaving fine.&lt;br/&gt;
&lt;br/&gt;
The reason we MUST have 1.0.3 on production is the following from 1.0.3&amp;#39;s release notes (&lt;a href=&quot;http://www.couchbase.com/docs/couchbase-sdk-java-1.0/couchbase-sdk-java-rn_1-0-3.html):&quot;&gt;http://www.couchbase.com/docs/couchbase-sdk-java-1.0/couchbase-sdk-java-rn_1-0-3.html):&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
It was found that in the dependent spymemcached client library that errors encountered in optimized set operations would not be handled correctly and thus application code would receive unexpected errors during a rebalance. This has been worked around in this release by disabling optimization. This may have a negilgable drop in throughput but shorter latencies.&lt;br/&gt;
&lt;br/&gt;
We believe the issues mentioned above on the clients during the rebalance are exactly this.&lt;br/&gt;
&lt;br/&gt;
1. Any ideas on reason for this?&lt;br/&gt;
2. How would you advise to proceed.&lt;br/&gt;
&lt;br/&gt;
Cheers,&lt;br/&gt;
Ira&lt;br/&gt;
&lt;br/&gt;
Hi&lt;br/&gt;
&lt;br/&gt;
1. One server is putting data to a memcached bucket. TTL is about 30 minutes.&lt;br/&gt;
2. Another server tries to get this data but randomly fails (at about of 50% miss rate). We are getting nulls instead of real values. We are using asyncGet and then Future.get() with timeout of 5 seconds. We did not observe that timeout was reached.&lt;br/&gt;
Time period between (1) and (2) is less than a minute. We debugged (1) and saw that it is being written without errors.&lt;br/&gt;
No exceptions or errors.&lt;br/&gt;
Data cluster wasn&amp;#39;t heavy loaded, other clients (1.0.1) were working at the same time with this bucket and operated properly.&lt;br/&gt;
&lt;br/&gt;
Sergey&lt;br/&gt;
&lt;br/&gt;
From: Ira Holtzer </description>
                <environment></environment>
            <key id="21477">JCBC-197</key>
            <summary>High Couchbase clients apps&apos; CPU after upgraded from Couchbase Client 1.0.1 and spy 2.8.0 to 1.0.3 and 2.8.2.</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="6" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="4">Incomplete</resolution>
                    <security id="10011">Public</security>
                        <assignee username="skumar">Saran Kumar</assignee>
                                <reporter username="skumar">Saran Kumar</reporter>
                        <labels>
                    </labels>
                <created>Fri, 21 Dec 2012 04:11:00 -0600</created>
                <updated>Fri, 21 Dec 2012 15:41:14 -0600</updated>
                    <resolved>Fri, 21 Dec 2012 15:41:14 -0600</resolved>
                            <version>1.0.3</version>
                                <fixVersion>1.0.3</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                            <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8773</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-143] Prepend should not require CAS</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-143</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>Hopefully this is just a doc bug and not in the actual code, but all of the atomic updates including prepend (&lt;a href=&quot;http://www.couchbase.com/docs/couchbase-sdk-java-1.0/couchbase-sdk-java-update-prepend.html&quot;&gt;http://www.couchbase.com/docs/couchbase-sdk-java-1.0/couchbase-sdk-java-update-prepend.html&lt;/a&gt;) should not require CAS.  That significantly defeats their performance effectiveness. &lt;br/&gt;
&lt;br/&gt;
If the function *does* require CAS, we should document that a CAS id of 0 will override the requirement to get the key again as in this example:&lt;br/&gt;
client.prepend(casv.getCas(),&amp;quot;samplekey&amp;quot;, &amp;quot;prependedstring&amp;quot;);&lt;br/&gt;
</description>
                <environment></environment>
            <key id="20622">JCBC-143</key>
            <summary>Prepend should not require CAS</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="3">Duplicate</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="perry">Perry Krug</reporter>
                        <labels>
                    </labels>
                <created>Thu, 8 Nov 2012 08:18:29 -0600</created>
                <updated>Fri, 21 Dec 2012 02:28:52 -0600</updated>
                    <resolved>Fri, 21 Dec 2012 02:28:52 -0600</resolved>
                            <version>1.0.3</version>
                                <fixVersion>1.1.1</fixVersion>
                                <component>docs</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="43652" author="daschl" created="Fri, 9 Nov 2012 10:23:02 -0600"  >This is not a doc bug, both prepend and append require CAS values.&lt;br/&gt;
&lt;br/&gt;
So is this still a doc enhancement or should we consider enhancing the library?</comment>
                    <comment id="43742" author="perry" created="Sat, 10 Nov 2012 11:17:13 -0600"  >I think a simple doc enhancement to inform the user that they can replace the actual CAS call with a 0 to avoid the second round-trip to the server.  There are a few situations where CAS would be appropriate for these ops, so it doesn&amp;#39;t make sense to remove it from the library, but the most common case is to use them as atomic operations and therefore not need CAS...so the doc update should just make that clearer.  Please make sure to note it on the various other atomic ops (incr/dev/append/touch/)</comment>
                    <comment id="46469" author="daschl" created="Fri, 21 Dec 2012 02:28:52 -0600"  >This is a duplicate for &lt;a href=&quot;http://www.couchbase.com/issues/browse/JCBC-196&quot; title=&quot;append/incr/decr/add/replace should not require CAS value to be passed&quot;&gt;JCBC-196&lt;/a&gt;, see the process over there.</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10001">
                <name>Duplicate</name>
                                <outwardlinks description="duplicates">
                            <issuelink>
            <issuekey id="17923">JCBC-196</issuekey>
        </issuelink>
                    </outwardlinks>
                                            </issuelinktype>
                    </issuelinks>
                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>9493</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-193] Allow CAS with delete</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-193</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>Customer request to allow CAS with delete option to ensure that an item has not changed since the last time it was read</description>
                <environment></environment>
            <key id="14970">JCBC-193</key>
            <summary>Allow CAS with delete</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="6" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="3">Duplicate</resolution>
                    <security id="10011">Public</security>
                        <assignee username="ingenthr">Matt Ingenthron</assignee>
                                <reporter username="perry">Perry Krug</reporter>
                        <labels>
                    </labels>
                <created>Wed, 24 Aug 2011 10:53:47 -0500</created>
                <updated>Wed, 19 Dec 2012 11:39:55 -0600</updated>
                    <resolved>Wed, 19 Dec 2012 11:39:55 -0600</resolved>
                                                            <component>library</component>
                                <votes>2</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="21825" author="mikew" created="Wed, 24 Aug 2011 17:32:11 -0500"  >Do you mean you want a single operation that does deletes and operation only if it hasn&amp;#39;t changed. In other words you want CAD (check and delete)?</comment>
                    <comment id="21846" author="MarcusLongmuir" created="Thu, 25 Aug 2011 14:30:33 -0500"  >The discussion which brought about this issue is found here:&lt;br/&gt;
&lt;a href=&quot;http://www.couchbase.org/forums/thread/set-or-return-current-value&quot;&gt;http://www.couchbase.org/forums/thread/set-or-return-current-value&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
CAD is exactly what I meant and would probably be the most appropriate function name.</comment>
                    <comment id="22258" author="mikew" created="Thu, 22 Sep 2011 13:31:13 -0500"  >I think that to implement this correctly we would need to refactor a bunch of code. The reason is that you can actually use cas values with every command and as a result it wouldn&amp;#39;t make sense to create duplicate functions for every command (delete included). I am going to move it to the 3.0 release as a result.</comment>
                    <comment id="46335" author="daschl" created="Wed, 19 Dec 2012 11:38:29 -0600"  >Does it make sense to implement cas delete?</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10001">
                <name>Duplicate</name>
                                <outwardlinks description="duplicates">
                            <issuelink>
            <issuekey id="21107">JCBC-164</issuekey>
        </issuelink>
                    </outwardlinks>
                                            </issuelinktype>
                    </issuelinks>
                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8776</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-192] DOC : Downloading page mention the 1.1 BETA</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-192</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>The page: Downloading fo the Java SDK &lt;br/&gt;
&lt;a href=&quot;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/downloading.html&quot;&gt;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/downloading.html&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
mentions &lt;br/&gt;
couchbase-client-1.1-beta.jar&lt;br/&gt;
&lt;br/&gt;
it should be &lt;br/&gt;
couchbase-client-1.1.0.jar</description>
                <environment></environment>
            <key id="21426">JCBC-192</key>
            <summary>DOC : Downloading page mention the 1.1 BETA</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="tgrall">Tug Grall</reporter>
                        <labels>
                    </labels>
                <created>Wed, 19 Dec 2012 09:13:32 -0600</created>
                <updated>Wed, 19 Dec 2012 11:35:09 -0600</updated>
                    <resolved>Wed, 19 Dec 2012 11:35:09 -0600</resolved>
                            <version>1.1.0</version>
                                <fixVersion>1.1.1</fixVersion>
                                <component>docs</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="46334" author="daschl" created="Wed, 19 Dec 2012 11:35:09 -0600"  >Also in the docs repo pull req, fixed asap.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>9486</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-191] DOC: missing reference to &quot;maven repository&quot; in the tutorial</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-191</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>The following page of the tutorial : ( 2.1.1. Project Setup )&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/preps-project.html&quot;&gt;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/preps-project.html&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
show some information of the POM file, we need to be sure we also include the repository in all the docs:&lt;br/&gt;
&amp;nbsp;&lt;br/&gt;
we need to add this:&lt;br/&gt;
&amp;lt;repositories&amp;gt;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;repository&amp;gt;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;id&amp;gt;couchbase&amp;lt;/id&amp;gt;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;name&amp;gt;Couchbase Maven Repository&amp;lt;/name&amp;gt;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;layout&amp;gt;default&amp;lt;/layout&amp;gt;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;url&amp;gt;&lt;a href=&quot;http://files.couchbase.com/maven2/&amp;lt;/url&quot;&gt;http://files.couchbase.com/maven2/&amp;amp;lt;/url&lt;/a&gt;&amp;gt;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;snapshots&amp;gt;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;enabled&amp;gt;false&amp;lt;/enabled&amp;gt;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/snapshots&amp;gt;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;lt;/repository&amp;gt;&lt;br/&gt;
&amp;lt;/repositories&amp;gt;&lt;br/&gt;
&lt;br/&gt;
This is what it done here:&lt;br/&gt;
&lt;a href=&quot;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/downloading.html&quot;&gt;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/downloading.html&lt;/a&gt;&lt;br/&gt;
</description>
                <environment></environment>
            <key id="21425">JCBC-191</key>
            <summary>DOC: missing reference to &quot;maven repository&quot; in the tutorial</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="tgrall">Tug Grall</reporter>
                        <labels>
                    </labels>
                <created>Wed, 19 Dec 2012 09:12:15 -0600</created>
                <updated>Wed, 19 Dec 2012 11:31:44 -0600</updated>
                    <resolved>Wed, 19 Dec 2012 11:31:44 -0600</resolved>
                            <version>1.1.0</version>
                                <fixVersion>1.1.1</fixVersion>
                                <component>docs</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="46333" author="daschl" created="Wed, 19 Dec 2012 11:31:44 -0600"  >PR submitted to the docs repo, will be in there asap.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>9487</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-194] TAP client within spymemcached does not get all items from cluster</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-194</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>From the customer:&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;TapClient client = new TapClient(baseURIs, &amp;quot;default&amp;quot;, &amp;quot;default&amp;quot;, &amp;quot;&amp;quot;);&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Operation op = client.tapDump(&amp;quot;test tap client&amp;quot;);&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;while (client.hasMoreMessages()) {&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ResponseMessage message = client.getNextMessage();&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (message != null) {&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;System.out.println(message.getKey());&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br/&gt;
&lt;br/&gt;
I made the client point to a cluster that has 60 M records . The client printed out about 8M and stopped without error, when I tried again it stopped at 10M.</description>
                <environment></environment>
            <key id="15906">JCBC-194</key>
            <summary>TAP client within spymemcached does not get all items from cluster</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="2">Won&apos;t Fix</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="perry">Perry Krug</reporter>
                        <labels>
                    </labels>
                <created>Tue, 17 Jan 2012 18:50:47 -0600</created>
                <updated>Wed, 19 Dec 2012 11:26:29 -0600</updated>
                    <resolved>Wed, 19 Dec 2012 11:26:29 -0600</resolved>
                                                            <component>library</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                            <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8775</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-195] Failed operations during rebalance with &quot;not my vbucket&quot;</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-195</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>From the customer:&lt;br/&gt;
&lt;br/&gt;
I made the client write a million records when the rebalancing was happening when it finished the client had written only 920000 records . I checked the operation status and message from the future, future.isSuccess() returned false and &amp;quot;I&amp;#39;m not responsible for this vbucket&amp;quot; was the message. Let me know if you need more info.&lt;br/&gt;
</description>
                <environment></environment>
            <key id="15907">JCBC-195</key>
            <summary>Failed operations during rebalance with &quot;not my vbucket&quot;</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="4">Incomplete</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="perry">Perry Krug</reporter>
                        <labels>
                    </labels>
                <created>Tue, 17 Jan 2012 18:51:20 -0600</created>
                <updated>Wed, 19 Dec 2012 11:25:27 -0600</updated>
                    <resolved>Wed, 19 Dec 2012 11:25:27 -0600</resolved>
                                                            <component>library</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                            <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8774</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-187] Incorrect code in tutorial/doc</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-187</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>On the page found at &lt;a href=&quot;http://www.couchbase.com/develop/java/current,&quot;&gt;http://www.couchbase.com/develop/java/current,&lt;/a&gt; in the second code block under &amp;quot;Working with Views&amp;quot;, the 7th line of code is:&lt;br/&gt;
&lt;br/&gt;
ViewResponse result = client.query(view, query);&lt;br/&gt;
&lt;br/&gt;
Except that the view variable has never been defined, so this code won&amp;#39;t compile.</description>
                <environment></environment>
            <key id="21345">JCBC-187</key>
            <summary>Incorrect code in tutorial/doc</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="6" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="tedyoung">Ted Young</reporter>
                        <labels>
                    </labels>
                <created>Sat, 15 Dec 2012 20:06:58 -0600</created>
                <updated>Wed, 19 Dec 2012 02:49:14 -0600</updated>
                    <resolved>Mon, 17 Dec 2012 19:05:35 -0600</resolved>
                            <version>1.1.0</version>
                                <fixVersion>1.1.0</fixVersion>
                <fixVersion>1.1.1</fixVersion>
                                <component>docs</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="46129" author="ingenthr" created="Mon, 17 Dec 2012 19:05:35 -0600"  >Ted: Thanks for reporting it.</comment>
                    <comment id="46279" author="daschl" created="Wed, 19 Dec 2012 02:49:14 -0600"  >fixed.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>9489</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-186] there is no CouchbaseCacheManager in 1.1.0, but in the API reference</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-186</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>There is no CouchbaseCacheManager in the 1.1.0 SDK, but it seems to be in the API reference.  Something like this is being worked on soon.&lt;br/&gt;
&lt;br/&gt;
See &lt;a href=&quot;http://www.couchbase.com/forums/thread/which-jar-couchbasecachemanager&quot;&gt;http://www.couchbase.com/forums/thread/which-jar-couchbasecachemanager&lt;/a&gt;</description>
                <environment></environment>
            <key id="21344">JCBC-186</key>
            <summary>there is no CouchbaseCacheManager in 1.1.0, but in the API reference</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="mccouch">MC Brown</assignee>
                                <reporter username="ingenthr">Matt Ingenthron</reporter>
                        <labels>
                    </labels>
                <created>Sat, 15 Dec 2012 13:12:47 -0600</created>
                <updated>Mon, 17 Dec 2012 10:56:26 -0600</updated>
                    <resolved>Mon, 17 Dec 2012 10:56:26 -0600</resolved>
                            <version>1.1.0</version>
                                <fixVersion>1.1.1</fixVersion>
                                <component>docs</component>
                                <votes>0</votes>
                        <watches>2</watches>
                                                    <comments>
                    <comment id="46059" author="daschl" created="Mon, 17 Dec 2012 01:21:25 -0600"  >Hi MC,&lt;br/&gt;
&lt;br/&gt;
there is a pull request on the docs open that should remove this since it&amp;#39;s out of date. I&amp;#39;m working on new stuff regarding this, but until its finished we need to remove this since it confuses people. Just merge the docs pull request, then this can be closed.&lt;br/&gt;
&lt;br/&gt;
Thanks!</comment>
                    <comment id="46074" author="mccouch" created="Mon, 17 Dec 2012 10:56:26 -0600"  >The merge has been published. </comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>9490</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-167] ComplexKey converts longs to strings</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-167</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>I previously added this as a comment on &lt;a href=&quot;http://www.couchbase.com/issues/browse/JCBC-41&quot; title=&quot;incorrect conversion from string to number in json attribute&quot;&gt;&lt;strike&gt;JCBC-41&lt;/strike&gt;&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Query q1 = new Query(); &lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;long time1 = 0; &lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;long time2 = 99999999; &lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;long time3 = 99999999999l; &lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;q1.setRangeStart(ComplexKey.of(time1)); &lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;q1.setRangeEnd(ComplexKey.of(time2)); &lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;q1.toString() --&amp;gt; ?startkey=0&amp;amp;endkey=99999999 &lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;q1.setRangeStart(ComplexKey.of(time1)); &lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;q1.setRangeEnd(ComplexKey.of(time3)); &lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;q1.toString()) --&amp;gt; ?startkey=0&amp;amp;endkey=%2299999999999%22 &lt;br/&gt;
&lt;br/&gt;
It&amp;#39;s throwing quotes around the long value.</description>
                <environment></environment>
            <key id="21170">JCBC-167</key>
            <summary>ComplexKey converts longs to strings</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="ctash_jt">Chris Tashjian</reporter>
                        <labels>
                    </labels>
                <created>Wed, 5 Dec 2012 14:59:51 -0600</created>
                <updated>Mon, 17 Dec 2012 01:32:22 -0600</updated>
                    <resolved>Mon, 17 Dec 2012 01:32:22 -0600</resolved>
                            <version>1.1-beta</version>
                                <fixVersion>1.1.0</fixVersion>
                                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="45510" author="ctash_jt" created="Wed, 5 Dec 2012 15:00:45 -0600"  >long time3 = 99999999999l;  //note that&amp;#39;s 99999999999L;</comment>
                    <comment id="45792" author="daschl" created="Tue, 11 Dec 2012 04:52:58 -0600"  >&lt;a href=&quot;http://review.couchbase.com/#/c/23194/&quot;&gt;http://review.couchbase.com/#/c/23194/&lt;/a&gt;</comment>
                    <comment id="46063" author="daschl" created="Mon, 17 Dec 2012 01:32:22 -0600"  >This has been fixed with 1.1.0.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>10099</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-179] Java Client&apos;s Manual 1.1-Tutorial issue</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-179</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>Took the latest checkin of the tutorial example from &lt;a href=&quot;https://github.com/couchbaselabs/beersample-java&quot;&gt;https://github.com/couchbaselabs/beersample-java&lt;/a&gt;&lt;br/&gt;
Packaged the maven project.&lt;br/&gt;
jquery.min.js is not getting compiled.</description>
                <environment></environment>
            <key id="21260">JCBC-179</key>
            <summary>Java Client&apos;s Manual 1.1-Tutorial issue</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="4" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/minor.png">Minor</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="2">Won&apos;t Fix</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="deeptida">Deepti Dawar</reporter>
                        <labels>
                    </labels>
                <created>Tue, 11 Dec 2012 13:00:12 -0600</created>
                <updated>Mon, 17 Dec 2012 01:22:17 -0600</updated>
                    <resolved>Mon, 17 Dec 2012 01:22:17 -0600</resolved>
                                                            <component>docs</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="45907" author="daschl" created="Wed, 12 Dec 2012 04:02:28 -0600"  >Hi, what do you mean by compiled?&lt;br/&gt;
&lt;br/&gt;
JavaScripts are assets that are deployed 1:1.</comment>
                    <comment id="46021" author="deeptida" created="Fri, 14 Dec 2012 05:24:07 -0600"  >Please find below a few observations after running the java tutorial :&lt;br/&gt;
&lt;br/&gt;
1) The option to download the tutorial.html file is not working.&lt;br/&gt;
2) In the tutorial document, in the section 2.1.2, there is one line which says &amp;#39;that&amp;#39;s we we are&amp;#39;, it needs to be &amp;#39;that&amp;#39;s why we are&amp;#39;&lt;br/&gt;
3) When I select the Beers I see breweries and vice versa. Please find the screen shots.</comment>
                    <comment id="46060" author="daschl" created="Mon, 17 Dec 2012 01:22:17 -0600"  >After working this through with Deepti, it&amp;#39;s not a jquery issue. (Was a config issue on the app server).</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10000">
                <name>Dependency</name>
                                                <inwardlinks description="blocks">
                                    </inwardlinks>
                            </issuelinktype>
                    </issuelinks>
                <attachments>
                    <attachment id="16007" name="browse_beers.png" size="65411" author="deeptida" created="Fri, 14 Dec 2012 05:25:30 -0600" />
                    <attachment id="16008" name="browse_breweries.png" size="65488" author="deeptida" created="Fri, 14 Dec 2012 05:25:30 -0600" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>11320</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-182] Identify the CouchbaseCache and CouchbaseCacheManager classes in the Java Couchbase client.jar</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-182</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>Hi - As a part of this ticket &lt;a href=&quot;http://support.couchbase.com/tickets/2294&quot;&gt;http://support.couchbase.com/tickets/2294&lt;/a&gt; and also in general, we would like to understand how Couchbase Java Client works with Spring&lt;br/&gt;
&lt;br/&gt;
a) Where are we w.r.t Spring and Couchbase ?&lt;br/&gt;
b) Caching with spring &lt;br/&gt;
c) Full integration for spring data&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
Please help us with pointers as we could see &lt;a href=&quot;http://techstickynotes.blogspot.in/2012/04/spring-cache-couchbase-nosql-db.html&quot;&gt;http://techstickynotes.blogspot.in/2012/04/spring-cache-couchbase-nosql-db.html&lt;/a&gt; not being part of any of our documentation, however we could see the two classes being used in one our docs &lt;a href=&quot;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/couchbase-cache-apis.html&quot;&gt;http://www.couchbase.com/docs/couchbase-sdk-java-1.1/couchbase-cache-apis.html&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
</description>
                <environment></environment>
            <key id="21312">JCBC-182</key>
            <summary>Identify the CouchbaseCache and CouchbaseCacheManager classes in the Java Couchbase client.jar</summary>
                <type id="3" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/task.png">Task</type>
                                <priority id="4" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/minor.png">Minor</priority>
                    <status id="6" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="2">Won&apos;t Fix</resolution>
                    <security id="10011">Public</security>
                        <assignee username="mkumar">Muthu Kumar</assignee>
                                <reporter username="mkumar">Muthu Kumar</reporter>
                        <labels>
                        <label>Couchbase</label>
                        <label>Spring</label>
                    </labels>
                <created>Thu, 13 Dec 2012 13:16:35 -0600</created>
                <updated>Thu, 13 Dec 2012 13:20:28 -0600</updated>
                    <resolved>Thu, 13 Dec 2012 13:20:28 -0600</resolved>
                                            <fixVersion>1.2</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="45988" author="hari" created="Thu, 13 Dec 2012 13:20:28 -0600"  >to be re-submitted as an internal Couchbase Engineering ticket</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>10094</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-168] CouchClient.getView always throws an exception</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-168</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>It would seem that client.getView(String designdocName, String viewName) has stopped working in 1.1-beta.  It now throws:&lt;br/&gt;
&lt;br/&gt;
java.lang.RuntimeException: Timed out waiting for operation&lt;br/&gt;
	at com.couchbase.client.internal.HttpFuture.get(HttpFuture.java:66)&lt;br/&gt;
	at com.couchbase.client.CouchbaseClient.getView(CouchbaseClient.java:492)&lt;br/&gt;
&lt;br/&gt;
This was working fine in 1.1-dp4.</description>
                <environment></environment>
            <key id="21171">JCBC-168</key>
            <summary>CouchClient.getView always throws an exception</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="1" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/blocker.png">Blocker</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="ingenthr">Matt Ingenthron</assignee>
                                <reporter username="ctash_jt">Chris Tashjian</reporter>
                        <labels>
                    </labels>
                <created>Wed, 5 Dec 2012 17:34:51 -0600</created>
                <updated>Tue, 11 Dec 2012 10:16:53 -0600</updated>
                    <resolved>Tue, 11 Dec 2012 10:16:53 -0600</resolved>
                            <version>1.1-beta</version>
                                <fixVersion>1.1.0</fixVersion>
                                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="45553" author="daschl" created="Thu, 6 Dec 2012 00:16:47 -0600"  >Hi Chris,&lt;br/&gt;
&lt;br/&gt;
thanks for filing this. There has been a change that makes the ViewTimeout tunable, which I think may be the problem here. All my tests go through without problems, so I think you&amp;#39;re using the FactoryBuilder right?&lt;br/&gt;
&lt;br/&gt;
Can you please give me your bootstrap code and all the timeouts you are using? Also, please check your boot logs if it says something about a low view timeout. Thanks!</comment>
                    <comment id="45573" author="ctash_jt" created="Thu, 6 Dec 2012 10:17:57 -0600"  >We&amp;#39;re using the default ViewTimeout...&lt;br/&gt;
&lt;br/&gt;
CouchbaseConnectionFactoryBuilder builder = new CouchbaseConnectionFactoryBuilder();&lt;br/&gt;
builder.setAuthDescriptor(new AuthDescriptor(new String[]{&amp;quot;PLAIN&amp;quot;}, new PlainCallbackHandler(bucketName, password)));&lt;br/&gt;
builder.setOpTimeout(opTimeout);&lt;br/&gt;
if (failureMode != null) {&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;builder.setFailureMode(FailureMode.valueOf(failureMode));&lt;br/&gt;
}&lt;br/&gt;
CouchbaseClient client = createClient(builder, uris);</comment>
                    <comment id="45583" author="ctash_jt" created="Thu, 6 Dec 2012 12:59:06 -0600"  >Ok, I think I was able to get this to work by adding &amp;quot;builder.setViewTimeout(5000);&amp;quot;.&lt;br/&gt;
&lt;br/&gt;
At one point I had it set to 3000 and got a timeout exception... however, if you don&amp;#39;t explicitly call setViewTimeout, it seems that you get the less informative RuntimeException that I originally filed this for.  It might be helpful if the constructor for CouchbaseConnectionFactoryBuilder set some kind of default timeout.</comment>
                    <comment id="45788" author="ingenthr" created="Tue, 11 Dec 2012 01:53:43 -0600"  >&lt;a href=&quot;http://review.couchbase.org/#/c/23189/&quot;&gt;http://review.couchbase.org/#/c/23189/&lt;/a&gt;</comment>
                    <comment id="45802" author="daschl" created="Tue, 11 Dec 2012 10:16:53 -0600"  >fixed and pushed to master!</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>10098</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-131] Java Sample Application</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-131</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>Create and document the sample application (port the ruby example app to java).</description>
                <environment></environment>
            <key id="20229">JCBC-131</key>
            <summary>Java Sample Application</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="daschl">Michael Nitschinger</reporter>
                        <labels>
                    </labels>
                <created>Fri, 12 Oct 2012 12:02:11 -0500</created>
                <updated>Tue, 11 Dec 2012 04:54:10 -0600</updated>
                    <resolved>Tue, 11 Dec 2012 04:54:10 -0600</resolved>
                                            <fixVersion>1.1.0</fixVersion>
                                <component>docs</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="45793" author="daschl" created="Tue, 11 Dec 2012 04:54:10 -0600"  >Done, and will be released with the 1.1.0 release.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>10080</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-175] Small typo in Exception message &quot;Node exepcted to receive data is inactive&quot;</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-175</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>Fix typo in &amp;quot;Node exepcted to receive data is inactive ...&amp;quot;</description>
                <environment></environment>
            <key id="21215">JCBC-175</key>
            <summary>Small typo in Exception message &quot;Node exepcted to receive data is inactive&quot;</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="tgrall">Tug Grall</assignee>
                                <reporter username="tgrall">Tug Grall</reporter>
                        <labels>
                    </labels>
                <created>Sat, 8 Dec 2012 09:40:10 -0600</created>
                <updated>Tue, 11 Dec 2012 04:05:36 -0600</updated>
                    <resolved>Tue, 11 Dec 2012 04:05:36 -0600</resolved>
                                            <fixVersion>1.1.0</fixVersion>
                                                <votes>0</votes>
                        <watches>0</watches>
                          <timeoriginalestimate seconds="3600">1h</timeoriginalestimate>
                    <timeestimate seconds="3600">1h</timeestimate>
                                  <comments>
                    <comment id="45791" author="daschl" created="Tue, 11 Dec 2012 04:05:36 -0600"  >Fixed, thanks</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>10097</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-144] flush command needs to use RESTful flush for Couchbase Buckets</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-144</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>The current flush command needs to be connected to the RESTful flush.</description>
                <environment></environment>
            <key id="20691">JCBC-144</key>
            <summary>flush command needs to use RESTful flush for Couchbase Buckets</summary>
                <type id="2" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/newfeature.png">New Feature</type>
                                <priority id="1" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/blocker.png">Blocker</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="ingenthr">Matt Ingenthron</assignee>
                                <reporter username="ingenthr">Matt Ingenthron</reporter>
                        <labels>
                    </labels>
                <created>Sun, 11 Nov 2012 19:32:42 -0600</created>
                <updated>Tue, 11 Dec 2012 01:05:09 -0600</updated>
                    <resolved>Tue, 11 Dec 2012 01:05:09 -0600</resolved>
                                            <fixVersion>1.1.0</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="43785" author="daschl" created="Mon, 12 Nov 2012 04:55:24 -0600"  >To my findings there are two ways to implement this feature:&lt;br/&gt;
&lt;br/&gt;
- Reuse the BucketManager for this, since it already provides basic capabilities for flushing (but needs some extension).&lt;br/&gt;
- Reimplement the whole thing.&lt;br/&gt;
&lt;br/&gt;
I would go with extending the BucketManager for this, since it would also keep the CouchbaseClient itself lean.&lt;br/&gt;
&lt;br/&gt;
There is one thing that we need to decide upon: we can&amp;#39;t just override the flush() method, because the returned value is different (we can&amp;#39;t return an operation future with the current implementation). If we want to, we could &amp;quot;fake&amp;quot; it into one (but I doubt it makes sense). Therefore I propose a new method (flushBucket) which should be used with the couchbase client and we need to document that the old flush methods only work against memcached servers.</comment>
                    <comment id="43791" author="daschl" created="Mon, 12 Nov 2012 07:21:08 -0600"  >Tracked here: &lt;a href=&quot;http://review.couchbase.com/#/c/22445/&quot;&gt;http://review.couchbase.com/#/c/22445/&lt;/a&gt;</comment>
                    <comment id="45251" author="ingenthr" created="Mon, 3 Dec 2012 13:07:44 -0600"  >Pushing out to release 1.1.0, as it&amp;#39;s secondary functionality.</comment>
                    <comment id="45673" author="ingenthr" created="Fri, 7 Dec 2012 22:23:06 -0600"  >&lt;a href=&quot;http://review.couchbase.org/#/c/22445/&quot;&gt;http://review.couchbase.org/#/c/22445/&lt;/a&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                <customfield id="customfield_10010" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                <customfieldname>Flagged</customfieldname>
                <customfieldvalues>
                        <customfieldvalue key="10010"><![CDATA[Release Note]]></customfieldvalue>
    
                </customfieldvalues>
            </customfield>
                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8656</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-163] test failures in TAP </title>
                <link>http://www.couchbase.com/issues/browse/JCBC-163</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>In current test execution scenarios, the TAP tests are failing for an unknown reason.&lt;br/&gt;
&lt;br/&gt;
testBackfill&lt;br/&gt;
java.lang.AssertionError&lt;br/&gt;
at com.couchbase.client.vbucket.VBucketNodeLocator.getPrimary(VBucketNodeLocator.java:103)&lt;br/&gt;
at com.couchbase.client.CouchbaseConnection.addOperation(CouchbaseConnection.java:143)&lt;br/&gt;
at net.spy.memcached.MemcachedConnection.enqueueOperation(MemcachedConnection.java:642)&lt;br/&gt;
at net.spy.memcached.MemcachedClient.asyncStore(MemcachedClient.java:301)&lt;br/&gt;
at net.spy.memcached.MemcachedClient.set(MemcachedClient.java:739)&lt;br/&gt;
at com.couchbase.client.TapTest.testBackfill(TapTest.java:80)&lt;br/&gt;
&lt;br/&gt;
testTapDump&lt;br/&gt;
java.lang.AssertionError&lt;br/&gt;
at com.couchbase.client.vbucket.VBucketNodeLocator.getPrimary(VBucketNodeLocator.java:103)&lt;br/&gt;
at com.couchbase.client.CouchbaseConnection.addOperation(CouchbaseConnection.java:143)&lt;br/&gt;
at net.spy.memcached.MemcachedConnection.enqueueOperation(MemcachedConnection.java:642)&lt;br/&gt;
at net.spy.memcached.MemcachedClient.asyncStore(MemcachedClient.java:301)&lt;br/&gt;
at net.spy.memcached.MemcachedClient.set(MemcachedClient.java:739)&lt;br/&gt;
at com.couchbase.client.TapTest.testTapDump(TapTest.java:103)</description>
                <environment></environment>
            <key id="21098">JCBC-163</key>
            <summary>test failures in TAP </summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="4" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/minor.png">Minor</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="ingenthr">Matt Ingenthron</reporter>
                        <labels>
                    </labels>
                <created>Mon, 3 Dec 2012 21:46:24 -0600</created>
                <updated>Thu, 6 Dec 2012 03:05:58 -0600</updated>
                    <resolved>Thu, 6 Dec 2012 03:05:58 -0600</resolved>
                            <version>1.1-beta</version>
                                <fixVersion>1.1.0</fixVersion>
                                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="45558" author="daschl" created="Thu, 6 Dec 2012 03:05:58 -0600"  >fixed and will be available in 1.1.0</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                <customfield id="customfield_10010" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                <customfieldname>Flagged</customfieldname>
                <customfieldvalues>
                        <customfieldvalue key="10010"><![CDATA[Release Note]]></customfieldvalue>
    
                </customfieldvalues>
            </customfield>
                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>10101</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-165] ComplexKey does not support partial compound keys with single field</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-165</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>I can&amp;#39;t figure out how to do partial compound keys with a single value --&lt;br/&gt;
&lt;br/&gt;
ex. 1 - Specifying both parts of the key:&lt;br/&gt;
&lt;a href=&quot;http://localhost:8092/bucketname/_design/mydesigndoc/_view/myview?group_level=1&amp;startkey=&quot;&gt;http://localhost:8092/bucketname/_design/mydesigndoc/_view/myview?group_level=1&amp;amp;startkey=&lt;/a&gt;[&amp;quot;0&amp;quot;,1351742400000]&amp;amp;endkey=[&amp;quot;Z&amp;quot;,1353073898844]&lt;br/&gt;
&lt;br/&gt;
ex. 2 - Only specifying the first part of the key:&lt;br/&gt;
&lt;a href=&quot;http://localhost:8092/bucketname/_design/mydesigndoc/_view/myview?group_level=1&amp;startkey=&quot;&gt;http://localhost:8092/bucketname/_design/mydesigndoc/_view/myview?group_level=1&amp;amp;startkey=&lt;/a&gt;[&amp;quot;0&amp;quot;]&amp;amp;endkey=[&amp;quot;Z&amp;quot;]&lt;br/&gt;
&lt;br/&gt;
I can get ex. 1 to work via the Java client library, but I&amp;#39;ve had no luck with ex. 2.  I&amp;#39;ve tried setting ranges, complex keys and regular keys.  The closest I get is a query string where the &amp;quot;[&amp;quot; and &amp;quot;]&amp;quot; have been escaped which results in a bad URL.  I was only able to get this far by manually concatenating the &amp;quot;[&amp;quot; and &amp;quot;]&amp;quot; onto my key and using the query.setKey(String) method.&lt;br/&gt;
&lt;br/&gt;
I believe that ComplexKey should be able to handle ex 2 by calling ComplexKey.of(&amp;quot;0&amp;quot;) and ComplexKey.of(&amp;quot;Z&amp;quot;).</description>
                <environment></environment>
            <key id="21129">JCBC-165</key>
            <summary>ComplexKey does not support partial compound keys with single field</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="2" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/critical.png">Critical</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="ctash_jt">Chris Tashjian</reporter>
                        <labels>
                    </labels>
                <created>Tue, 4 Dec 2012 14:40:04 -0600</created>
                <updated>Thu, 6 Dec 2012 03:05:40 -0600</updated>
                    <resolved>Thu, 6 Dec 2012 03:05:40 -0600</resolved>
                            <version>1.1-beta</version>
                                <fixVersion>1.1.0</fixVersion>
                                <component>docs</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="45401" author="daschl" created="Tue, 4 Dec 2012 14:51:16 -0600"  >Correct, I came across it today as well.</comment>
                    <comment id="45469" author="daschl" created="Wed, 5 Dec 2012 11:13:57 -0600"  >&lt;a href=&quot;http://review.couchbase.org/#/c/23086/&quot;&gt;http://review.couchbase.org/#/c/23086/&lt;/a&gt;</comment>
                    <comment id="45557" author="daschl" created="Thu, 6 Dec 2012 03:05:40 -0600"  >you can now use the forceArray method on the ComplexKey to do this! .. will be available in 1.1.0.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>10100</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-81] Update the getting started to match the Beer sample DB</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-81</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>Once the sample DB has been integrated into the server, update the getting started (both on the web page and in the documentation) to use the sample database.</description>
                <environment></environment>
            <key id="18338">JCBC-81</key>
            <summary>Update the getting started to match the Beer sample DB</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="ingenthr">Matt Ingenthron</reporter>
                        <labels>
                    </labels>
                <created>Thu, 12 Jul 2012 00:24:08 -0500</created>
                <updated>Wed, 5 Dec 2012 11:19:08 -0600</updated>
                    <resolved>Wed, 5 Dec 2012 11:19:08 -0600</resolved>
                                            <fixVersion>1.1.0</fixVersion>
                                <component>docs</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="45470" author="daschl" created="Wed, 5 Dec 2012 11:19:08 -0600"  >Updated and available!</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>10106</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-162] re-enable delete observe against 2.0 server</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-162</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>At one point, the observe delete had been disabled on the master branch owing to changes in approach and needing to get a change merged for delete.  Once this is complete, we need to revert the change.&lt;br/&gt;
&lt;br/&gt;
See the review for the remove here: &lt;a href=&quot;http://review.couchbase.org/20918&quot;&gt;http://review.couchbase.org/20918&lt;/a&gt;</description>
                <environment></environment>
            <key id="21084">JCBC-162</key>
            <summary>re-enable delete observe against 2.0 server</summary>
                <type id="2" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/newfeature.png">New Feature</type>
                                <priority id="1" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/blocker.png">Blocker</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="ingenthr">Matt Ingenthron</assignee>
                                <reporter username="ingenthr">Matt Ingenthron</reporter>
                        <labels>
                    </labels>
                <created>Mon, 3 Dec 2012 13:16:22 -0600</created>
                <updated>Mon, 3 Dec 2012 14:30:52 -0600</updated>
                    <resolved>Mon, 3 Dec 2012 14:30:52 -0600</resolved>
                            <version>1.1-dp3</version>
                <version>1.1-dp4</version>
                                <fixVersion>1.1-beta</fixVersion>
                                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="45270" author="daschl" created="Mon, 3 Dec 2012 14:30:52 -0600"  >implemented and pushed to master, will be available in beta.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8664</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-147] Rename getViews() to getDesignDocument()</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-147</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>The getViews() method should be renamed to getDesignDocument() before the API is stable. This is also in preparation for the createDesignDocument() and deleteDesignDocument() additions.</description>
                <environment></environment>
            <key id="20735">JCBC-147</key>
            <summary>Rename getViews() to getDesignDocument()</summary>
                <type id="4" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/improvement.png">Improvement</type>
                                <priority id="1" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/blocker.png">Blocker</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="daschl">Michael Nitschinger</reporter>
                        <labels>
                    </labels>
                <created>Wed, 14 Nov 2012 09:48:34 -0600</created>
                <updated>Mon, 3 Dec 2012 13:39:32 -0600</updated>
                    <resolved>Mon, 3 Dec 2012 13:39:32 -0600</resolved>
                            <version>1.1-dp4</version>
                                <fixVersion>1.1-beta</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="44531" author="daschl" created="Wed, 21 Nov 2012 07:09:43 -0600"  >&lt;a href=&quot;http://review.couchbase.com/#/c/22713/&quot;&gt;http://review.couchbase.com/#/c/22713/&lt;/a&gt;</comment>
                    <comment id="45250" author="ingenthr" created="Mon, 3 Dec 2012 13:04:27 -0600"  >This breaks API over DP, and should be release noted.</comment>
                    <comment id="45263" author="daschl" created="Mon, 3 Dec 2012 13:39:32 -0600"  >fixed and merged into master, will be available in beta!</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10000">
                <name>Dependency</name>
                                                <inwardlinks description="blocks">
                            <issuelink>
            <issuekey id="17640">JCBC-63</issuekey>
        </issuelink>
                    </inwardlinks>
                            </issuelinktype>
                    </issuelinks>
                <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                <customfield id="customfield_10010" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                <customfieldname>Flagged</customfieldname>
                <customfieldvalues>
                        <customfieldvalue key="10010"><![CDATA[Release Note]]></customfieldvalue>
    
                </customfieldvalues>
            </customfield>
                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>11300</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-160] merge in changes from the release10 branch for 1.1beta</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-160</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>In particular, the fix for &lt;a href=&quot;http://www.couchbase.com/issues/browse/JCBC-70&quot; title=&quot;Client fails to reconnect to server of non-default memcached bucket after failover and add back&quot;&gt;&lt;strike&gt;JCBC-70&lt;/strike&gt;&lt;/a&gt; is needed, but there are a couple of changes which need to be merged in</description>
                <environment></environment>
            <key id="21069">JCBC-160</key>
            <summary>merge in changes from the release10 branch for 1.1beta</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="1" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/blocker.png">Blocker</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="ingenthr">Matt Ingenthron</assignee>
                                <reporter username="ingenthr">Matt Ingenthron</reporter>
                        <labels>
                    </labels>
                <created>Mon, 3 Dec 2012 03:09:23 -0600</created>
                <updated>Mon, 3 Dec 2012 12:34:32 -0600</updated>
                    <resolved>Mon, 3 Dec 2012 12:34:32 -0600</resolved>
                            <version>1.1-dp4</version>
                                <fixVersion>1.1-beta</fixVersion>
                                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="45242" author="daschl" created="Mon, 3 Dec 2012 12:34:32 -0600"  >merged, will be available in the beta release.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>11298</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-154] merge in changes from the release11c branch</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-154</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>When reviewing some changes on the &amp;quot;c&amp;quot; branch, I happened to notice there may be one change that hasn&amp;#39;t been submodule merged &lt;br/&gt;
&lt;br/&gt;
Upon further inspection, it looks like a few other changes haven&amp;#39;t been merged either.  We&amp;#39;ll need to merge this branch back in.</description>
                <environment></environment>
            <key id="20953">JCBC-154</key>
            <summary>merge in changes from the release11c branch</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="1" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/blocker.png">Blocker</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="ingenthr">Matt Ingenthron</assignee>
                                <reporter username="ingenthr">Matt Ingenthron</reporter>
                        <labels>
                    </labels>
                <created>Mon, 26 Nov 2012 23:23:55 -0600</created>
                <updated>Mon, 3 Dec 2012 12:34:05 -0600</updated>
                    <resolved>Mon, 3 Dec 2012 12:34:05 -0600</resolved>
                                            <fixVersion>1.1-beta</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="45000" author="daschl" created="Thu, 29 Nov 2012 10:37:17 -0600"  >You already did the work, so assigning it to you.</comment>
                    <comment id="45197" author="ingenthr" created="Mon, 3 Dec 2012 03:10:10 -0600"  >&lt;a href=&quot;http://review.couchbase.org/#/c/22973/&quot;&gt;http://review.couchbase.org/#/c/22973/&lt;/a&gt;</comment>
                    <comment id="45241" author="daschl" created="Mon, 3 Dec 2012 12:34:05 -0600"  >merged into master, available in beta.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>11299</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                    <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>

<item>
            <title>[JCBC-125] Don&apos;t cast view documents to strings</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-125</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>When objects are stored as non-strings in Couchbase and then loaded through a View, the SDK currently casts every document to a string. This works fine for JSON documents, but as soon as you want to store serialized objects it breaks.&lt;br/&gt;
&lt;br/&gt;
Implicit casting is not needed in this place (see fix).</description>
                <environment>All</environment>
            <key id="20049">JCBC-125</key>
            <summary>Don&apos;t cast view documents to strings</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="2" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/critical.png">Critical</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="daschl">Michael Nitschinger</reporter>
                        <labels>
                        <label>view</label>
                    </labels>
                <created>Wed, 3 Oct 2012 06:54:32 -0500</created>
                <updated>Mon, 3 Dec 2012 05:36:20 -0600</updated>
                    <resolved>Thu, 8 Nov 2012 01:52:31 -0600</resolved>
                            <version>1.1-dp4</version>
                                <fixVersion>1.1-beta</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="40188" author="daschl" created="Wed, 3 Oct 2012 06:57:55 -0500"  >Here is a quick sa