<!-- 
RSS generated by JIRA (5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9) at Tue May 21 09:03:36 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/MB-6628/MB-6628.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>[MB-6628] Seeing incorrect cache-miss-ratio ( very large ranging upto 500) during bidirectional XDCR.</title>
                <link>http://www.couchbase.com/issues/browse/MB-6628</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>Load 1M and 1M items on 2 clusters.&lt;br/&gt;
Setup a 2:2 bidirectional replication.&lt;br/&gt;
Start mutations on the cluster1 and cluster2.&lt;br/&gt;
&lt;br/&gt;
Noticing a very large cache-miss-ratio on one of the clusters. = (ep_bg_fetch/ cmd_get)&lt;br/&gt;
&lt;br/&gt;
Here ep_bg_fetch contains bg_fetches from xdcr also and is much larger. This needs to be correctly reflected on the stats.&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&apos;mailto:ketaki@ubu-1512&apos;&gt;ketaki@ubu-1512&lt;/a&gt;:~$ /opt/couchbase/bin/cbstats 10.3.121.31:11210 all | egrep &amp;quot;cmd_get|ep_bg|get_meta&amp;quot;&lt;br/&gt;
&amp;nbsp;cmd_get:                            14816&lt;br/&gt;
&amp;nbsp;ep_bg_fetch_delay:                  0&lt;br/&gt;
&amp;nbsp;ep_bg_fetched:                      371532&lt;br/&gt;
&amp;nbsp;ep_bg_load:                         76857782&lt;br/&gt;
&amp;nbsp;ep_bg_load_avg:                     206&lt;br/&gt;
&amp;nbsp;ep_bg_max_load:                     238681&lt;br/&gt;
&amp;nbsp;ep_bg_max_wait:                     202492&lt;br/&gt;
&amp;nbsp;ep_bg_min_load:                     0&lt;br/&gt;
&amp;nbsp;ep_bg_min_wait:                     0&lt;br/&gt;
&amp;nbsp;ep_bg_num_samples:                  371532&lt;br/&gt;
&amp;nbsp;ep_bg_remaining_jobs:               0&lt;br/&gt;
&amp;nbsp;ep_bg_wait:                         108839514&lt;br/&gt;
&amp;nbsp;ep_bg_wait_avg:                     292&lt;br/&gt;
&amp;nbsp;ep_num_ops_get_meta:                1575784&lt;br/&gt;
&lt;a href=&apos;mailto:ketaki@ubu-1512&apos;&gt;ketaki@ubu-1512&lt;/a&gt;:~$ /opt/couchbase/bin/cbstats 10.3.121.31:11210 all | egrep &amp;quot;cmd_get|ep_bg|get_meta&amp;quot;&lt;br/&gt;
&amp;nbsp;cmd_get:                            14892&lt;br/&gt;
&amp;nbsp;ep_bg_fetch_delay:                  0&lt;br/&gt;
&amp;nbsp;ep_bg_fetched:                      371592&lt;br/&gt;
&amp;nbsp;ep_bg_load:                         76875865&lt;br/&gt;
&amp;nbsp;ep_bg_load_avg:                     206&lt;br/&gt;
&amp;nbsp;ep_bg_max_load:                     238681&lt;br/&gt;
&amp;nbsp;ep_bg_max_wait:                     202492&lt;br/&gt;
&amp;nbsp;ep_bg_min_load:                     0&lt;br/&gt;
&amp;nbsp;ep_bg_min_wait:                     0&lt;br/&gt;
&amp;nbsp;ep_bg_num_samples:                  371592&lt;br/&gt;
&amp;nbsp;ep_bg_remaining_jobs:               0&lt;br/&gt;
&amp;nbsp;ep_bg_wait:                         108853566&lt;br/&gt;
&amp;nbsp;ep_bg_wait_avg:                     292&lt;br/&gt;
&amp;nbsp;ep_num_ops_get_meta:                1576593&lt;br/&gt;
&lt;a href=&apos;mailto:ketaki@ubu-1512&apos;&gt;ketaki@ubu-1512&lt;/a&gt;:~$ &lt;br/&gt;
&lt;br/&gt;
Please let me know if you need additional information.</description>
                <environment>2.0-1717&lt;br/&gt;
Centos&lt;br/&gt;
1024 vbuckets</environment>
            <key id="19721">MB-6628</key>
            <summary>Seeing incorrect cache-miss-ratio ( very large ranging upto 500) during bidirectional XDCR.</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="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="ketaki">Ketaki Gangal</reporter>
                        <labels>
                    </labels>
                <created>Wed, 12 Sep 2012 17:03:59 -0500</created>
                <updated>Thu, 10 Jan 2013 01:14:18 -0600</updated>
                    <resolved>Wed, 19 Sep 2012 20:06:37 -0500</resolved>
                            <version>2.0-beta-2</version>
                                <fixVersion>2.0-beta-2</fixVersion>
                                <component>couchbase-bucket</component>
                <component>cross-datacenter-replication</component>
                                <votes>0</votes>
                        <watches>1</watches>
                                                    <comments>
                    <comment id="38656" author="chiyoung" created="Wed, 12 Sep 2012 17:16:50 -0500"  >Mike,&lt;br/&gt;
&lt;br/&gt;
This is a bug in ep-engine. We should not increment &amp;quot;ep_bg_fetched&amp;quot; for GET_META background fetches. We may need to add a separate stat for GET_META bg fetches.</comment>
                    <comment id="39370" author="chiyoung" created="Wed, 19 Sep 2012 20:06:37 -0500"  >&lt;a href=&quot;http://review.couchbase.org/#/c/20896/&quot;&gt;http://review.couchbase.org/#/c/20896/&lt;/a&gt;</comment>
                    <comment id="39449" author="thuan" created="Thu, 20 Sep 2012 19:20:28 -0500"  >Integrated in github-ep-engine-2-0 #432 (See [&lt;a href=&quot;http://qa.hq.northscale.net/job/github-ep-engine-2-0/432/&quot;&gt;http://qa.hq.northscale.net/job/github-ep-engine-2-0/432/&lt;/a&gt;])&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-6628&quot; title=&quot;Seeing incorrect cache-miss-ratio ( very large ranging upto 500) during bidirectional XDCR.&quot;&gt;&lt;strike&gt;MB-6628&lt;/strike&gt;&lt;/a&gt;: Seperate meta data bg fetch stats from bg fetch stats. (Revision f0352955cd4f2b60352d1ba6bac0d44446b8882f)&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Result = SUCCESS&lt;br/&gt;
Mike Wiederhold : &lt;br/&gt;
Files : &lt;br/&gt;
* tests/ep_testsuite.cc&lt;br/&gt;
* src/ep.cc&lt;br/&gt;
* src/ep_engine.cc&lt;br/&gt;
* src/stats.hh&lt;br/&gt;
* docs/stats.org&lt;br/&gt;
</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Wed, 12 Sep 2012 17:16:50 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>3986</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>