<!--
RSS generated by JIRA (5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9) at Sat May 25 14:59:17 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+AND+fixVersion+%3D+%221.1-beta%22&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+AND+fixVersion+%3D+%221.1-beta%22</link>
        <description>An XML representation of a search request</description>
                <language>en-us</language>
                        <issue start="0" end="41" total="41"/>
                <build-info>
            <version>5.2.4</version>
            <build-number>845</build-number>
            <build-date>26-12-2012</build-date>
        </build-info>
<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-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-158] add a debug=true option to view query options</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-158</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>To be able to diagnose issues that may come up with views, please add a debug=true query parameter.  Optionally, we could add a cbclient.properties parameter to be able to turn on view debugging (for all view requests or just some that match a regex?) without code changes (though, with restarts).</description>
                <environment></environment>
            <key id="21007">JCBC-158</key>
            <summary>add a debug=true option to view query options</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="daschl">Michael Nitschinger</assignee>
                                <reporter username="ingenthr">Matt Ingenthron</reporter>
                        <labels>
                    </labels>
                <created>Thu, 29 Nov 2012 14:19:13 -0600</created>
                <updated>Mon, 3 Dec 2012 01:38:08 -0600</updated>
                    <resolved>Mon, 3 Dec 2012 01:38:08 -0600</resolved>
                            <version>1.1-dp4</version>
                                <fixVersion>1.1-beta</fixVersion>
                                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="45062" author="daschl" created="Fri, 30 Nov 2012 01:47:19 -0600"  >&lt;a href=&quot;http://review.couchbase.org/#/c/22923&quot;&gt;http://review.couchbase.org/#/c/22923&lt;/a&gt;</comment>
                    <comment id="45195" author="daschl" created="Mon, 3 Dec 2012 01:38:08 -0600"  >pushed to master, will be available in the beta relase.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>10138</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-157] Unsure if CouchbaseConnectionFactory.pastReconnThreshold really does what it&apos;s suppose to do</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-157</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>{code}&lt;br/&gt;
&amp;nbsp;&amp;nbsp;private boolean pastReconnThreshold() {&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;long currentTime = System.nanoTime();&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (currentTime - thresholdLastCheck &amp;gt; 100000000) { //if longer than 10 sec&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;configThresholdCount = 0; // it&amp;#39;s been more than 10 sec since last&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;// tried, so don&amp;#39;t try again just yet.&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;configThresholdCount++;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;thresholdLastCheck = currentTime;&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (configThresholdCount &amp;gt;= maxConfigCheck) {&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return true;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return false;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;}&lt;br/&gt;
{code}&lt;br/&gt;
&lt;br/&gt;
Does the above really work as expected? It looks strange. 100000000 in nanos is only 100 millis and not 10 seconds as stated in comments. &lt;br/&gt;
If there is more than 100 millis between calls we always reset configThresholdCount and will never return true, which seems very strange.&lt;br/&gt;
</description>
                <environment>Oracle Jdk 1.6.0_26</environment>
            <key id="20982">JCBC-157</key>
            <summary>Unsure if CouchbaseConnectionFactory.pastReconnThreshold really does what it&apos;s suppose to do</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="ingenthr">Matt Ingenthron</assignee>
                                <reporter username="marcus.nylander@gmail.com">Marcus Nylander</reporter>
                        <labels>
                    </labels>
                <created>Wed, 28 Nov 2012 03:54:04 -0600</created>
                <updated>Mon, 3 Dec 2012 03:26:46 -0600</updated>
                    <resolved>Mon, 3 Dec 2012 03:26:46 -0600</resolved>
                            <version>1.0.3</version>
                                <fixVersion>1.1-beta</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="44918" author="daschl" created="Wed, 28 Nov 2012 04:17:49 -0600"  >can you take a look at this?</comment>
                    <comment id="44995" author="daschl" created="Thu, 29 Nov 2012 06:30:07 -0600"  >&lt;a href=&quot;http://review.couchbase.org/#/c/22902/&quot;&gt;http://review.couchbase.org/#/c/22902/&lt;/a&gt;</comment>
                    <comment id="44996" author="marcus.nylander@gmail.com" created="Thu, 29 Nov 2012 08:06:18 -0600"  >Checking the fix. Not that I&amp;#39;ve looked deeply into what pastReconnThreshold() should do, but just increasing the timeout? &lt;br/&gt;
Isn&amp;#39;t it more like it should return true every maxConfigCheck calls or return true if last call was more than 10 seconds ago?&lt;br/&gt;
&lt;br/&gt;
</comment>
                    <comment id="45198" author="daschl" created="Mon, 3 Dec 2012 03:26:46 -0600"  >fixed 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>11307</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-156] several javadoc warnings emitted</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-156</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>During build of javadoc:&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;[javadoc] /Users/ingenthr/src/couchbase-java-client/src/main/java/com/couchbase/client/ClusterManager.java:128: warning - @param argument &amp;quot;memorySize&amp;quot; is not a parameter name.&lt;br/&gt;
&amp;nbsp;&amp;nbsp;[javadoc] /Users/ingenthr/src/couchbase-java-client/src/main/java/com/couchbase/client/ClusterManager.java:143: warning - @param argument &amp;quot;memorySize&amp;quot; is not a parameter name.&lt;br/&gt;
&amp;nbsp;&amp;nbsp;[javadoc] /Users/ingenthr/src/couchbase-java-client/src/main/java/com/couchbase/client/ClusterManager.java:143: warning - @param argument &amp;quot;password&amp;quot; is not a parameter name.&lt;br/&gt;
&amp;nbsp;&amp;nbsp;[javadoc] /Users/ingenthr/src/couchbase-java-client/src/main/java/com/couchbase/client/ClusterManager.java:158: warning - @param argument &amp;quot;memorySize&amp;quot; is not a parameter name.&lt;br/&gt;
&amp;nbsp;&amp;nbsp;[javadoc] /Users/ingenthr/src/couchbase-java-client/src/main/java/com/couchbase/client/ViewConnection.java:199: warning - @return tag has no arguments.</description>
                <environment></environment>
            <key id="20978">JCBC-156</key>
            <summary>several javadoc warnings emitted</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>Tue, 27 Nov 2012 23:40:18 -0600</created>
                <updated>Mon, 3 Dec 2012 05:36:19 -0600</updated>
                    <resolved>Wed, 28 Nov 2012 12:40:42 -0600</resolved>
                            <version>1.1-beta</version>
                                <fixVersion>1.1-beta</fixVersion>
                                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="44924" author="daschl" created="Wed, 28 Nov 2012 05:47:26 -0600"  >&lt;a href=&quot;http://review.couchbase.org/#/c/22877/&quot;&gt;http://review.couchbase.org/#/c/22877/&lt;/a&gt;</comment>
                    <comment id="44940" author="daschl" created="Wed, 28 Nov 2012 12:40:42 -0600"  >Fixed, will be available in beta/dp5</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>11308</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-155] add javadoc for AbstractView, View, SpatialView</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-155</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>When fixing up a test after a merge commit, I noted that I had to create a View object directly.  In the process, I found that many of these classes are public, have public ctors, but have no javadoc.  The client API takes AbstractView as an argument, so it may be tempting to just construct one.  Is it correct to do so?  Maybe.  Javadoc doesn&amp;#39;t tell me much.&lt;br/&gt;
&lt;br/&gt;
The arguments to the ctors could also be expanded as they&amp;#39;re a bit outside code style.  Specifically, variable names should be meaningful and at least three or more characters if the variable is to be around for a while.</description>
                <environment></environment>
            <key id="20977">JCBC-155</key>
            <summary>add javadoc for AbstractView, View, SpatialView</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="ingenthr">Matt Ingenthron</reporter>
                        <labels>
                    </labels>
                <created>Tue, 27 Nov 2012 23:33:18 -0600</created>
                <updated>Mon, 3 Dec 2012 05:36:19 -0600</updated>
                    <resolved>Thu, 29 Nov 2012 02:06:08 -0600</resolved>
                            <version>1.1-dp4</version>
                                <fixVersion>1.1-beta</fixVersion>
                                <component>docs</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="44916" author="daschl" created="Wed, 28 Nov 2012 03:04:20 -0600"  >&lt;a href=&quot;http://review.couchbase.org/#/c/22872/&quot;&gt;http://review.couchbase.org/#/c/22872/&lt;/a&gt;</comment>
                    <comment id="44986" author="daschl" created="Thu, 29 Nov 2012 02:06:08 -0600"  >Pushed to master, will be available in dp5/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>11303</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-153] Raise view timeout from 60s to 75s</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-153</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>Since the server side view timeout is 60s, we should raise the client side a bit higher.  75s seems like the right number.  It should be tuneable though.</description>
                <environment></environment>
            <key id="20892">JCBC-153</key>
            <summary>Raise view timeout from 60s to 75s</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="ingenthr">Matt Ingenthron</reporter>
                        <labels>
                    </labels>
                <created>Wed, 21 Nov 2012 12:47:17 -0600</created>
                <updated>Mon, 3 Dec 2012 05:36:19 -0600</updated>
                    <resolved>Tue, 27 Nov 2012 09:25: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="44651" author="daschl" created="Thu, 22 Nov 2012 03:24:42 -0600"  >&lt;a href=&quot;http://review.couchbase.org/#/c/22755/&quot;&gt;http://review.couchbase.org/#/c/22755/&lt;/a&gt;</comment>
                    <comment id="44843" author="daschl" created="Tue, 27 Nov 2012 09:25:31 -0600"  >Pushed to master, will be available in dp5/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>10074</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-152] Document testing procedures for unit/functional tests</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-152</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>It would be good to have clear documentation in the repo about how to:&lt;br/&gt;
&lt;br/&gt;
(1) run individual tests&lt;br/&gt;
(2) change cluster parameters&lt;br/&gt;
(3) write more tests&lt;br/&gt;
&lt;br/&gt;
This might be trivial or obvious to do, but very much needed.&lt;br/&gt;
&lt;br/&gt;
For an example of what should be available, see:&lt;br/&gt;
&lt;br/&gt;
(This does not say how to run individual tests though)&lt;br/&gt;
&lt;a href=&quot;https://github.com/couchbase/libcouchbase#run-the-testsuite-towards-a-running-cluster&quot;&gt;https://github.com/couchbase/libcouchbase#run-the-testsuite-towards-a-running-cluster&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
A more extensive example for a more complex test suite:&lt;br/&gt;
&lt;a href=&quot;https://github.com/couchbase/php-ext-couchbase/blob/master/TESTING.pod&quot;&gt;https://github.com/couchbase/php-ext-couchbase/blob/master/TESTING.pod&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
I&amp;#39;m marking this as a &amp;#39;library&amp;#39; bug because this would require some detailed knowledge of how the tests are written :)</description>
                <environment></environment>
            <key id="20890">JCBC-152</key>
            <summary>Document testing procedures for unit/functional tests</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="mnunberg">Mark Nunberg</reporter>
                        <labels>
                    </labels>
                <created>Wed, 21 Nov 2012 12:29:51 -0600</created>
                <updated>Mon, 3 Dec 2012 05:36:19 -0600</updated>
                    <resolved>Thu, 29 Nov 2012 00:41:43 -0600</resolved>
                            <version>1.1-dp4</version>
                                <fixVersion>1.1-beta</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="44915" author="daschl" created="Wed, 28 Nov 2012 03:03:53 -0600"  >&lt;a href=&quot;http://review.couchbase.org/#/c/22874/&quot;&gt;http://review.couchbase.org/#/c/22874/&lt;/a&gt;</comment>
                    <comment id="44984" author="daschl" created="Thu, 29 Nov 2012 00:41:43 -0600"  >This has been fixed and is available under TESTING.md in the lib.</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>11304</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-148] Issue with Observe API Persist.TWO and 1 dead node: Time Out when doing set operation</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-148</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>I have a very simple Java program that connect to the 2 nodes and do a set with the following code:&lt;br/&gt;
&lt;br/&gt;
1. So I try to connect to multiple nodes&lt;br/&gt;
{code}&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;List&amp;lt;URI&amp;gt; couchbaseServerUris = new ArrayList&amp;lt;URI&amp;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;couchbaseServerUris.add( new URI(&amp;quot;&lt;a href=&quot;http://192.168.0.108:8091/pools&quot;&gt;http://192.168.0.108: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;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;couchbaseServerUris.add( new URI(&amp;quot;&lt;a href=&quot;http://192.168.0.104:8091/pools&quot;&gt;http://192.168.0.104: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;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;CouchbaseClient client = new CouchbaseClient( couchbaseServerUris , &amp;quot;default&amp;quot; , &amp;quot;&amp;quot; );&lt;br/&gt;
{code}&lt;br/&gt;
&lt;br/&gt;
2. Then I call the set operation&lt;br/&gt;
{code}&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;OperationFuture&amp;lt;Boolean&amp;gt; stored = client.set( &amp;quot;my-dummy-key&amp;quot;,0, &amp;quot;{\&amp;quot;name\&amp;quot; : \&amp;quot;foo\&amp;quot;, \&amp;quot;title\&amp;quot; : \&amp;quot;bar-test\&amp;quot;}&amp;quot;, PersistTo.TWO);&lt;br/&gt;
{code}&lt;br/&gt;
&lt;br/&gt;
---&lt;br/&gt;
So everything is working as expected when the 2 nodes are up.&lt;br/&gt;
&lt;br/&gt;
When I kill 1 node (for example : disconnecting, or stopping, or pausing the Ubuntu VM) I have the following behavior:&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
When I execute this program:&lt;br/&gt;
1- I have an exception saying that 1 node is down : Expected behavior (even if we could avoid a long stack trace)&lt;br/&gt;
{code}&lt;br/&gt;
2012-11-18 08:14:55.830 WARN com.couchbase.client.vbucket.ConfigurationProviderHTTP:  Connection problems with URI &lt;a href=&quot;http://192.168.0.108:8091/pools&quot;&gt;http://192.168.0.108:8091/pools&lt;/a&gt; ...skipping&lt;br/&gt;
java.net.ConnectException: Host is down&lt;br/&gt;
{code}&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
2- When I do the set the program is stopped/blocked until it reaches a network timeout&lt;br/&gt;
2012-11-18 08:20:13.462 INFO com.couchbase.client.CouchbaseConnection:  Shut down Couchbase client&lt;br/&gt;
{code}&lt;br/&gt;
Error while storing : Observe Timeout - Polled Unsuccessfully for at least 40 seconds.&lt;br/&gt;
2012-11-18 08:20:13.466 INFO 		 done : true&lt;br/&gt;
		 done : {OperationStatus success=false:  Observe Timeout - Polled Unsuccessfully for at least 40 seconds.}&lt;br/&gt;
com.couchbase.client.ViewNode:  Couchbase I/O reactor terminated&lt;br/&gt;
2012-11-18 08:20:13.467 INFO com.couchbase.client.ViewNode:  Couchbase I/O reactor terminated&lt;br/&gt;
{code}&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
Note that it is only happening with PersistTo.TWO&lt;br/&gt;
if I use PersistTo.MASTER or PersistTo.ONE : the program is executed with no error and no stop&lt;br/&gt;
if I use PersistTo.THREE ( or more) : the program is executed, no stop with the expected observe message : ( Error while storing : Requested persistence to 3 node(s), but only 2 are available.&lt;br/&gt;
&amp;nbsp;)&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
</description>
                <environment>2 nodes cluster on couchbase-server-community_x86_2.0.0-1947-rel &lt;br/&gt;
&amp;nbsp;&amp;nbsp;1 node on Ubuntu (VM) &lt;br/&gt;
&amp;nbsp;&amp;nbsp;1 node on OS X&lt;br/&gt;
&lt;br/&gt;
Bucket configure with 1 replica</environment>
            <key id="20820">JCBC-148</key>
            <summary>Issue with Observe API Persist.TWO and 1 dead node: Time Out when doing set operation</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="tgrall">Tug Grall</reporter>
                        <labels>
                    </labels>
                <created>Sun, 18 Nov 2012 01:24:35 -0600</created>
                <updated>Mon, 3 Dec 2012 03:37:02 -0600</updated>
                    <resolved>Mon, 3 Dec 2012 03:37:02 -0600</resolved>
                            <version>1.1-dp4</version>
                                <fixVersion>1.1-beta</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="44261" author="tgrall" created="Sun, 18 Nov 2012 01:27:25 -0600"  >Sample program</comment>
                    <comment id="44420" author="ingenthr" created="Tue, 20 Nov 2012 09:54:38 -0600"  >I do believe that&amp;#39;s actually expected behavior, but let&amp;#39;s talk through it to get your opinion.&lt;br/&gt;
&lt;br/&gt;
We have a couple of options in the state of unexpected failure.  one is we try our hardest to get the operation requested of us done and we rely on timeouts to keep from blocking forever.  The second is that we keep tabs on our connections, and if the connection is down, we fail operations immediately so as to not have the application code waiting for something that may or may not succeed.&lt;br/&gt;
&lt;br/&gt;
Had you gone in and removed the second node (click &amp;#39;remove&amp;#39; and &amp;#39;rebalance&amp;#39;), then the client should have done something similar to when you requested three nodes.  The failure you describe above is unexpected.  Further, the client library doesn&amp;#39;t really know if it&amp;#39;s temporary or permanent.&lt;br/&gt;
&lt;br/&gt;
Finally, I do want to note, and I think this is well documented, that many things with Observe protocol under them end in timeouts.  This is not the only one.  Generally speaking, application code should be ready to do *something* in the case of a timeout.</comment>
                    <comment id="44421" author="ingenthr" created="Tue, 20 Nov 2012 10:06:04 -0600"  >Tug explained this further.  The PersistTo.THREE check must be happening after doing some operations, which is a bit late considering this operation can never succeed.  The failure should be the same with a cluster that has a down node as it is with a cluster that just doesn&amp;#39;t have a primary and to replica locations.</comment>
                    <comment id="44573" author="mikew" created="Wed, 21 Nov 2012 12:52:59 -0600"  >The way Rags wrote this code originally was to do the set and then the observe. The observe part is the part that does all of the checking so the set will actually go through an then you will get the error. Similarly there is no checking for downed nodes and I don&amp;#39;t think we actually have the ability to do this at the moment, but I may be wrong.&lt;br/&gt;
&lt;br/&gt;
On another note, one other thing I thing is wrong is returning an OperationFuture from all of the observe functions, but it isn&amp;#39;t actually an asynchronous function.</comment>
                    <comment id="45065" author="daschl" created="Fri, 30 Nov 2012 03:38:41 -0600"  >&lt;a href=&quot;http://review.couchbase.org/#/c/22936/&quot;&gt;http://review.couchbase.org/#/c/22936/&lt;/a&gt;</comment>
                    <comment id="45202" author="daschl" created="Mon, 3 Dec 2012 03:37:02 -0600"  >fixed and will be available in the beta release.</comment>
                </comments>
                    <attachments>
                    <attachment id="15838" name="CouchbaseSamples.zip" size="6101" author="tgrall" created="Sun, 18 Nov 2012 01:29:14 -0600" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>9442</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-142] Observe Tests show that something is wrong in the observe impl</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-142</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>The newly added observe viewtests show that sometimes the full result sets are returned and sometimes not. This strongly correlates with the number of sets done in a given timeframe so I suppose the current observe implementation has a bug somewhere.&lt;br/&gt;
&lt;br/&gt;
Also, the observe test inside the CouchbaseClient fails sometime which may correlate to the same issue.</description>
                <environment></environment>
            <key id="20616">JCBC-142</key>
            <summary>Observe Tests show that something is wrong in the observe impl</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="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="mikew">Mike Wiederhold</assignee>
                                <reporter username="daschl">Michael Nitschinger</reporter>
                        <labels>
                    </labels>
                <created>Thu, 8 Nov 2012 02:41:36 -0600</created>
                <updated>Mon, 3 Dec 2012 05:36:19 -0600</updated>
                    <resolved>Tue, 27 Nov 2012 07:31:48 -0600</resolved>
                            <version>1.1-dp4</version>
                                <fixVersion>1.1-beta</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="43669" author="daschl" created="Fri, 9 Nov 2012 12:20:08 -0600"  >This is the test to reproduce it: &lt;a href=&quot;https://github.com/couchbase/couchbase-java-client/commit/df5b6a53bbd61ca8daf64d56919e79d81870355e&quot;&gt;https://github.com/couchbase/couchbase-java-client/commit/df5b6a53bbd61ca8daf64d56919e79d81870355e&lt;/a&gt;&lt;br/&gt;
(you may have to increase the amount of sets to be done to make sure the disk queue takes some time to get flushed)</comment>
                    <comment id="43675" author="daschl" created="Fri, 9 Nov 2012 12:48:51 -0600"  >Please reproduce with another client and assign it back to me if it appears to be a client library issue.&lt;br/&gt;
&lt;br/&gt;
thanks!</comment>
                    <comment id="43710" author="mnunberg" created="Fri, 9 Nov 2012 18:21:25 -0600"  >I&amp;#39;ve tried to replicate this in PHP, but without success.&lt;br/&gt;
&lt;br/&gt;
It sounds like the observe operation is failing and therefore the view is returning bad results. I&amp;#39;m not familiar with the Java API, but the set+persist wouldn&amp;#39;t throw an exception if it fails - you&amp;#39;d need to check the future.getStatus().isSuccess() or something.&lt;br/&gt;
&lt;br/&gt;
I&amp;#39;m pasting a very ad-hoc test that I&amp;#39;ve written for PHP (more comments will be inline with that)</comment>
                    <comment id="43724" author="mnunberg" created="Fri, 9 Nov 2012 20:02:43 -0600"  >Update:&lt;br/&gt;
&lt;br/&gt;
I&amp;#39;ve re-run the tests with a two node cluster. I see similar behavior. This looks like a server bug.</comment>
                    <comment id="43725" author="mnunberg" created="Fri, 9 Nov 2012 20:29:01 -0600"  >Michael, can you modify the test code to check for observe exceptions (and in general make it function more similarly to the php code).&lt;br/&gt;
&lt;br/&gt;
This way we can have confident confirmation from both clients, and file a server bug&lt;br/&gt;
&lt;br/&gt;
Failed observe does not throw an exception, as per&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;https://github.com/couchbase/couchbase-java-client/blob/df5b6a53bbd61ca8daf64d56919e79d81870355e/src/main/java/com/couchbase/client/CouchbaseClient.java#L909&quot;&gt;https://github.com/couchbase/couchbase-java-client/blob/df5b6a53bbd61ca8daf64d56919e79d81870355e/src/main/java/com/couchbase/client/CouchbaseClient.java#L909&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
(From then same revision linked to in the description).</comment>
                    <comment id="43731" author="mnunberg" created="Fri, 9 Nov 2012 22:50:36 -0600"  >I&amp;#39;ve actually revised the tests to work the way I needed them to.. (for some reason the observe in java is slower than I had hoped for, so I ended up making my own threaded contraption to solve this...) -- might this be a separate bug?&lt;br/&gt;
&lt;br/&gt;
anyway.. I&amp;#39;ve observed duplicate behavior:&lt;br/&gt;
&lt;br/&gt;
Basically, many of the times, the stale test fails, returning *exactly* half of the keys in the view.&lt;br/&gt;
&lt;br/&gt;
Maybe my cluster config is funky, but this is doubtful..&lt;br/&gt;
&lt;br/&gt;
Anyway, we&amp;#39;ll file a cluster bug with a 100% certainty that this is a client issue.&lt;br/&gt;
&lt;br/&gt;
btw, I&amp;#39;d actually advocate keeping the threaded contraption there (in the commit I accidentally saved it as a single worker, might want to bump it up)..&lt;br/&gt;
&lt;br/&gt;
Placing load on the server (i.e. by using multiple setter threads) seems to highlight this issue.. and I have a feeling it&amp;#39;s a lag/race condition sort of thing.&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;https://github.com/mnunberg/couchbase-java-client/commit/3d788ab9d3a88c1dc20717c4dd110e3a8bb5f5bc&quot;&gt;https://github.com/mnunberg/couchbase-java-client/commit/3d788ab9d3a88c1dc20717c4dd110e3a8bb5f5bc&lt;/a&gt;</comment>
                    <comment id="43732" author="mnunberg" created="Fri, 9 Nov 2012 22:55:10 -0600"  >java.lang.AssertionError: expected:&amp;lt;500&amp;gt; but was:&amp;lt;180&amp;gt;&lt;br/&gt;
	at org.junit.Assert.fail(Assert.java:91)&lt;br/&gt;
	at org.junit.Assert.failNotEquals(Assert.java:645)&lt;br/&gt;
	at org.junit.Assert.assertEquals(Assert.java:126)&lt;br/&gt;
	at org.junit.Assert.assertEquals(Assert.java:470)&lt;br/&gt;
	at org.junit.Assert.assertEquals(Assert.java:454)&lt;br/&gt;
	at com.couchbase.client.ViewTest.testObserveWithStaleFalse(ViewTest.java:839)&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:616)&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.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)&lt;br/&gt;
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)&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.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)&lt;br/&gt;
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)&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;
</comment>
                    <comment id="43883" author="ingenthr" created="Tue, 13 Nov 2012 07:52:00 -0600"  >Note that this one is being worked by the server team, since it looks like a server issue.  No action needed here at the moment.</comment>
                    <comment id="43970" author="daschl" created="Wed, 14 Nov 2012 09:41:31 -0600"  >Is there a ticket we can link to?</comment>
                    <comment id="44399" author="ingenthr" created="Mon, 19 Nov 2012 23:20:08 -0600"  >Mike had been in here earlier today and thinks he knows where the issue is, so passing assignment to him.</comment>
                    <comment id="44524" author="daschl" created="Wed, 21 Nov 2012 05:21:18 -0600"  >Fixed and pushed to master, will be available in dp5!</comment>
                    <comment id="44533" author="daschl" created="Wed, 21 Nov 2012 07:21:56 -0600"  >Looks like this is still not solved, from time to time the test still shows missing documents!</comment>
                    <comment id="44840" author="daschl" created="Tue, 27 Nov 2012 07:31:48 -0600"  >Test case was flawed, now fixed and pushed.</comment>
                </comments>
                    <attachments>
                    <attachment id="15765" name="observe-test.php" size="2328" author="mnunberg" created="Fri, 9 Nov 2012 19:14:41 -0600" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>10131</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-141] Graceful Shutdown Test fails on dp4</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-141</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>The gracefulShutdown test on the CouchbaseClient fails.&lt;br/&gt;
&lt;br/&gt;
More inspection needed before we hit a stable release!</description>
                <environment></environment>
            <key id="20599">JCBC-141</key>
            <summary>Graceful Shutdown Test fails on dp4</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="daschl">Michael Nitschinger</reporter>
                        <labels>
                    </labels>
                <created>Wed, 7 Nov 2012 03:43:56 -0600</created>
                <updated>Mon, 3 Dec 2012 05:36:20 -0600</updated>
                    <resolved>Thu, 8 Nov 2012 02: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="43540" author="daschl" created="Thu, 8 Nov 2012 02:39:32 -0600"  >I quickly re-checked and it works on master. Instead, some of the observe tests fail for which I&amp;#39;ll reopen a new JCBC 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>11309</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-139] &apos;delete &amp; persist&apos; and&apos; delete, persist and replicate&apos;  functionalities not supported in 1.1-dp3 SDK.</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-139</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>couchbase-sdk-java-1.0 Manual has presented the usage specific to the &amp;#39;delete &amp;amp; persist&amp;#39; and&amp;#39; delete, persist and replicate&amp;#39; functionalities but the SDK API&amp;#39;s dont support this functionality due to an ongoing defect in the the couchbase server. Similar issue is there with the &amp;#39;set and persist&amp;#39; and &amp;#39;set and replicate&amp;#39; functionalities.&lt;br/&gt;
The manual needs to be updated accordingly. </description>
                <environment></environment>
            <key id="20597">JCBC-139</key>
            <summary>&apos;delete &amp; persist&apos; and&apos; delete, persist and replicate&apos;  functionalities not supported in 1.1-dp3 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="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>Wed, 7 Nov 2012 01:44:48 -0600</created>
                <updated>Wed, 14 Nov 2012 05:58:55 -0600</updated>
                    <resolved>Wed, 14 Nov 2012 05:58:55 -0600</resolved>
                            <version>1.1-dp3</version>
                                <fixVersion>1.1-beta</fixVersion>
                                <component>docs</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="43456" author="deeptida" created="Wed, 7 Nov 2012 01:46:42 -0600"  >The Github link for reference, depicting this change is as follows -&lt;br/&gt;
&lt;a href=&quot;https://github.com/couchbase/couchbase-java-client/commit/f5603e21c7cbf94d4804e01688c1160375dae418&quot;&gt;https://github.com/couchbase/couchbase-java-client/commit/f5603e21c7cbf94d4804e01688c1160375dae418&lt;/a&gt;</comment>
                    <comment id="43960" author="daschl" created="Wed, 14 Nov 2012 05:58:55 -0600"  >Pulled into the main repo by the docs team, will be available in a few minutes in the official docs.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>10617</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-136] Add support for spatial view queries</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-136</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>Add query support for spatial views.</description>
                <environment></environment>
            <key id="20465">JCBC-136</key>
            <summary>Add support for spatial view queries</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, 29 Oct 2012 10:50:59 -0500</created>
                <updated>Mon, 3 Dec 2012 05:36:20 -0600</updated>
                    <resolved>Wed, 21 Nov 2012 00:21:11 -0600</resolved>
                            <version>1.1-dp3</version>
                <version>1.1-dp4</version>
                                <fixVersion>1.1-beta</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="43376" author="daschl" created="Tue, 6 Nov 2012 07:52:40 -0600"  >&lt;a href=&quot;http://review.couchbase.org/#/c/22308/&quot;&gt;http://review.couchbase.org/#/c/22308/&lt;/a&gt;</comment>
                    <comment id="44060" author="daschl" created="Thu, 15 Nov 2012 06:07:55 -0600"  >Update: &lt;a href=&quot;http://review.couchbase.org/#/c/22563/&quot;&gt;http://review.couchbase.org/#/c/22563/&lt;/a&gt;</comment>
                    <comment id="44512" author="daschl" created="Wed, 21 Nov 2012 00:21:11 -0600"  >Implemented and pushed to master, will be available in dp5.</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10000">
                <name>Dependency</name>
                                                <inwardlinks description="blocks">
                            <issuelink>
            <issuekey id="20718">JCBC-146</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>10077</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-133] ViewFuture timeout not passed through to multiget</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-133</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>In the ViewFuture, the get() method accepts a timeout but it is not passed down to the mutligetRef call (which would also accept one). In this case, some operations may be stuck in there for longer than needed.&lt;br/&gt;
&lt;br/&gt;
Here is a potential fix that came up:&lt;br/&gt;
&lt;br/&gt;
com.couchbase.client.internal.ViewFuture.java&lt;br/&gt;
public ViewResponse get(long duration, TimeUnit unit)&lt;br/&gt;
throws InterruptedException, ExecutionException, TimeoutException {&lt;br/&gt;
....&lt;br/&gt;
Map&amp;lt;String, Object&amp;gt; docMap = multigetRef.get().get(); =&amp;gt; Map&amp;lt;String, Object&amp;gt; docMap = multigetRef.get(duration, units);&lt;br/&gt;
Final ViewResponseWithDocs view = (ViewResponseWithDocs) objRef.get();&lt;br/&gt;
Collection&amp;lt;ViewRow&amp;gt; rows = new LinkedList&amp;lt;ViewRow&amp;gt;();&lt;br/&gt;
...</description>
                <environment></environment>
            <key id="20327">JCBC-133</key>
            <summary>ViewFuture timeout not passed through to multiget</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="2">Won&apos;t Fix</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="daschl">Michael Nitschinger</reporter>
                        <labels>
                    </labels>
                <created>Fri, 19 Oct 2012 03:36:09 -0500</created>
                <updated>Tue, 6 Nov 2012 03:49:31 -0600</updated>
                    <resolved>Tue, 6 Nov 2012 03:49:26 -0600</resolved>
                            <version>1.1-dp3</version>
                                <fixVersion>1.1-beta</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="43371" author="daschl" created="Tue, 6 Nov 2012 03:49:26 -0600"  >We already use a timeout in there.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>11498</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 sample on how to reproduce it, but I&amp;#39;m adding a correct test case to the code as well (the view used is just the default &amp;quot;emit key and null&amp;quot; view with no reduce).&lt;br/&gt;
&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.protocol.views.Query;&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;
import java.io.IOException;&lt;br/&gt;
import java.net.URI;&lt;br/&gt;
import java.util.Arrays;&lt;br/&gt;
import java.util.Date;&lt;br/&gt;
import java.util.Iterator;&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
public class BinaryviewTest {&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;/**&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;* @param args the command line arguments&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;*/&lt;br/&gt;
&amp;nbsp;&amp;nbsp;public static void main(String[] args) throws IOException {&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// Initialize Connection&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;CouchbaseClient cb = new CouchbaseClient(&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;new CouchbaseConnectionFactory(&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Arrays.asList(&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;URI.create(&amp;quot;&lt;a href=&quot;http://192.168.1.105:8091/pools&quot;&gt;http://192.168.1.105: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;),&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;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;);&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// Store binary objects&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Object ob1 = new Date();&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;cb.set(&amp;quot;date1&amp;quot;, 0, ob1);&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Object result = cb.get(&amp;quot;date1&amp;quot;);&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;System.out.println(result.getClass());&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Query query = new Query();&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;query.setIncludeDocs(true);&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;View view = cb.getView(&amp;quot;testing&amp;quot;, &amp;quot;binary&amp;quot;);&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ViewResponse response = cb.query(view, query);&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Iterator&amp;lt;ViewRow&amp;gt; iterator = response.iterator();&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ViewRow row;&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;while(iterator.hasNext()) {&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;row = iterator.next();&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Object obj = row.getDocument();&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;System.out.println(obj.getClass());&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;cb.shutdown();&lt;br/&gt;
&amp;nbsp;&amp;nbsp;}&lt;br/&gt;
}&lt;br/&gt;
&lt;br/&gt;
When run two times, this raises the exception as described here: &lt;a href=&quot;http://www.couchbase.com/forums/thread/couchbase-2-view-non-json-docs&quot;&gt;http://www.couchbase.com/forums/thread/couchbase-2-view-non-json-docs&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
I&amp;#39;ll update it when I have the fix and test ready.</comment>
                    <comment id="40189" author="daschl" created="Wed, 3 Oct 2012 07:23:55 -0500"  >See &lt;a href=&quot;http://review.couchbase.com/#/c/21305/&quot;&gt;http://review.couchbase.com/#/c/21305/&lt;/a&gt;</comment>
                    <comment id="43537" author="daschl" created="Thu, 8 Nov 2012 01:52:31 -0600"  >pushed to master, will be available in dp5.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8669</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-124] Cannot operate on keys with spaces in them</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-124</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>The other clients allows keys with spaces in them, such as &amp;quot;test key&amp;quot;, but there is no way to operate on these using the Java client.&lt;br/&gt;
&lt;br/&gt;
myclient.set(&amp;quot;test key&amp;quot;, 0, &amp;quot;test value&amp;quot;); &lt;br/&gt;
&lt;br/&gt;
java.lang.IllegalArgumentException: Key contains invalid characters:  ``test key&amp;#39;&amp;#39;&lt;br/&gt;
	at net.spy.memcached.util.StringUtils.validateKey(StringUtils.java:79)&lt;br/&gt;
	at net.spy.memcached.MemcachedConnection.enqueueOperation(MemcachedConnection.java:639)&lt;br/&gt;
	at net.spy.memcached.MemcachedClient.asyncStore(MemcachedClient.java:300)&lt;br/&gt;
	at net.spy.memcached.MemcachedClient.set(MemcachedClient.java:733)</description>
                <environment></environment>
            <key id="20034">JCBC-124</key>
            <summary>Cannot operate on keys with spaces in them</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="aaron">Aaron Miller</reporter>
                        <labels>
                    </labels>
                <created>Tue, 2 Oct 2012 19:20:26 -0500</created>
                <updated>Tue, 9 Oct 2012 15:14:56 -0500</updated>
                    <resolved>Tue, 9 Oct 2012 15:14:56 -0500</resolved>
                                            <fixVersion>1.1-beta</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="40441" author="ingenthr" created="Thu, 4 Oct 2012 17:53:42 -0500"  >At the moment, we&amp;#39;ll need to see if allowing keys with spaces are intended to be supported.  Earlier discussion with folks indicated it was not intended to be supported.</comment>
                    <comment id="40520" author="aaron" created="Fri, 5 Oct 2012 12:49:02 -0500"  >Well, this is really an issue with spymemcached, as it&amp;#39;s incorrectly applying ASCII protocol key restrictions over binary protocol.&lt;br/&gt;
&lt;br/&gt;
If we have extra key restrictions in Couchbase, those should probably be handled in the Couchbase client. I believe the approach we&amp;#39;re using in Couchbase was that you could -insert- whatever you want, since there are lots of memcached clients out there that will be used, and community libraries and such, and that UTF-8 keys were required for your item to be picked up by views.&lt;br/&gt;
&lt;br/&gt;
As it stands today the libcouchbase-based clients can insert items that the java client cannot touch, which makes using the java client with other clients in the same system very likely to cause frustration if they run into this problem.</comment>
                    <comment id="40597" author="daschl" created="Mon, 8 Oct 2012 05:15:12 -0500"  >&lt;a href=&quot;http://review.couchbase.com/#/c/21323/&quot;&gt;http://review.couchbase.com/#/c/21323/&lt;/a&gt;&lt;br/&gt;
That&amp;#39;s a good one Aaron, I&amp;#39;ll test that and abandon my changeset.</comment>
                    <comment id="40635" author="mikew" created="Mon, 8 Oct 2012 12:17:02 -0500"  >Aaron,&lt;br/&gt;
&lt;br/&gt;
This has been an open argument on the Java SDK for some time. The reason that we don&amp;#39;t allow spaces in the key names is so that Java users can switch between ascii and binary connections and still have their applications function correctly. I think the correct thing to do here would be to add an option in the connection factory to enable the use of keys with spaces in binary protocol.</comment>
                    <comment id="40645" author="aaron" created="Mon, 8 Oct 2012 12:53:31 -0500"  >That seems silly, because as it stands right now they cannot switch from another language to Java and have it work correctly, nor do what I&amp;#39;m trying to do, which is attempting to interoperate with another piece of software that I did not write that uses a different language&amp;#39;s SDK, since the other language SDKs allow spaces. Once we have a JRuby client based on this java client ready, they wouldn&amp;#39;t even be able to switch from Ruby to JRuby. &lt;br/&gt;
&lt;br/&gt;
I don&amp;#39;t see a compelling reason for the Java client to behave differently from other clients, and if somebody is tripped up in this manner the fix would be simply to use the binary protocol. It doesn&amp;#39;t seem worth breaking interoperability over.</comment>
                    <comment id="40859" author="mikew" created="Tue, 9 Oct 2012 15:14:56 -0500"  >Duplicate of &lt;a href=&quot;http://www.couchbase.com/issues/browse/SPY-63&quot; title=&quot;client should allow full fidelity Java String when using binary protocol&quot;&gt;&lt;strike&gt;SPY-63&lt;/strike&gt;&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>11310</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-123] ArrayOutOfBounds exception during failover</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-123</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>While running a sequence of getsAsync operations, the entry point/bootstrap node is failed over. The output follows&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
Exception in thread &amp;quot;SDK Handle-8&amp;quot; java.lang.ArrayIndexOutOfBoundsException: -1&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at java.util.ArrayList.elementData(ArrayList.java:338)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at java.util.ArrayList.get(ArrayList.java:351)&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.getServer(DefaultConfig.java:81)&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.getPrimary(VBucketNodeLocator.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.CouchbaseConnection.addOperation(CouchbaseConnection.java:144)&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.asyncGets(MemcachedClient.java:888)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at net.spy.memcached.MemcachedClient.asyncGets(MemcachedClient.java:902)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.couchbase.sdkd.cbclient.GetCommandContext.doOneCommand(GetCommandContext.java:60)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.couchbase.sdkd.cbclient.CommandContext.execute(CommandContext.java:266)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.couchbase.sdkd.server.SdkServer.executeCommand(SdkServer.java:114)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.couchbase.sdkd.server.SdkServer.handleRequest(SdkServer.java:133)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.couchbase.sdkd.server.SdkServer.run(SdkServer.java:187)&lt;br/&gt;
</description>
                <environment></environment>
            <key id="20028">JCBC-123</key>
            <summary>ArrayOutOfBounds exception during failover</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="mnunberg">Mark Nunberg</reporter>
                        <labels>
                    </labels>
                <created>Tue, 2 Oct 2012 16:24:27 -0500</created>
                <updated>Mon, 3 Dec 2012 05:36:20 -0600</updated>
                    <resolved>Fri, 9 Nov 2012 10:16:55 -0600</resolved>
                            <version>1.0.3</version>
                                <fixVersion>1.1-beta</fixVersion>
                                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="40561" author="ingenthr" created="Fri, 5 Oct 2012 17:21:45 -0500"  >This may fall into rewriting the configuration handling.  I&amp;#39;ll discuss this more with Michael as needed.</comment>
                    <comment id="41361" author="daschl" created="Mon, 15 Oct 2012 09:53:10 -0500"  >Hey Mark,&lt;br/&gt;
&lt;br/&gt;
can you check if this also happens against the dp3 release? I saw that the sdkd-java builds against the stable release.&lt;br/&gt;
&lt;br/&gt;
Thanks!</comment>
                    <comment id="43554" author="daschl" created="Thu, 8 Nov 2012 07:00:46 -0600"  >Tracked here: &lt;a href=&quot;http://review.couchbase.org/#/c/22352/&quot;&gt;http://review.couchbase.org/#/c/22352/&lt;/a&gt;</comment>
                    <comment id="43651" author="daschl" created="Fri, 9 Nov 2012 10:16:55 -0600"  >An exception is now raised, because a vbucket master of -1 means that no server is able to respond for the given key. This is a strong indication of data loss. This could be the case because no replica was defined and a node was failed over or more nodes have been failed over than replicas defined.&lt;br/&gt;
&lt;br/&gt;
Either way, the client itself has no chance of dealing with the situation and therefore populates a controlled exception up to the caller.&lt;br/&gt;
&lt;br/&gt;
The fix has been pushed to master and will be available in dp5.</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10001">
                <name>Duplicate</name>
                                                <inwardlinks description="is duplicated by">
                            <issuelink>
            <issuekey id="16995">JCBC-46</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>10096</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-122] Unit tests are broken</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-122</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>The new test admin interface that was added does not work at all for me when I try to run the unit tests. Server reports 503 errors when trying to recreate a bucket. I suspect this is because we try to do things when the bucket is not fully created yet.</description>
                <environment></environment>
            <key id="19972">JCBC-122</key>
            <summary>Unit tests are broken</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="mikew">Mike Wiederhold</assignee>
                                <reporter username="mikew">Mike Wiederhold</reporter>
                        <labels>
                    </labels>
                <created>Fri, 28 Sep 2012 14:23:48 -0500</created>
                <updated>Mon, 3 Dec 2012 05:36:19 -0600</updated>
                    <resolved>Thu, 8 Nov 2012 01:40:21 -0600</resolved>
                                            <fixVersion>1.1-beta</fixVersion>
                                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="41471" author="daschl" created="Tue, 16 Oct 2012 06:49:40 -0500"  >Hey Mike,&lt;br/&gt;
&lt;br/&gt;
is this still relevant or how can I reproduce this?&lt;br/&gt;
&lt;br/&gt;
Thanks ;)</comment>
                    <comment id="41500" author="mikew" created="Tue, 16 Oct 2012 12:08:56 -0500"  >Yes this is still a valid issue, but it has to do with the fact that we don&amp;#39;t handle bucket creation and deletion properly in the tests. Part of the problem here is also the server. Please work on your other issues and we can discuss this later.</comment>
                    <comment id="43369" author="daschl" created="Tue, 6 Nov 2012 03:35:50 -0600"  >tracked here: &lt;a href=&quot;http://review.couchbase.com/#/c/22058/&quot;&gt;http://review.couchbase.com/#/c/22058/&lt;/a&gt;</comment>
                    <comment id="43535" author="daschl" created="Thu, 8 Nov 2012 01:40:21 -0600"  >Has been pushed to master, will be available in dp5.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>8668</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-118] Improve the docs for observe around the ReplicateTo flag</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-118</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>&lt;br/&gt;
See the comment to my response of this question.&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;http://stackoverflow.com/questions/12521102/in-couchbases-observe-feature-what-is-the-difference-between-persistto-and/12521346#comment16856063_12521346&quot;&gt;http://stackoverflow.com/questions/12521102/in-couchbases-observe-feature-what-is-the-difference-between-persistto-and/12521346#comment16856063_12521346&lt;/a&gt;&lt;br/&gt;
</description>
                <environment></environment>
            <key id="19873">JCBC-118</key>
            <summary>Improve the docs for observe around the ReplicateTo flag</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="rags">Raghavan Srinivas</assignee>
                                <reporter username="mikew">Mike Wiederhold</reporter>
                        <labels>
                    </labels>
                <created>Tue, 25 Sep 2012 01:56:20 -0500</created>
                <updated>Wed, 26 Sep 2012 10:04:29 -0500</updated>
                    <resolved>Wed, 26 Sep 2012 10:04:29 -0500</resolved>
                                            <fixVersion>1.1-beta</fixVersion>
                                <component>docs</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="39710" author="rags" created="Wed, 26 Sep 2012 10:04:29 -0500"  >I have generated a pull request to have this 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>11311</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-103] Java client 1.1-dp not returning documents when querying views</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-103</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>I&amp;#39;m using the Java 1.1-dp client to do queries against views. Setting query.setIncludeDocs(true) doesn&amp;#39;t actually result in the query ViewResponse having documents (ViewRow.getDocument() returns null).&lt;br/&gt;
&lt;br/&gt;
Digging into the code, it looks like that the Query class doesn&amp;#39;t actually set the &amp;quot;include_docs&amp;quot; parameter, nor does DocsOperationImpl.parseResult try to extract the &amp;quot;doc&amp;quot; element from the returned JSON.&lt;br/&gt;
&lt;br/&gt;
Is this deliberate? Or am I missing something? I&amp;#39;d really prefer not having to make a separate call to get the docs while iterating through a ViewResponse.</description>
                <environment>OSX&lt;br/&gt;
Couchbase Server 2.0.0dp4r-730-rel&lt;br/&gt;
Java client 1.1-dp</environment>
            <key id="19202">JCBC-103</key>
            <summary>Java client 1.1-dp not returning documents when querying 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="6" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="5">Cannot Reproduce</resolution>
                    <security id="10011">Public</security>
                        <assignee username="daschl">Michael Nitschinger</assignee>
                                <reporter username="Tim Pedersen">Tim Pedersen</reporter>
                        <labels>
                    </labels>
                <created>Mon, 20 Aug 2012 20:50:14 -0500</created>
                <updated>Tue, 9 Oct 2012 03:34:20 -0500</updated>
                    <resolved>Tue, 9 Oct 2012 03:34:16 -0500</resolved>
                            <version>1.1dp</version>
                                <fixVersion>1.1-beta</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="36186" author="Tim Pedersen" created="Mon, 20 Aug 2012 22:04:05 -0500"  >This issue is caused when I use CouchbaseConnectionFactoryBuilder to create clients. See &lt;a href=&quot;http://www.couchbase.com/issues/browse/JCBC-102&quot; title=&quot;Client.get() returns null values when using CouchbaseConnectionFactoryBuilder&quot;&gt;&lt;strike&gt;JCBC-102&lt;/strike&gt;&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
If I use CouchbaseConnectionFactory instead ViewRow.getDocument() returns the document correctly.&lt;br/&gt;
i.e: &lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;URI base = new URI(String.format(&amp;quot;&lt;a href=&quot;http://%s:8091/pools&quot;&gt;http://%s:8091/pools&lt;/a&gt;&amp;quot;, server));&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;List&amp;lt;URI&amp;gt; baseURIs = new ArrayList&amp;lt;URI&amp;gt;();&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;baseURIs.add(base);&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;CouchbaseConnectionFactoryBuilder cfb = new CouchbaseConnectionFactoryBuilder();&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;cfb.setOpTimeout(10000);&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;cfb.setOpQueueMaxBlockTime(10000);&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;CouchbaseConnectionFactory cf = cfb.buildCouchbaseConnection(baseURIs, bucket, &amp;quot;&amp;quot;, &amp;quot;&amp;quot;);&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;CouchbaseClient client = new CouchbaseClient(cf);&lt;br/&gt;
&amp;nbsp;&amp;nbsp;//...   &lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;View view = client.getView(myDesignDoc, myView);&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;Query query = new Query();&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;query.setRange(start, end);&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;query.setIncludeDocs(true);&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;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;for(ViewRow viewRow:viewResponse){&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;String id = viewRow.getId(); // id ok&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;String key = viewRow.getKey(); // key ok&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;String value = viewRow.getValue(); // value ok&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;String doc = (String) viewRow.getDocument(); // doc is 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;}&lt;br/&gt;
&lt;br/&gt;
VERSUS:  &lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;URI base = new URI(String.format(&amp;quot;&lt;a href=&quot;http://%s:8091/pools&quot;&gt;http://%s:8091/pools&lt;/a&gt;&amp;quot;, server)); &lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;List&amp;lt;URI&amp;gt; baseURIs = new ArrayList&amp;lt;URI&amp;gt;(); &lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;baseURIs.add(base); &lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;CouchbaseConnectionFactory cf = new CouchbaseConnectionFactory(baseURIs, bucket, &amp;quot;&amp;quot;); &lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;CouchbaseClient client = new CouchbaseClient(cf); &lt;br/&gt;
&amp;nbsp;//...   &lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;View view = client.getView(myDesignDoc, myView);&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;Query query = new Query();&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;query.setRange(start, end);&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;query.setIncludeDocs(true);&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;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;for(ViewRow viewRow:viewResponse){&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;String id = viewRow.getId(); // id ok&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;String key = viewRow.getKey(); // key ok&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;String value = viewRow.getValue(); // value ok&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;String doc = (String) viewRow.getDocument(); // doc ok&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;
&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
</comment>
                    <comment id="40319" author="daschl" created="Thu, 4 Oct 2012 04:13:36 -0500"  >I&amp;#39;m also not able to reproduce this agains the master branch and the beta release of Couchbase Server 2.0 beta.&lt;br/&gt;
&lt;br/&gt;
I tested it against the beer sample, can you check if this works for you or not?&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;CouchbaseConnectionFactoryBuilder cfb = new CouchbaseConnectionFactoryBuilder();&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;cfb.setOpTimeout(10000);&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;cfb.setOpQueueMaxBlockTime(10000);&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;CouchbaseConnectionFactory cf = cfb.buildCouchbaseConnection(Arrays.asList(&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;URI.create(&amp;quot;&lt;a href=&quot;http://&amp;lt;HOST&amp;gt;:8091/pools&quot;&gt;http://&amp;amp;lt;HOST&amp;amp;gt;:8091/pools&lt;/a&gt;&amp;quot;)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;), &amp;quot;beer-sample&amp;quot;, &amp;quot;&amp;quot;);&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;CouchbaseClient client = new CouchbaseClient(cf);&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Query query = new Query().setIncludeDocs(true);&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;View view = client.getView(&amp;quot;beer&amp;quot;, &amp;quot;brewery_beers&amp;quot;);&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ViewResponse response = client.query(view, query);&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;for(ViewRow row : response) {&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;System.out.println(row.getDocument());&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;client.shutdown();</comment>
                    <comment id="40776" author="daschl" created="Tue, 9 Oct 2012 03:33:59 -0500"  >Since this ticket is older and I couldn&amp;#39;t reproduce it with the information provided, I&amp;#39;ll close this ticket.&lt;br/&gt;
&lt;br/&gt;
If you still encounter this issue with the current release, feel free to reopen this ticket or a new one.&lt;br/&gt;
&lt;br/&gt;
Thanks,&lt;br/&gt;
Michael</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>11501</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-100] view query handling should be more reliable, have better error handling</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-100</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>In sections of CouchbaseClient, like asyncQueryAndIncludeDocs(), the error handling for views and queries is currently a set of assertions.  This section should be more reliable, perhaps throw a checked exception from initially referencing the view and a runtime exception from queries which find views don&amp;#39;t exist.</description>
                <environment></environment>
            <key id="19155">JCBC-100</key>
            <summary>view query handling should be more reliable, have better error handling</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="ingenthr">Matt Ingenthron</reporter>
                        <labels>
                    </labels>
                <created>Sat, 18 Aug 2012 23:57:02 -0500</created>
                <updated>Wed, 17 Oct 2012 14:49:09 -0500</updated>
                    <resolved>Tue, 9 Oct 2012 13:20:06 -0500</resolved>
                            <version>1.1dp2</version>
                <version>1.1.0</version>
                                <fixVersion>1.1-beta</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="40331" author="daschl" created="Thu, 4 Oct 2012 05:58:37 -0500"  >This issue is handled in changeset &lt;a href=&quot;http://review.couchbase.com/#/c/21338/&quot;&gt;http://review.couchbase.com/#/c/21338/&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>8655</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-99] Java 1.1 DP exception on failed auth</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-99</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>Stack trace attached.  Looks like a few different failures around multi-gets, there are some incomplete binary ops and failed authentications (alongside successful authentications, so I presume the user/pass is actually correct).</description>
                <environment></environment>
            <key id="19068">JCBC-99</key>
            <summary>Java 1.1 DP exception on failed auth</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="4">Incomplete</resolution>
                    <security id="10011">Public</security>
                        <assignee username="ingenthr">Matt Ingenthron</assignee>
                                <reporter username="perry">Perry Krug</reporter>
                        <labels>
                    </labels>
                <created>Thu, 16 Aug 2012 08:28:58 -0500</created>
                <updated>Tue, 13 Nov 2012 09:07:45 -0600</updated>
                    <resolved>Tue, 13 Nov 2012 09:07:45 -0600</resolved>
                            <version>1.1dp2</version>
                                <fixVersion>1.1-beta</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="43656" author="daschl" created="Fri, 9 Nov 2012 10:38:14 -0600"  >Perry, do you have code around this stack trace?&lt;br/&gt;
&lt;br/&gt;
I wonder whats going on here because of so many connects and reconnects - I guess the failed bulk get has to do with it.&lt;br/&gt;
&lt;br/&gt;
The problem is that - at least to me - the stack trace doesn&amp;#39;t show much information that hints to a defect in the SDK. If you have more meat I&amp;#39;ll be happy to look at it!</comment>
                    <comment id="43888" author="daschl" created="Tue, 13 Nov 2012 08:48:04 -0600"  >Hey,&lt;br/&gt;
&lt;br/&gt;
Perry told me that he has not more information regarding this ticket. To me this doesn&amp;#39;t look like an issue in the first place, more like a weird network thing.&lt;br/&gt;
&lt;br/&gt;
I&amp;#39;d like to close it and reopen it when a specific issue pops up, but feel free to pass it back to me when you think we need to take action on this. Thanks!</comment>
                    <comment id="43890" author="ingenthr" created="Tue, 13 Nov 2012 09:07:45 -0600"  >Unfortunately, there&amp;#39;s not enough info here to indicate an issue.  If more info becomes available, please re-open.</comment>
                </comments>
                    <attachments>
                    <attachment id="14361" name="couchbasetrace.txt" size="21593" author="perry" created="Thu, 16 Aug 2012 08:28:58 -0500" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>10651</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-98] Multiple exceptions thrown on Shutdown()</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-98</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>The following exceptions are thrown when a CouchbaseClient calls shutdown()&lt;br/&gt;
&lt;br/&gt;
java.io.IOException: No IO while shut down&lt;br/&gt;
at net.spy.memcached.MemcachedConnection.handleIO(MemcachedConnection.java:201)&lt;br/&gt;
at com.couchbase.client.CouchbaseConnection.run(CouchbaseConnection.java:230) &lt;br/&gt;
&lt;br/&gt;
This can easily be seen when logging is enabled.</description>
                <environment></environment>
            <key id="19028">JCBC-98</key>
            <summary>Multiple exceptions thrown on Shutdown()</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="james.mauss">James Mauss</reporter>
                        <labels>
                    </labels>
                <created>Tue, 14 Aug 2012 18:32:10 -0500</created>
                <updated>Mon, 3 Dec 2012 05:36:19 -0600</updated>
                    <resolved>Fri, 9 Nov 2012 10:25:48 -0600</resolved>
                                            <fixVersion>1.1-beta</fixVersion>
                                                <votes>0</votes>
                        <watches>1</watches>
                                                    <comments>
                    <comment id="43559" author="daschl" created="Thu, 8 Nov 2012 07:51:15 -0600"  >In general, this kind of exception thrown during shutdown is fine and is only logged in debug mode.&lt;br/&gt;
&lt;br/&gt;
Matt, I see two options here:&lt;br/&gt;
&lt;br/&gt;
- Leave it as is, the exception is only logged as debug.&lt;br/&gt;
&lt;br/&gt;
- we wrap the run() loop currently with if(!reconfiguring), maybe wen can also add &amp;amp;&amp;amp; !shutDown? Or does this infer with the shutdown procedure?&lt;br/&gt;
&lt;br/&gt;
Thanks,&lt;br/&gt;
Michael</comment>
                    <comment id="43571" author="ingenthr" created="Thu, 8 Nov 2012 12:39:13 -0600"  >I think the current behavior is correct.  We want our IO thread to not do any new IO while shutting down.  Someone called shutdown either immediate, or with a time value and there was more IO to be done, so we&amp;#39;re logging that we&amp;#39;re not doing it.</comment>
                    <comment id="43653" author="daschl" created="Fri, 9 Nov 2012 10:25:48 -0600"  >I&amp;#39;m closing this after discussion that the current behavior is correct.&lt;br/&gt;
&lt;br/&gt;
IO during shutdown is not accepted but the log message should do no harm in that case. Thats why its printed as debug and not as a warning.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>10650</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-94] Shutdown function does not shutdown ViewConnection Thread</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-94</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>The patch (ViewConnection.java) in the bug &lt;a href=&quot;http://www.couchbase.com/issues/browse/JCBC-26&quot;&gt;http://www.couchbase.com/issues/browse/JCBC-26&lt;/a&gt; fixed the dead loop issue, but it introduced another Shutdown issue. &lt;br/&gt;
when calling the shutdown function of CouchbaseClient, it could not shutdown the thread of the ViewConnection.&lt;br/&gt;
&lt;br/&gt;
Public void run() {&lt;br/&gt;
While(running) {&lt;br/&gt;
If (!reconfiguring) {&lt;br/&gt;
Synchronized(threadLock)&lt;br/&gt;
{&lt;br/&gt;
Boolean hasOps = false;&lt;br/&gt;
While(!hasOps) { ==&amp;gt; While(!hasOps &amp;amp;&amp;amp; running)&lt;br/&gt;
For (viewNode node: couchNodes) {&lt;br/&gt;
If (node.hasWriteOps()) {&lt;br/&gt;
hasOps = true;&lt;br/&gt;
break;&lt;br/&gt;
}&lt;br/&gt;
}&lt;br/&gt;
......&lt;br/&gt;
If (!hasOps)&lt;br/&gt;
{&lt;br/&gt;
threadLock.wait();&lt;br/&gt;
}&lt;br/&gt;
}&lt;br/&gt;
}&lt;br/&gt;
If (running) {&lt;br/&gt;
handleIO();&lt;br/&gt;
}</description>
                <environment>1.0.3</environment>
            <key id="18784">JCBC-94</key>
            <summary>Shutdown function does not shutdown ViewConnection Thread</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>Thu, 2 Aug 2012 14:10:11 -0500</created>
                <updated>Mon, 3 Dec 2012 05:36:20 -0600</updated>
                    <resolved>Thu, 8 Nov 2012 02:35:48 -0600</resolved>
                                            <fixVersion>1.1-beta</fixVersion>
                                                <votes>0</votes>
                        <watches>1</watches>
                                                    <comments>
                    <comment id="39073" author="mikew" created="Fri, 14 Sep 2012 19:29:05 -0500"  >Duplicate of &lt;a href=&quot;http://www.couchbase.com/issues/browse/JCBC-96&quot; title=&quot;client IO thread is blocked by the fix applied for JCBC-20, doWrites() needs to put data somewhere for another thread to do the work&quot;&gt;&lt;strike&gt;JCBC-96&lt;/strike&gt;&lt;/a&gt;.</comment>
                    <comment id="40133" author="daschl" created="Tue, 2 Oct 2012 09:37:28 -0500"  >I guess there is something I need to look into - I&amp;#39;m going to verify that soon and report my findings!</comment>
                    <comment id="40185" author="daschl" created="Wed, 3 Oct 2012 05:45:11 -0500"  >I started tracking this down today. See the progress of it here: &lt;a href=&quot;http://review.couchbase.com/#/c/21301/&quot;&gt;http://review.couchbase.com/#/c/21301/&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
I&amp;#39;ll update this ticket as soon as the problem is reliably detected.</comment>
                    <comment id="43539" author="daschl" created="Thu, 8 Nov 2012 02:35:48 -0600"  >pushed to master, will be available in dp5.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>10646</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-92] Java error when a node is removed - need to check for pending state on a bucket</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-92</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>This is related to CBSE-187.&lt;br/&gt;
&lt;br/&gt;
While the test was running we removed a node from the cluster, there were failures due to operation cancelled and TimeoutException and the test didn&amp;#39;t continue.&lt;br/&gt;
Then we started the test again without adding back the removed node, it just threw:&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;java.lang.ArrayIndexOutOfBoundsException: -1&lt;br/&gt;
at java.util.ArrayList.get(Unknown Source)&lt;br/&gt;
at com.couchbase.client.vbucket.config.DefaultConfig.getServer(DefaultConfig.java:81)&lt;br/&gt;
at com.couchbase.client.vbucket.VBucketNodeLocator.getPrimary(VBucketNodeLocator.java:74)&lt;br/&gt;
at com.couchbase.client.CouchbaseConnection.addOperation(CouchbaseConnection.java:143)&lt;br/&gt;
at net.spy.memcached.MemcachedConnection.enqueueOperation(MemcachedConnection.java:639)&lt;br/&gt;
at net.spy.memcached.MemcachedClient.asyncStore(MemcachedClient.java:296)&lt;br/&gt;
at net.spy.memcached.MemcachedClient.set(MemcachedClient.java:727)&lt;br/&gt;
&amp;lt;supressed&amp;gt;</description>
                <environment></environment>
            <key id="18763">JCBC-92</key>
            <summary>Java error when a node is removed - need to check for pending state on a 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="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="rags">Raghavan Srinivas</assignee>
                                <reporter username="rags">Raghavan Srinivas</reporter>
                        <labels>
                    </labels>
                <created>Wed, 1 Aug 2012 15:03:19 -0500</created>
                <updated>Mon, 3 Dec 2012 05:36:19 -0600</updated>
                    <resolved>Fri, 9 Nov 2012 11:14:53 -0600</resolved>
                            <version>1.1dp</version>
                                <fixVersion>1.1-beta</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="43660" author="daschl" created="Fri, 9 Nov 2012 11:14:53 -0600"  >This is a duplicate of &lt;a href=&quot;http://www.couchbase.com/issues/browse/JCBC-123&quot; title=&quot;ArrayOutOfBounds exception during failover&quot;&gt;&lt;strike&gt;JCBC-123&lt;/strike&gt;&lt;/a&gt; which has been pushed to master recently.&lt;br/&gt;
&lt;br/&gt;
See the description of the ticket for more details.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>10645</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-91] NPE when using malformed URI</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-91</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>Caused by: java.lang.NullPointerException&lt;br/&gt;
at com.couchbase.client.CouchbaseConnectionFactory.getVBucketConfig(CouchbaseConnectionFactory.java:154)&lt;br/&gt;
at com.couchbase.client.CouchbaseClient.&amp;lt;init&amp;gt;(CouchbaseClient.java:156)&lt;br/&gt;
at com.couchbase.client.CouchbaseClient.&amp;lt;init&amp;gt;(CouchbaseClient.java:125)&lt;br/&gt;
at com.couchbase.client.CouchbaseClient.&amp;lt;init&amp;gt;(CouchbaseClient.java:77)&lt;br/&gt;
at com.playtika.pool.membase.MembasePool.start(MembasePool.java:55)&lt;br/&gt;
... 48 more&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
Would prefer a more meaningful error or exception to indicate that the URI was incorrect</description>
                <environment></environment>
            <key id="18754">JCBC-91</key>
            <summary>NPE when using malformed URI</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="rags">Raghavan Srinivas</assignee>
                                <reporter username="perry">Perry Krug</reporter>
                        <labels>
                    </labels>
                <created>Wed, 1 Aug 2012 10:03:21 -0500</created>
                <updated>Thu, 13 Sep 2012 22:54:13 -0500</updated>
                    <resolved>Thu, 13 Sep 2012 22:54:13 -0500</resolved>
                            <version>1.0.3</version>
                                <fixVersion>1.1-beta</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="38883" author="rags" created="Thu, 13 Sep 2012 22:54:13 -0500"  >Same as &lt;a href=&quot;http://www.couchbase.com/issues/browse/JCBC-18&quot; title=&quot;NPE if hostnames in server bootstrap list are mixed case&quot;&gt;JCBC-18&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>10156</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-90] Views force numeric strings to be intergers</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-90</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>When using a view that reads a string that starts with an integer: ie date:&lt;br/&gt;
2012-07-30T03:26:12+00:00&lt;br/&gt;
&lt;br/&gt;
From the client you are unable to request a startkey by year as it is sent as an integer in the URL request&lt;br/&gt;
query.setRangeStart(&amp;quot;2000&amp;quot;);&lt;br/&gt;
&lt;br/&gt;
This will be translated as:&lt;br/&gt;
startkey=2000&lt;br/&gt;
&lt;br/&gt;
But the request needs to be startkey=&amp;quot;2000&amp;quot; for the comparison to work against a stored string.&lt;br/&gt;
&lt;br/&gt;
This also causes requests for query.setRangeStart(&amp;quot;0000&amp;quot;); to fail as 0000 is not a valid number. &lt;br/&gt;
&lt;br/&gt;
The client should allow the developer to pick which JSON type they want to send.&lt;br/&gt;
&lt;br/&gt;
</description>
                <environment></environment>
            <key id="18736">JCBC-90</key>
            <summary>Views force numeric strings to be intergers</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="3">Duplicate</resolution>
                    <security id="10011">Public</security>
                        <assignee username="ingenthr">Matt Ingenthron</assignee>
                                <reporter username="james.mauss">James Mauss</reporter>
                        <labels>
                    </labels>
                <created>Tue, 31 Jul 2012 11:36:53 -0500</created>
                <updated>Thu, 4 Oct 2012 03:37:48 -0500</updated>
                    <resolved>Thu, 4 Oct 2012 03:37:48 -0500</resolved>
                                            <fixVersion>1.1-beta</fixVersion>
                                                <votes>1</votes>
                        <watches>1</watches>
                                                    <comments>
                    <comment id="35809" author="TimSmith" created="Fri, 17 Aug 2012 18:03:40 -0500"  >This is a duplicate of &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; .</comment>
                    <comment id="40317" author="daschl" created="Thu, 4 Oct 2012 03:37:32 -0500"  >I&amp;#39;ll close this because it is tracked through &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;.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>10076</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-86] Remove getHashAlgorithm and verify correct behavior of client</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-86</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>Current CacheConfig class has a getHashAlgorithm method and it seems to define native hash.  Since there don&amp;#39;t seem to be any uses of this, it should be removed or somehow refactored out.</description>
                <environment></environment>
            <key id="18561">JCBC-86</key>
            <summary>Remove getHashAlgorithm and verify correct behavior of client</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, 20 Jul 2012 11:41:20 -0500</created>
                <updated>Mon, 3 Dec 2012 05:36:20 -0600</updated>
                    <resolved>Wed, 21 Nov 2012 00:17:24 -0600</resolved>
                                            <fixVersion>1.1-beta</fixVersion>
                                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="44064" author="daschl" created="Thu, 15 Nov 2012 07:10:23 -0600"  >Investigations show that the getHashAlgorithm() is defined by the Cache interface, but actually never used throughout the codebase.&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&apos;mailto:michael@daschlbook&apos;&gt;michael@daschlbook&lt;/a&gt; ~/couchbase/couchbase-java-client $ grep -r &amp;#39;getHashAlgorithm()&amp;#39; src/*&lt;br/&gt;
src/main/java/com/couchbase/client/vbucket/config/CacheConfig.java:  public HashAlgorithm getHashAlgorithm() {&lt;br/&gt;
src/main/java/com/couchbase/client/vbucket/config/Config.java:  HashAlgorithm getHashAlgorithm();&lt;br/&gt;
src/main/java/com/couchbase/client/vbucket/config/DefaultConfig.java:  public HashAlgorithm getHashAlgorithm() {&lt;br/&gt;
&lt;br/&gt;
Also, the CacheConfig never makes use of its defined hashAlgorithm. Therefore we, can either remove it from the interface alltogether (the getter), or just throw an unsupported method from the config?</comment>
                    <comment id="44065" author="daschl" created="Thu, 15 Nov 2012 07:10:42 -0600"  >What do you think should we do in this case?</comment>
                    <comment id="44109" author="ingenthr" created="Thu, 15 Nov 2012 12:28:53 -0600"  >I&amp;#39;m good either removing it or having it throw something.  Your choice.</comment>
                    <comment id="44183" author="daschl" created="Fri, 16 Nov 2012 04:30:38 -0600"  >&lt;a href=&quot;http://review.couchbase.com/#/c/22586/&quot;&gt;http://review.couchbase.com/#/c/22586/&lt;/a&gt;</comment>
                    <comment id="44511" author="daschl" created="Wed, 21 Nov 2012 00:17:24 -0600"  >Fixed and merged into master. Will be available in dp5!</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>10643</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-84] We need more unit tests for views</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-84</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description></description>
                <environment></environment>
            <key id="18388">JCBC-84</key>
            <summary>We need more unit tests for 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>Thu, 12 Jul 2012 13:21:24 -0500</created>
                <updated>Thu, 8 Nov 2012 04:16:10 -0600</updated>
                    <resolved>Thu, 8 Nov 2012 04:16:10 -0600</resolved>
                                            <fixVersion>1.1-beta</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="37350" author="mikew" created="Thu, 30 Aug 2012 12:16:08 -0500"  >This bug may be vague, but I don&amp;#39;t think we should close it until we actually add more view tests to our unit testing. I constantly hear from the support team for example that users are sending valid queries that are put together incorrectly by the client. It is tests like these that should be added.</comment>
                    <comment id="38226" author="ingenthr" created="Mon, 10 Sep 2012 12:34:44 -0500"  >as part of &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;, etc. I&amp;#39;m adding a number of different query types, including complex queries.</comment>
                    <comment id="40334" author="daschl" created="Thu, 4 Oct 2012 07:15:05 -0500"  >I&amp;#39;ve been adding view tests here, are there some areas where we can improve further (or any scenarios that are not covered here):&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;http://review.couchbase.com/#/c/21338/&quot;&gt;http://review.couchbase.com/#/c/21338/&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://review.couchbase.com/#/c/21305/&quot;&gt;http://review.couchbase.com/#/c/21305/&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
Also I&amp;#39;ve been adding new ComplexKey and query unit tests here that should prove the correct functionality:&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;http://review.couchbase.com/#/c/21337/&quot;&gt;http://review.couchbase.com/#/c/21337/&lt;/a&gt;</comment>
                    <comment id="40574" author="mikew" created="Fri, 5 Oct 2012 18:47:34 -0500"  >This is great progress on this issue. Once you have figured out where we are lacking on testing for views feel free to close this and open up some more specific issues.</comment>
                    <comment id="40646" author="ingenthr" created="Mon, 8 Oct 2012 13:01:59 -0500"  >Would like Michael N. to open specific issues as recommended and then close this issue.</comment>
                    <comment id="43545" author="daschl" created="Thu, 8 Nov 2012 04:16:10 -0600"  >I think we are in pretty good shape with view tests now, since the query object is unit tested and we have view tests in place for (hopefully) all the params and also for observe-variations in combination with stale = false.&lt;br/&gt;
&lt;br/&gt;
If special issues come up we can reopen a specific issue for them as noted.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>10642</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-80] Add a unit/integration test validation of OBSERVE + view stale=false</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-80</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>Ensure that when a synchronous set is used with the new low-level observe, the index is fully updated when querying with stale=false.</description>
                <environment></environment>
            <key id="18337">JCBC-80</key>
            <summary>Add a unit/integration test validation of OBSERVE + view stale=false</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:21:57 -0500</created>
                <updated>Mon, 3 Dec 2012 05:36:19 -0600</updated>
                    <resolved>Tue, 9 Oct 2012 13:21:07 -0500</resolved>
                                            <fixVersion>1.1-beta</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="40779" author="daschl" created="Tue, 9 Oct 2012 05:48:32 -0500"  >&lt;a href=&quot;http://review.couchbase.com/#/c/21444/&quot;&gt;http://review.couchbase.com/#/c/21444/&lt;/a&gt;</comment>
                    <comment id="40780" author="daschl" created="Tue, 9 Oct 2012 05:50:01 -0500"  >In my tests while writing the integration test, I found that when using PersistTo.MASTER and ReplicateTo.ONE, all records were correctly returned.&lt;br/&gt;
&lt;br/&gt;
But  when I just use PersistTo.MASTER, only a subset is returned - I guess this should be investigated.</comment>
                    <comment id="43533" author="daschl" created="Thu, 8 Nov 2012 01:18:26 -0600"  >pushed to master, will be available in dp5.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>10641</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-78] Bucket management</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-78</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>Add the necessary features to create and remove buckets.  Also, add the ability to call the RESTful bucket flush.</description>
                <environment></environment>
            <key id="18335">JCBC-78</key>
            <summary>Bucket management</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="rags">Raghavan Srinivas</assignee>
                                <reporter username="ingenthr">Matt Ingenthron</reporter>
                        <labels>
                    </labels>
                <created>Thu, 12 Jul 2012 00:17:12 -0500</created>
                <updated>Fri, 14 Sep 2012 19:19:36 -0500</updated>
                    <resolved>Fri, 14 Sep 2012 19:19:36 -0500</resolved>
                                            <fixVersion>1.1-beta</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="39069" author="mikew" created="Fri, 14 Sep 2012 19:19:36 -0500"  >Duplicate of &lt;a href=&quot;http://www.couchbase.com/issues/browse/JCBC-64&quot; title=&quot;add APIs for creating and deleting buckets for CBS 2.0&quot;&gt;&lt;strike&gt;JCBC-64&lt;/strike&gt;&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>10638</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-77] Design document management, including error handling</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-77</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>Add the additional functionality needed to create and replace design documents.  This will likely be an extension on the Bucket class.</description>
                <environment></environment>
            <key id="18334">JCBC-77</key>
            <summary>Design document management, including 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="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="rags">Raghavan Srinivas</assignee>
                                <reporter username="ingenthr">Matt Ingenthron</reporter>
                        <labels>
                    </labels>
                <created>Thu, 12 Jul 2012 00:15:15 -0500</created>
                <updated>Fri, 14 Sep 2012 19:33:57 -0500</updated>
                    <resolved>Fri, 14 Sep 2012 19:33:57 -0500</resolved>
                                            <fixVersion>1.1-beta</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="39077" author="mikew" created="Fri, 14 Sep 2012 19:33:57 -0500"  >Duplicate of &lt;a href=&quot;http://www.couchbase.com/issues/browse/JCBC-63&quot; title=&quot;add APIs for creating and deleting design documents for CBS 2.0&quot;&gt;&lt;strike&gt;JCBC-63&lt;/strike&gt;&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>10637</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-66] PaginateQuery returns empty results when applying key filter</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-66</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>If the Query object has the &amp;quot;key&amp;quot; argument set then paginateQuery is returns empty results. It is is because of the below bug in copy() method in the Query class&lt;br/&gt;
&lt;br/&gt;
public Query copy() {&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Query query = new Query();&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;........&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if (args.containsKey(KEY)) {&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;query.setEndkeyDocID(((String)args.get(KEY)));&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;.......&lt;br/&gt;
}&lt;br/&gt;
&lt;br/&gt;
If you look the above code it is setting setEndkeyDocID() instead of setKey(). Can this be fixed asap instead of we trying to override the functionality, please? &lt;br/&gt;
&amp;nbsp;&lt;br/&gt;
Remember that the view can have duplicates so it is still applicable to have filters when we use paginateQuery.</description>
                <environment>Java Client library 1.1DP</environment>
            <key id="17851">JCBC-66</key>
            <summary>PaginateQuery returns empty results when applying key filter</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="vamsu">vamsi Guntuku</reporter>
                        <labels>
                        <label>2.0-dev-preview-4-release-notes</label>
                    </labels>
                <created>Sat, 16 Jun 2012 16:28:03 -0500</created>
                <updated>Wed, 3 Oct 2012 09:08:27 -0500</updated>
                    <resolved>Wed, 3 Oct 2012 09:08:11 -0500</resolved>
                            <version>1.1dp</version>
                                <fixVersion>1.1-beta</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>0</watches>
                          <timeoriginalestimate seconds="3600">1h</timeoriginalestimate>
                    <timeestimate seconds="3600">1h</timeestimate>
                                  <comments>
                    <comment id="40190" author="daschl" created="Wed, 3 Oct 2012 09:07:52 -0500"  >This has already been fixed on master!&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;https://github.com/couchbase/couchbase-java-client/blob/master/src/main/java/com/couchbase/client/protocol/views/Query.java#L183&quot;&gt;https://github.com/couchbase/couchbase-java-client/blob/master/src/main/java/com/couchbase/client/protocol/views/Query.java#L183&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
If you are still seeing this issue, please reopen the ticket and I&amp;#39;ll look into it again!</comment>
                    <comment id="40191" author="daschl" created="Wed, 3 Oct 2012 09:08:11 -0500"  >Already fixed in the master branch.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>11502</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-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-63] add APIs for creating and deleting design documents for CBS 2.0</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-63</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>There are have been several requests from users to have APIs to create and delete views from the Java (and other) SDKs. &lt;br/&gt;
This is a MUST have for some customers and needs to be a part of the Client SDK we release prior to Beta. </description>
                <environment></environment>
            <key id="17640">JCBC-63</key>
            <summary>add APIs for creating and deleting design documents for CBS 2.0</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="daschl">Michael Nitschinger</assignee>
                                <reporter username="dipti">Dipti Borkar</reporter>
                        <labels>
                    </labels>
                <created>Fri, 8 Jun 2012 01:31:51 -0500</created>
                <updated>Thu, 29 Nov 2012 02:58:04 -0600</updated>
                    <resolved>Thu, 29 Nov 2012 02:58:04 -0600</resolved>
                            <version>1.1dp</version>
                                <fixVersion>1.1-beta</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>2</watches>
                                                    <comments>
                    <comment id="29256" author="ingenthr" created="Fri, 8 Jun 2012 01:42:17 -0500"  >I&amp;#39;m in agreement.  One question is do we also want this API to be involved in the view materialization process.  I think the answer is probably yes, but this can be complicated since it can potentially take a very long time with little feedback.</comment>
                    <comment id="29260" author="dipti" created="Fri, 8 Jun 2012 01:57:16 -0500"  >When you say View materialization process? what exactly do you mean? given that index building happens at query time, I don&amp;#39;t think so. &lt;br/&gt;
&lt;br/&gt;
However, there are other APIs that may be more interesting to have. explicitly triggering compaction, configuring min time duration / min # of mutations to trigger index building. </comment>
                    <comment id="33832" author="ingenthr" created="Tue, 24 Jul 2012 01:38:43 -0500"  >What I mean by the view materialization process is that we, in the web console, have this flow where we advise people to take their &amp;quot;dev_aview&amp;quot; and run a full cluster dataset query on it before publishing it to production.  This way, when it&amp;#39;s published as &amp;quot;aview&amp;quot;, the view will have been mostly materialized.  It&amp;#39;s a nice thing for updating a view.&lt;br/&gt;
&lt;br/&gt;
The reason this is complicated is that it&amp;#39;s an HTTP request that may go for a very long, long time.  I can think of a way around it (poll it with a timeout until it&amp;#39;s fast), but it&amp;#39;s suboptimal unless we start querying view materialization progress.</comment>
                    <comment id="36906" author="daschl" created="Sun, 26 Aug 2012 07:31:16 -0500"  >Matt, what if we wait for it in a separate thread and return with a future when it&amp;#39;s done? We just need to make the user aware that it can take a long time, and if they add a view for development that they&amp;#39;d have to publish it separately.&lt;br/&gt;
&lt;br/&gt;
Another idea would be to make the &amp;quot;let&amp;#39;s do a full dataset query&amp;quot; optional when the view gets published since someone may want to do that later or from the web-ui.</comment>
                    <comment id="36909" author="ingenthr" created="Sun, 26 Aug 2012 12:59:48 -0500"  >Michael: that&amp;#39;s effectively what we do right now since it&amp;#39;s the query against the view that takes a long time.  The design document management operations do not.  The view requests are not quite done asynchronously, that&amp;#39;s true.&lt;br/&gt;
&lt;br/&gt;
The main point I was raising was that the Web Console provides for functionality to execute a view before pushing it in production and workflow to take it from &amp;quot;dev_thing&amp;quot; to &amp;quot;thing&amp;quot; knowing that the view has been materialized.  In the SDK, I don&amp;#39;t think we&amp;#39;ll try to replicate that workflow, but the same functionality is definitely available.</comment>
                    <comment id="40491" author="daschl" created="Fri, 5 Oct 2012 08:41:43 -0500"  >Just to keep everyone updated, I started developing it here: &lt;a href=&quot;http://review.couchbase.org/#/c/21380/&quot;&gt;http://review.couchbase.org/#/c/21380/&lt;/a&gt;</comment>
                    <comment id="44987" author="daschl" created="Thu, 29 Nov 2012 02:58:04 -0600"  >this has finally been merged to master.</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10000">
                <name>Dependency</name>
                                <outwardlinks description="depends on">
                            <issuelink>
            <issuekey id="20735">JCBC-147</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>10123</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-58] The get() function in HTTPFuture and ViewFuture contain duplicate code</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-58</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>See &lt;a href=&quot;http://www.couchbase.com/issues/browse/JCBC-44&quot; title=&quot;ViewFuture and HttpFuture may throw NPE&quot;&gt;&lt;strike&gt;JCBC-44&lt;/strike&gt;&lt;/a&gt; for more info.</description>
                <environment></environment>
            <key id="17492">JCBC-58</key>
            <summary>The get() function in HTTPFuture and ViewFuture contain duplicate code</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="daschl">Michael Nitschinger</assignee>
                                <reporter username="mikew">Mike Wiederhold</reporter>
                        <labels>
                    </labels>
                <created>Sun, 3 Jun 2012 20:53:06 -0500</created>
                <updated>Mon, 3 Dec 2012 05:36:20 -0600</updated>
                    <resolved>Fri, 9 Nov 2012 10:07:12 -0600</resolved>
                            <version>1.1dp</version>
                                <fixVersion>1.1-beta</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="37348" author="mikew" created="Thu, 30 Aug 2012 12:14:23 -0500"  >Rags, why is this incomplete? This is a code refactoring task and has information for what needs to be refactored in the bug in the description. In our ViewFuture and HttpFuture classes their is duplicate code in the get function that should be removed.</comment>
                    <comment id="40653" author="ingenthr" created="Mon, 8 Oct 2012 13:38:59 -0500"  >Rags had accidentally closed a number of these issues, including this one.&lt;br/&gt;
&lt;br/&gt;
Assigning to Michael to look into for refactoring before 1.1 release.</comment>
                    <comment id="43558" author="daschl" created="Thu, 8 Nov 2012 07:28:23 -0600"  >Tracked here: &lt;a href=&quot;http://review.couchbase.org/#/c/22353/&quot;&gt;http://review.couchbase.org/#/c/22353/&lt;/a&gt;</comment>
                    <comment id="43650" author="daschl" created="Fri, 9 Nov 2012 10:07:12 -0600"  >pushed to master, will be available in dp5.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                                                                                                                                                    <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>10630</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-46] DefaultConfigFactory attempts to create VBucket with master == -1</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-46</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>Caused by: java.lang.ArrayIndexOutOfBoundsException: -1&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at java.util.ArrayList.get(ArrayList.java:324)&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.getServer(DefaultConfig.java:81)&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.getPrimary(VBucketNodeLocator.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.CouchbaseConnection.addOperation(CouchbaseConnection.java:140)&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.asyncStore(MemcachedClient.java:296)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at net.spy.memcached.MemcachedClient.set(MemcachedClient.java:727)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at net.spy.memcached.MemcachedClient.set(MemcachedClient.java:125)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at java.lang.reflect.Method.invoke(Method.java:597)&lt;br/&gt;
&lt;br/&gt;
Possible steps to reproduce:&lt;br/&gt;
1) populate bucket from load file&lt;br/&gt;
2) delete bucket&lt;br/&gt;
3) create new bucket with same name&lt;br/&gt;
4) repopulate bucket with same keys, same order, slightly different values&lt;br/&gt;
&lt;br/&gt;
The -1 value looks like it is being set when the VBucket object is created.  Would it make sense to check for illegal arguments in the constructor and make the object immutable, i.e. no setMaster?&lt;br/&gt;
</description>
                <environment>all java</environment>
            <key id="16995">JCBC-46</key>
            <summary>DefaultConfigFactory attempts to create VBucket with master == -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="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="daschl">Michael Nitschinger</assignee>
                                <reporter username="SteveC">Steven Cooke</reporter>
                        <labels>
                    </labels>
                <created>Thu, 10 May 2012 06:54:00 -0500</created>
                <updated>Thu, 8 Nov 2012 04:14:15 -0600</updated>
                    <resolved>Thu, 8 Nov 2012 04:14:15 -0600</resolved>
                            <version>1.1dp</version>
                                <fixVersion>1.1-beta</fixVersion>
                                <component>library</component>
                                <votes>1</votes>
                        <watches>2</watches>
                                                    <comments>
                    <comment id="27852" author="thanhbv" created="Wed, 23 May 2012 05:09:42 -0500"  >Affects Version: 1.0.2</comment>
                    <comment id="43543" author="daschl" created="Thu, 8 Nov 2012 03:57:49 -0600"  >I&amp;#39;m pretty sure these two issues strongly correlate.</comment>
                    <comment id="43544" author="daschl" created="Thu, 8 Nov 2012 04:14:15 -0600"  >This issue will be tracked in &lt;a href=&quot;http://www.couchbase.com/issues/browse/JCBC-123&quot; title=&quot;ArrayOutOfBounds exception during failover&quot;&gt;&lt;strike&gt;JCBC-123&lt;/strike&gt;&lt;/a&gt;.</comment>
                </comments>
                <issuelinks>
                        <issuelinktype id="10001">
                <name>Duplicate</name>
                                <outwardlinks description="duplicates">
                            <issuelink>
            <issuekey id="20028">JCBC-123</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>10623</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-40] paginatedQuery throws NoSuchElementException and NPE</title>
                <link>http://www.couchbase.com/issues/browse/JCBC-40</link>
                <project id="10080" key="JCBC">Couchbase Java Client</project>
                        <description>view iteration is incomplete and throws exceptions for &lt;br/&gt;
groovy code:&lt;br/&gt;
paginator = client.paginatedQuery(view, query, n)&lt;br/&gt;
while (paginator.hasNext()) {&lt;br/&gt;
&amp;nbsp;&amp;nbsp;row = paginator.next()  // Exception on this line&lt;br/&gt;
&amp;nbsp;&amp;nbsp;...&lt;br/&gt;
}&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
java.util.NoSuchElementException&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at java.util.LinkedList$ListItr.next(LinkedList.java:698)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.couchbase.client.protocol.views.Paginator.next(Paginator.java:76)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.couchbase.client.protocol.views.Paginator.next(Paginator.java:35)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at java_util_Iterator$next.call(Unknown Source)&lt;br/&gt;
&lt;br/&gt;
AND&lt;br/&gt;
&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 com.couchbase.client.protocol.views.Paginator.getNextPage(Paginator.java:93)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.couchbase.client.protocol.views.Paginator.hasNext(Paginator.java:67)&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at java_util_Iterator$hasNext.call(Unknown Source)&lt;br/&gt;
&lt;br/&gt;
Paginator also has a couple odd returns&lt;br/&gt;
1) next() can return null, but it should never return null unless lastRow is null. I don&amp;#39;t think lastRow should ever be null.&lt;br/&gt;
2) getNextPage() has a return type, HttpFuture&amp;lt;ViewResponse&amp;gt;, but always returns null&lt;br/&gt;
</description>
                <environment>java</environment>
            <key id="16810">JCBC-40</key>
            <summary>paginatedQuery throws NoSuchElementException and NPE</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="SteveC">Steven Cooke</reporter>
                        <labels>
                    </labels>
                <created>Sun, 29 Apr 2012 22:00:03 -0500</created>
                <updated>Mon, 3 Dec 2012 05:36:19 -0600</updated>
                    <resolved>Tue, 27 Nov 2012 07:33:02 -0600</resolved>
                            <version>1.1dp</version>
                                <fixVersion>1.1-beta</fixVersion>
                                <component>library</component>
                                <votes>0</votes>
                        <watches>2</watches>
                                                    <comments>
                    <comment id="27235" author="SteveC" created="Tue, 15 May 2012 00:45:47 -0500"  >some workarounds for NPE in getNextPage(): &lt;br/&gt;
&lt;br/&gt;
1) Check for a null ViewResponse in getNextPage and return the ViewResponse instead of a future or null. The hasNext method can then check the value of getNextPage returning false if there is no ViewResponse.&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;2) to bypass isJsonObject for numeric keys in Query.getArgs: &lt;br/&gt;
boolean numericKey = (key.equals(STARTKEY) &amp;amp;&amp;amp; value.toString().matches(&amp;quot;\\d+&amp;quot;)); // still not json number but catches most common case of positive &lt;br/&gt;
integer keys if (key.equals(STARTKEYDOCID) || numericKey ) { return key + &amp;quot;=&amp;quot; + value;&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;3) Skip parameter needs to be zero for pages after the first. In Paginator:&lt;br/&gt;
&amp;nbsp;public boolean hasNext() {&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;if (!pageItr.hasNext() &amp;amp;&amp;amp; page.size() &amp;lt; docsPerPage) {&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return false; &lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;} else if (!(rowsIterated &amp;lt; docsPerPage)) { &lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;lastRow = pageItr.next(); &lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;query.setSkip(0); &lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;query.setStartkeyDocID(lastRow.getId()); &lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;query.setRangeStart(lastRow.getKey()); &lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return (getNextPage(query) != null); &lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;} &lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;return true; &lt;br/&gt;
}</comment>
                    <comment id="27242" author="SteveC" created="Tue, 15 May 2012 08:06:47 -0500"  >Note: #2 fails for numeric keys that are expected to be strings, an issue raised in &lt;a href=&quot;http://www.couchbase.com/issues/browse/SPY-62&quot; title=&quot;need more than setKey(String) or setRange(String, String) to be able to express queires&quot;&gt;SPY-62&lt;/a&gt;</comment>
                    <comment id="39154" author="rags" created="Sun, 16 Sep 2012 23:09:23 -0500"  >I have revamped the paginator and the code to iterate over page and within page looks something like this.&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;while (result.hasNext()) {&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;ViewResponse response = result.next();&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;for (ViewRow row: response) {&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;System.out.println(&amp;quot;Inner loop &amp;quot; + row.getId());&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;}&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;System.out.println(&amp;quot;&amp;lt;===Outer loop====&amp;gt;&amp;quot;);&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br/&gt;
&amp;nbsp;&amp;nbsp;</comment>
                    <comment id="39250" author="ingenthr" created="Tue, 18 Sep 2012 01:34:08 -0500"  >&lt;a href=&quot;http://review.couchbase.org/#/c/20898/&quot;&gt;http://review.couchbase.org/#/c/20898/&lt;/a&gt;</comment>
                    <comment id="39257" author="ingenthr" created="Tue, 18 Sep 2012 11:30:33 -0500"  >After discussion with Rags, there are some scenarios not as well tested as we&amp;#39;d like and there was some clarification on how this is expected to work.</comment>
                    <comment id="39711" author="rags" created="Wed, 26 Sep 2012 10:11:33 -0500"  >This revolves around getKey() returning a string which is not the case always. It could return other types (such as int) and this will affect the way PaginatedQuery and other queries behave.</comment>
                    <comment id="40585" author="ingenthr" created="Sat, 6 Oct 2012 13:22:36 -0500"  >In an email, Steven Cooke commented:&lt;br/&gt;
&lt;br/&gt;
A couple other things I noticed:&lt;br/&gt;
&lt;br/&gt;
The fix breaks all the original test cases as return type of next is no longer the same. If the API is intended to be non-breaking, the&lt;br/&gt;
&amp;nbsp;test cases and next should be reverted.&lt;br/&gt;
&lt;br/&gt;
The private method  &lt;br/&gt;
getNextPage  has a return value that is never used. This looks fishy </comment>
                    <comment id="40586" author="ingenthr" created="Sat, 6 Oct 2012 13:25:04 -0500"  >This isn&amp;#39;t intended to be API compatible actually.  Rags and I talked through it and decided that the odd returns of nulls were odd.  I don&amp;#39;t know that the API you see here is final either.  &lt;br/&gt;
&lt;br/&gt;
We would appreciate any additional feedback on this API or how you think it should work.&lt;br/&gt;
&lt;br/&gt;
Once we hit beta, we&amp;#39;ll keep the API stable.</comment>
                    <comment id="43967" author="daschl" created="Wed, 14 Nov 2012 09:21:49 -0600"  >&lt;a href=&quot;http://review.couchbase.org/#/c/22513/&quot;&gt;http://review.couchbase.org/#/c/22513/&lt;/a&gt;</comment>
                    <comment id="44841" author="daschl" created="Tue, 27 Nov 2012 07:33:02 -0600"  >Fixed and pushed to master. Will be available in dp5/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>8676</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>
</channel>
</rss>