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