<!-- 
RSS generated by JIRA (5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9) at Sat May 25 23:35:44 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/si/jira.issueviews:issue-xml/JCBC-197/JCBC-197.xml?field=key&field=summary
-->
<rss version="0.92" >
<channel>
    <title>Couchbase</title>
    <link>http://www.couchbase.com/issues</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>5.2.4</version>
        <build-number>845</build-number>
        <build-date>26-12-2012</build-date>
    </build-info>

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