<!-- 
RSS generated by JIRA (5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9) at Mon May 20 17:06:43 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-6967/MB-6967.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-6967] dev-views index seems not to be built (at least for _count reduce) during rebalance with consistent view (1DD, 4 views) - build 1868 </title>
                <link>http://www.couchbase.com/issues/browse/MB-6967</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>i tried the following scenario on the latest build:&lt;br/&gt;
1. Create cluster of 2 nodes. load 1M items, 1K each with cbworkloadgen ./cbworkloadgen -n localhost:8091 -i10000000 -t6 -j -s1000&lt;br/&gt;
2. Create 1DD, with 4 simple views, of which 2 had _count reduce function so i can count all documents on that view.&lt;br/&gt;
3. I built the index and confirmed that the _count views return 1M items, i.e. index was built successfully.&lt;br/&gt;
4. I added 2 more nodes to the cluster and rebalance.&lt;br/&gt;
5. During the rebalance, i refreshed the _count views.&lt;br/&gt;
Expected behavior (with consistent views enabled by default) is that i will get the same 1M items during the reblance&lt;br/&gt;
Observed behavior: the number kept changing, and decreasing over time to 900K, 800K..&lt;br/&gt;
&lt;br/&gt;
Iryna, can you collect the neccesary logs from this cluster and post it on this bug.&lt;br/&gt;
Cluster can be found at: &lt;a href=&quot;http://184.169.209.178:8091/&quot;&gt;http://184.169.209.178:8091/&lt;/a&gt; (usual credentials)&lt;br/&gt;
Here are all the IP addresses:&lt;br/&gt;
&lt;a href=&apos;mailto:ns_1@10.176.29.176&apos;&gt;ns_1@10.176.29.176&lt;/a&gt;	10.176.29.176	184.169.209.178	&lt;a href=&apos;mailto:ns_1@10.176.9.41&apos;&gt;ns_1@10.176.9.41&lt;/a&gt;&lt;br/&gt;
&lt;a href=&apos;mailto:ns_1@10.176.9.41&apos;&gt;ns_1@10.176.9.41&lt;/a&gt;	10.176.9.41	50.18.23.114	&lt;a href=&apos;mailto:ns_1@10.176.9.41&apos;&gt;ns_1@10.176.9.41&lt;/a&gt;&lt;br/&gt;
&lt;a href=&apos;mailto:ns_1@10.168.103.76&apos;&gt;ns_1@10.168.103.76&lt;/a&gt;	10.168.103.76	204.236.154.91	&lt;a href=&apos;mailto:ns_1@10.176.9.41&apos;&gt;ns_1@10.176.9.41&lt;/a&gt;&lt;br/&gt;
&lt;a href=&apos;mailto:ns_1@10.176.145.104&apos;&gt;ns_1@10.176.145.104&lt;/a&gt;	10.176.145.104	54.241.117.117	&lt;a href=&apos;mailto:ns_1@10.176.9.41&apos;&gt;ns_1@10.176.9.41&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
I did a few things on this cluster like creating and removing indexes/nodes. so look at the logs at the end.&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
</description>
                <environment>MAC OS &lt;br/&gt;
build 1868&lt;br/&gt;
&lt;br/&gt;
&amp;lt;manifest&amp;gt;&amp;lt;remote name=&amp;quot;couchbase&amp;quot; fetch=&amp;quot;&lt;a href=&quot;git://10.1.1.210/&quot;&gt;git://10.1.1.210/&lt;/a&gt;&amp;quot;/&amp;gt;&amp;lt;remote name=&amp;quot;membase&amp;quot; fetch=&amp;quot;&lt;a href=&quot;git://10.1.1.210/&quot;&gt;git://10.1.1.210/&lt;/a&gt;&amp;quot;/&amp;gt;&amp;lt;remote name=&amp;quot;apache&amp;quot; fetch=&amp;quot;&lt;a href=&quot;git://github.com/apache/&quot;&gt;git://github.com/apache/&lt;/a&gt;&amp;quot;/&amp;gt;&amp;lt;remote name=&amp;quot;erlang&amp;quot; fetch=&amp;quot;&lt;a href=&quot;git://github.com/erlang/&quot;&gt;git://github.com/erlang/&lt;/a&gt;&amp;quot;/&amp;gt;&amp;lt;default remote=&amp;quot;couchbase&amp;quot; revision=&amp;quot;master&amp;quot;/&amp;gt;&amp;lt;project name=&amp;quot;tlm&amp;quot; path=&amp;quot;tlm&amp;quot; revision=&amp;quot;ab70f6d42f46621ec576889e57cb37ac2d64a84b&amp;quot;&amp;gt;&amp;lt;copyfile dest=&amp;quot;Makefile&amp;quot; src=&amp;quot;Makefile.top&amp;quot;/&amp;gt;&amp;lt;/project&amp;gt;&amp;lt;project name=&amp;quot;bucket_engine&amp;quot; path=&amp;quot;bucket_engine&amp;quot; revision=&amp;quot;70b3624abc697b7d18bf3d57f331b7674544e1e7&amp;quot;/&amp;gt;&amp;lt;project name=&amp;quot;ep-engine&amp;quot; path=&amp;quot;ep-engine&amp;quot; revision=&amp;quot;10b593cf4d97eaf062a6076878c5f8000d093ee9&amp;quot;/&amp;gt;&amp;lt;project name=&amp;quot;libconflate&amp;quot; path=&amp;quot;libconflate&amp;quot; revision=&amp;quot;2cc8eff8e77d497d9f03a30fafaecb85280535d6&amp;quot;/&amp;gt;&amp;lt;project name=&amp;quot;libmemcached&amp;quot; path=&amp;quot;libmemcached&amp;quot; revision=&amp;quot;ca739a890349ac36dc79447e37da7caa9ae819f5&amp;quot; remote=&amp;quot;membase&amp;quot;/&amp;gt;&amp;lt;project name=&amp;quot;libvbucket&amp;quot; path=&amp;quot;libvbucket&amp;quot; revision=&amp;quot;00d3763593c116e8e5d97aa0b646c42885727398&amp;quot;/&amp;gt;&amp;lt;project name=&amp;quot;membase-cli&amp;quot; path=&amp;quot;membase-cli&amp;quot; revision=&amp;quot;7fe4121e7e83952a4cb032e25a2cb9fca1709354&amp;quot; remote=&amp;quot;membase&amp;quot;/&amp;gt;&amp;lt;project name=&amp;quot;memcached&amp;quot; path=&amp;quot;memcached&amp;quot; revision=&amp;quot;06ab906e6702917c4b6b90a6b0051644719a357d&amp;quot; remote=&amp;quot;membase&amp;quot;/&amp;gt;&amp;lt;project name=&amp;quot;moxi&amp;quot; path=&amp;quot;moxi&amp;quot; revision=&amp;quot;52a5fa887bfff0bf719c4ee5f29634dd8707500e&amp;quot;/&amp;gt;&amp;lt;project name=&amp;quot;ns_server&amp;quot; path=&amp;quot;ns_server&amp;quot; revision=&amp;quot;82c7c95e33445edcc6665e64216983e1027756e1&amp;quot;/&amp;gt;&amp;lt;project name=&amp;quot;portsigar&amp;quot; path=&amp;quot;portsigar&amp;quot; revision=&amp;quot;1bc865e1622fb93a3fe0d1a4cdf18eb97ed9d600&amp;quot;/&amp;gt;&amp;lt;project name=&amp;quot;sigar&amp;quot; path=&amp;quot;sigar&amp;quot; revision=&amp;quot;63a3cd1b316d2d4aa6dd31ce8fc66101b983e0b0&amp;quot;/&amp;gt;&amp;lt;project name=&amp;quot;couchbase-examples&amp;quot; path=&amp;quot;couchbase-examples&amp;quot; revision=&amp;quot;21e6161a1d064979b5c6aa99cd34ccc41c9d7aca&amp;quot;/&amp;gt;&amp;lt;project name=&amp;quot;couchbase-python-client&amp;quot; path=&amp;quot;couchbase-python-client&amp;quot; revision=&amp;quot;86b398e4fbc1f2e38d356e14df0c1bb4e3d2427b&amp;quot;/&amp;gt;&amp;lt;project name=&amp;quot;couchdb&amp;quot; path=&amp;quot;couchdb&amp;quot; revision=&amp;quot;69032c6dbcd64c056265416d2c49b1a9ee06f9c3&amp;quot;/&amp;gt;&amp;lt;project name=&amp;quot;couchdbx-app&amp;quot; path=&amp;quot;couchdbx-app&amp;quot; revision=&amp;quot;76d79be79c1454cff0f878d5a88a792270ec1b17&amp;quot;/&amp;gt;&amp;lt;project name=&amp;quot;couchstore&amp;quot; path=&amp;quot;couchstore&amp;quot; revision=&amp;quot;772f66a29a81be59d8bdaaa74b3898bb44fcc7e2&amp;quot;/&amp;gt;&amp;lt;project name=&amp;quot;geocouch&amp;quot; path=&amp;quot;geocouch&amp;quot; revision=&amp;quot;b0bd742551639c52030c070e5bf9390edbb536ba&amp;quot;/&amp;gt;&amp;lt;project name=&amp;quot;mccouch&amp;quot; path=&amp;quot;mccouch&amp;quot; revision=&amp;quot;88701cc326bc3dde4ed072bb8441be83adcfb2a5&amp;quot;/&amp;gt;&amp;lt;project name=&amp;quot;testrunner&amp;quot; path=&amp;quot;testrunner&amp;quot; revision=&amp;quot;621f470d068b2d20fce7b323e5f9fd44304db76c&amp;quot;/&amp;gt;&amp;lt;project name=&amp;quot;otp&amp;quot; path=&amp;quot;otp&amp;quot; revision=&amp;quot;b6dc1a844eab061d0a7153d46e7e68296f15a504&amp;quot; remote=&amp;quot;erlang&amp;quot;/&amp;gt;&amp;lt;project name=&amp;quot;icu4c&amp;quot; path=&amp;quot;icu4c&amp;quot; revision=&amp;quot;26359393672c378f41f2103a8699c4357c894be7&amp;quot; remote=&amp;quot;couchbase&amp;quot;/&amp;gt;&amp;lt;project name=&amp;quot;snappy&amp;quot; path=&amp;quot;snappy&amp;quot; revision=&amp;quot;5681dde156e9d07adbeeab79666c9a9d7a10ec95&amp;quot; remote=&amp;quot;couchbase&amp;quot;/&amp;gt;&amp;lt;project name=&amp;quot;v8&amp;quot; path=&amp;quot;v8&amp;quot; revision=&amp;quot;447decb75060a106131ab4de934bcc374648e7f2&amp;quot; remote=&amp;quot;couchbase&amp;quot;/&amp;gt;&amp;lt;project name=&amp;quot;gperftools&amp;quot; path=&amp;quot;gperftools&amp;quot; revision=&amp;quot;8f60ba949fb8576c530ef4be148bff97106ddc59&amp;quot; remote=&amp;quot;couchbase&amp;quot;/&amp;gt;&amp;lt;project name=&amp;quot;pysqlite&amp;quot; path=&amp;quot;pysqlite&amp;quot; revision=&amp;quot;0ff6e32ea05037fddef1eb41a648f2a2141009ea&amp;quot; remote=&amp;quot;couchbase&amp;quot;/&amp;gt;&amp;lt;/manifest&amp;gt;</environment>
            <key id="20323">MB-6967</key>
            <summary>dev-views index seems not to be built (at least for _count reduce) during rebalance with consistent view (1DD, 4 views) - build 1868 </summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="3" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/major.png">Major</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="mccouch">MC Brown</assignee>
                                <reporter username="sharon">Sharon Barr</reporter>
                        <labels>
                        <label>2.0-release-notes</label>
                    </labels>
                <created>Thu, 18 Oct 2012 19:36:52 -0500</created>
                <updated>Thu, 6 Dec 2012 16:48:53 -0600</updated>
                    <resolved>Wed, 21 Nov 2012 09:59:40 -0600</resolved>
                            <version>2.0-beta-2</version>
                                <fixVersion>2.0</fixVersion>
                                <component>documentation</component>
                <component>ns_server</component>
                <component>view-engine</component>
                                <votes>0</votes>
                        <watches>5</watches>
                                                    <comments>
                    <comment id="41884" author="sharon" created="Thu, 18 Oct 2012 19:52:15 -0500"  >More info:&lt;br/&gt;
at the end of the rebalance, there were 630K items on this view, and it seems that the index was rebuilt until it reached the 1M number.&lt;br/&gt;
&lt;br/&gt;
it seems that the index is NOT being built during the rebalance.&lt;br/&gt;
</comment>
                    <comment id="41886" author="sharon" created="Thu, 18 Oct 2012 20:10:11 -0500"  >4 logs are 70MB compressed. let me know where  you want them to be uploaded.&lt;br/&gt;
i am continuing to mess up with this cluster.</comment>
                    <comment id="41887" author="sharon" created="Thu, 18 Oct 2012 20:10:12 -0500"  >4 logs are 70MB compressed. let me know where  you want them to be uploaded.&lt;br/&gt;
i am continuing to mess up with this cluster.</comment>
                    <comment id="41894" author="sharon" created="Thu, 18 Oct 2012 22:55:49 -0500"  >and another important information. there was NO load on the system. so the consistent view feature is not really have an impact here.</comment>
                    <comment id="41896" author="sharon" created="Thu, 18 Oct 2012 23:59:37 -0500"  >Attached are logs from the new nodes that entered the cluster.&lt;br/&gt;
logs from the original nodes are too large to attache.&lt;br/&gt;
&lt;br/&gt;
The accurate observation is that at least the reduce views are not being (or partially) built. the count drops during the rebalance and stay low after it&amp;#39;s done. once i trigger the full view, it is being built up again.&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
</comment>
                    <comment id="41897" author="sharon" created="Fri, 19 Oct 2012 00:00:40 -0500"  >Attached are logs from the new nodes that entered the cluster.&lt;br/&gt;
logs from the original nodes are too large to attache.&lt;br/&gt;
&lt;br/&gt;
The accurate observation is that at least the reduce views are not being (or partially) built. the count drops during the rebalance and stay low after it&amp;#39;s done. once i trigger the full view, it is being built up again.&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
</comment>
                    <comment id="41912" author="FilipeManana" created="Fri, 19 Oct 2012 04:59:05 -0500"  >What I see in the logs, is that the initial index build is being done during rebalance.&lt;br/&gt;
&lt;br/&gt;
During rebalance, vbucket state changes are happening all the time, which cause the updater to be stopped and restarted after each state transition. Remember that the initial index build is not resumable, so each restart means it starts from scratch.&lt;br/&gt;
&lt;br/&gt;
I don&amp;#39;t think there&amp;#39;s anything that can be done here. Only way I see, is if it were possible for ns_server to know what&amp;#39;s the final state for all vbuckets in each node, and then do a single bulk state transition request to the indexes.&lt;br/&gt;
&lt;br/&gt;
This is something that was always possible since the faster initial index build method was added months ago.</comment>
                    <comment id="41913" author="deepkaran.salooja" created="Fri, 19 Oct 2012 05:17:58 -0500"  >Couldn&amp;#39;t access the cluster. Reproduced the same behavior on Centos64 with latest build(1870). Attaching the diags from 4 nodes. &lt;br/&gt;
&lt;br/&gt;
Steps followed:&lt;br/&gt;
&lt;br/&gt;
Load 500K items in default bucket&lt;br/&gt;
Rebalance 1-&amp;gt;2 nodes&lt;br/&gt;
Create 1 dev view,&lt;br/&gt;
map&lt;br/&gt;
function (doc, meta) {&lt;br/&gt;
&amp;nbsp;&amp;nbsp;emit(meta.id, null);&lt;br/&gt;
}&lt;br/&gt;
&lt;br/&gt;
reduce&lt;br/&gt;
_count&lt;br/&gt;
&lt;br/&gt;
Query full_set to create index&lt;br/&gt;
curl -X GET &amp;#39;&lt;a href=&quot;http://10.3.3.95:8092/default/_design/dev_d1/_view/v1?full_set=true&amp;connection_timeout=60000&amp;limit=10&amp;skip=0&amp;#39;&quot;&gt;http://10.3.3.95:8092/default/_design/dev_d1/_view/v1?full_set=true&amp;amp;connection_timeout=60000&amp;amp;limit=10&amp;amp;skip=0&amp;amp;#39;&lt;/a&gt;&lt;br/&gt;
{&amp;quot;rows&amp;quot;:[&lt;br/&gt;
{&amp;quot;key&amp;quot;:null,&amp;quot;value&amp;quot;:500000}&lt;br/&gt;
]&lt;br/&gt;
}&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
Rebalance 2-&amp;gt;4&lt;br/&gt;
&lt;br/&gt;
During rebalance, query full_set returns &amp;lt; 500K in the output&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&apos;mailto:root@ubuntu1104-64&apos;&gt;root@ubuntu1104-64&lt;/a&gt;:~# curl -X GET &amp;#39;&lt;a href=&quot;http://10.3.3.95:8092/default/_design/dev_d1/_view/v1?full_set=true&amp;connection_timeout=60000&amp;limit=10&amp;skip=0&amp;#39;&quot;&gt;http://10.3.3.95:8092/default/_design/dev_d1/_view/v1?full_set=true&amp;amp;connection_timeout=60000&amp;amp;limit=10&amp;amp;skip=0&amp;amp;#39;&lt;/a&gt;&lt;br/&gt;
{&amp;quot;rows&amp;quot;:[&lt;br/&gt;
{&amp;quot;key&amp;quot;:null,&amp;quot;value&amp;quot;:472640}&lt;br/&gt;
]&lt;br/&gt;
}&lt;br/&gt;
&lt;a href=&apos;mailto:root@ubuntu1104-64&apos;&gt;root@ubuntu1104-64&lt;/a&gt;:~# curl -X GET &amp;#39;&lt;a href=&quot;http://10.3.3.95:8092/default/_design/dev_d1/_view/v1?full_set=true&amp;connection_timeout=60000&amp;limit=10&amp;skip=0&amp;#39;&quot;&gt;http://10.3.3.95:8092/default/_design/dev_d1/_view/v1?full_set=true&amp;amp;connection_timeout=60000&amp;amp;limit=10&amp;amp;skip=0&amp;amp;#39;&lt;/a&gt;&lt;br/&gt;
{&amp;quot;rows&amp;quot;:[&lt;br/&gt;
{&amp;quot;key&amp;quot;:null,&amp;quot;value&amp;quot;:453125}&lt;br/&gt;
]&lt;br/&gt;
}&lt;br/&gt;
&lt;br/&gt;
After rebalance &amp;amp; indexing is finished, full 500K are returned&lt;br/&gt;
&lt;a href=&apos;mailto:root@ubuntu1104-64&apos;&gt;root@ubuntu1104-64&lt;/a&gt;:~# curl -X GET &amp;#39;&lt;a href=&quot;http://10.3.3.95:8092/default/_design/dev_d1/_view/v1?full_set=true&amp;connection_timeout=60000&amp;limit=10&amp;skip=0&amp;#39;&quot;&gt;http://10.3.3.95:8092/default/_design/dev_d1/_view/v1?full_set=true&amp;amp;connection_timeout=60000&amp;amp;limit=10&amp;amp;skip=0&amp;amp;#39;&lt;/a&gt;&lt;br/&gt;
{&amp;quot;rows&amp;quot;:[&lt;br/&gt;
{&amp;quot;key&amp;quot;:null,&amp;quot;value&amp;quot;:500000}&lt;br/&gt;
]&lt;br/&gt;
}</comment>
                    <comment id="41914" author="FilipeManana" created="Fri, 19 Oct 2012 05:22:06 -0500"  >Actually, it&amp;#39;s not doing initial build here, but what I said before it&amp;#39;s still valid.&lt;br/&gt;
&lt;br/&gt;
For node .117 (node 1), what I see is that the index update is being stopped and restarted every 1 or 2 seconds due to vbucket state transition requests from ns_server:&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;https://friendpaste.com/4qH8PqvWO4tpGANlSxp0n3&quot;&gt;https://friendpaste.com/4qH8PqvWO4tpGANlSxp0n3&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
In each transition, only one vbucket state changes.&lt;br/&gt;
&lt;br/&gt;
I don&amp;#39;t know if things could be better batched or not in ns_server.</comment>
                    <comment id="41920" author="farshid" created="Fri, 19 Oct 2012 07:53:07 -0500"  >Deep,&lt;br/&gt;
&lt;br/&gt;
in your testing were you running load during rebalancing ?&lt;br/&gt;
did you make sure index update was completed before rebalancing ?</comment>
                    <comment id="41928" author="farshid" created="Fri, 19 Oct 2012 09:37:58 -0500"  >Deep , Iryna and I had a conversation about this scenario and we will discuss with Filipe and update the ticket to understand consistent views and index updating better</comment>
                    <comment id="41929" author="deepkaran.salooja" created="Fri, 19 Oct 2012 10:06:48 -0500"  >I didn&amp;#39;t run any load during rebalancing. After rebalance is finished, I can see indexing running if I do full_set queries.</comment>
                    <comment id="41969" author="alkondratenko" created="Fri, 19 Oct 2012 13:57:15 -0500"  >Every 1 or 2 seconds should be impossible, Filipe. At least for main index. We are supposed to wait for index building completion for each bucket movement.&lt;br/&gt;
&lt;br/&gt;
Incoming vbucket transfers are not synchronized w.r.t. each other and it&amp;#39;s possible to have _some_ config changes due to that: i.e. we started moving _in_ vbucket 0 and 1 second later we can start moving _in_ vbucket 1, which AFAIK will cause all indexing progress to be thrown out if it&amp;#39;s initial  index building.&lt;br/&gt;
&lt;br/&gt;
But there&amp;#39;s inherent limit of concurrent incoming vbucket movements. Constant changes should be impossible.&lt;br/&gt;
&lt;br/&gt;
Replica index is somewhat different currently. My code doesn&amp;#39;t wait for replica indexing completion. Which I&amp;#39;ll be happy to fix. Does couch_set_view:monitor_partition_update/3 work for replica indexes as well?</comment>
                    <comment id="42033" author="FilipeManana" created="Sat, 20 Oct 2012 09:09:00 -0500"  >Well, unless the log timestamps are not well calculated, I see at least 1 state transition per second in average:&lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;https://friendpaste.com/1Aoo4eeFhzLGFlpAW6lHQI&quot;&gt;https://friendpaste.com/1Aoo4eeFhzLGFlpAW6lHQI&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
And no, it&amp;#39;s not possible to wait for replica indexing of particular vbuckets like it is for main index.&lt;br/&gt;
&lt;br/&gt;
I see lots (if not all, or the majority) of transitions only changing one vbucket state. For example:&lt;br/&gt;
&lt;br/&gt;
[couchdb:info,2012-10-19T0:39:28.779,&lt;a href=&apos;mailto:ns_1@10.176.145.104&apos;&gt;ns_1@10.176.145.104&lt;/a&gt;:&amp;lt;0.20650.1&amp;gt;:couch_log:info:39]Set view `default`, main group `_design/dev_test`, partition states updated&lt;br/&gt;
active partitions before:    [256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,501,502,503,504,505,506,507,508,509,510]&lt;br/&gt;
active partitions after:     [256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,501,502,503,504,505,506,507,508,509,510]&lt;br/&gt;
passive partitions before:   []&lt;br/&gt;
passive partitions after:    [511]&lt;br/&gt;
cleanup partitions before:   []&lt;br/&gt;
cleanup partitions after:    []&lt;br/&gt;
unindexable partitions:      []&lt;br/&gt;
replica partitions before:   []&lt;br/&gt;
replica partitions after:    []&lt;br/&gt;
replicas on transfer before: []&lt;br/&gt;
replicas on transfer after:  []&lt;br/&gt;
pending transition before:&lt;br/&gt;
&amp;nbsp;&amp;nbsp;active:      []&lt;br/&gt;
&amp;nbsp;&amp;nbsp;passive:     []&lt;br/&gt;
&amp;nbsp;&amp;nbsp;unindexable: []&lt;br/&gt;
pending transition after:&lt;br/&gt;
&amp;nbsp;&amp;nbsp;active:      []&lt;br/&gt;
&amp;nbsp;&amp;nbsp;passive:     []&lt;br/&gt;
&amp;nbsp;&amp;nbsp;unindexable: []&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
Here it made one change only, added vbucket 511 to the passive state.&lt;br/&gt;
&lt;br/&gt;
Then 4 seconds later it does a single change, to move vbucket 511 from the passive state to the active state:&lt;br/&gt;
&lt;br/&gt;
[couchdb:info,2012-10-19T0:39:31.262,&lt;a href=&apos;mailto:ns_1@10.176.145.104&apos;&gt;ns_1@10.176.145.104&lt;/a&gt;:&amp;lt;0.20650.1&amp;gt;:couch_log:info:39]Set view `default`, main group `_design/dev_test`, partition states updated&lt;br/&gt;
active partitions before:    [256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,501,502,503,504,505,506,507,508,509,510]&lt;br/&gt;
active partitions after:     [256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,501,502,503,504,505,506,507,508,509,510,511]&lt;br/&gt;
passive partitions before:   [511]&lt;br/&gt;
passive partitions after:    []&lt;br/&gt;
cleanup partitions before:   []&lt;br/&gt;
cleanup partitions after:    []&lt;br/&gt;
unindexable partitions:      []&lt;br/&gt;
replica partitions before:   []&lt;br/&gt;
replica partitions after:    []&lt;br/&gt;
replicas on transfer before: []&lt;br/&gt;
replicas on transfer after:  []&lt;br/&gt;
pending transition before:&lt;br/&gt;
&amp;nbsp;&amp;nbsp;active:      []&lt;br/&gt;
&amp;nbsp;&amp;nbsp;passive:     []&lt;br/&gt;
&amp;nbsp;&amp;nbsp;unindexable: []&lt;br/&gt;
pending transition after:&lt;br/&gt;
&amp;nbsp;&amp;nbsp;active:      []&lt;br/&gt;
&amp;nbsp;&amp;nbsp;passive:     []&lt;br/&gt;
&amp;nbsp;&amp;nbsp;unindexable: []&lt;br/&gt;
&lt;br/&gt;
&lt;br/&gt;
I understand it might not be possible for ns_server to batch things better, but this doesn&amp;#39;t help.&lt;br/&gt;
&lt;br/&gt;
I can revert some optimizations done several months ago for query performance, which will increase the incremental indexing checkpoint frequency. While they will likely help for such small datasets (and decreasing query performance on high concurrency scenarios), for large datasets, or when there&amp;#39;s much load on the system (many ddocs, xdcr, bucket compaction, etc etc) we&amp;#39;ll very likely run into the same scenario as here.&lt;br/&gt;
&lt;br/&gt;
</comment>
                    <comment id="42035" author="alkondratenko" created="Sat, 20 Oct 2012 11:45:59 -0500"  >When I said impossible, I was referring to initial index building. In which case waiting for single vbucket will obviously wait for all of them.&lt;br/&gt;
&lt;br/&gt;
For some next release we&amp;#39;ll definitely seek better ways to interact with indexes. The problem, as I pointed our earlier, is that from our high-level perspective we&amp;#39;re not very aware of performance implication of what we do.</comment>
                    <comment id="42196" author="alkondratenko" created="Mon, 22 Oct 2012 12:32:29 -0500"  >btw incorrect _count doesn&amp;#39;t imply index is not being built. I recommend actually checking if results you expect are there. We have that somewhat controversial &amp;quot;excluding&amp;quot; of reduction values during non-steady-state. And I don&amp;#39;t know if we heavily tested this path.</comment>
                    <comment id="42212" author="farshid" created="Mon, 22 Oct 2012 16:35:38 -0500"  >the user in this case is trying a reduce query which should return the count as expected. &lt;br/&gt;
&lt;br/&gt;
when you say we have controversial excluding of reduction values during non-steady state ? is that expected behavior in view-engine ? &lt;br/&gt;
&lt;br/&gt;
do we expect users to see the reduction to return inconsistent results but the view results alway be consistent ?&lt;br/&gt;
</comment>
                    <comment id="42213" author="alkondratenko" created="Mon, 22 Oct 2012 16:40:36 -0500"  >We expect it to be consistent. When I said &amp;#39;somewhat controversial&amp;#39; I was pointing out that it actually has to do quite a bit of work to return reduction value in non-steady state, compared to steady state. And I was trying to say I have no idea if we used to test this path a lot.</comment>
                    <comment id="42257" author="Iryna" created="Tue, 23 Oct 2012 08:00:19 -0500"  >Please take into account that the issue can be reproduced only with development views, production views are working ok.</comment>
                    <comment id="42327" author="damien" created="Tue, 23 Oct 2012 17:48:28 -0500"  >Apparently this only happens for development views, which are not supposed to be accurate across a cluster and rebalances.</comment>
                    <comment id="42331" author="farshid" created="Tue, 23 Oct 2012 18:18:56 -0500"  >looked at diags posted by Sharon and confirmed they are also on dev views&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{design_documents,[&amp;lt;&amp;lt;&amp;quot;_design/dev_test&amp;quot;&amp;gt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;{indexer_type,main},&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;{set,&amp;lt;&amp;lt;&amp;quot;default&amp;quot;&amp;gt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;{signature,&amp;lt;&amp;lt;&amp;quot;701550d970bd93f8c7c9736d27d90b51&amp;quot;&amp;gt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;{started_on,1350606438},&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;{type,blocked_indexer},&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;{updated_on,1350606438}],&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;[{pid,&amp;lt;&amp;lt;&amp;quot;&amp;lt;0.4324.6&amp;gt;&amp;quot;&amp;gt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;{design_documents,[&amp;lt;&amp;lt;&amp;quot;_design/dev_test&amp;quot;&amp;gt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;{indexer_type,main},&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;{set,&amp;lt;&amp;lt;&amp;quot;default&amp;quot;&amp;gt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;{signature,&amp;lt;&amp;lt;&amp;quot;701550d970bd93f8c7c9736d27d90b51&amp;quot;&amp;gt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;{started_on,1350606564},&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;{type,blocked_indexer},&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;{updated_on,1350606564}],&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;[{pid,&amp;lt;&amp;lt;&amp;quot;&amp;lt;0.18271.6&amp;gt;&amp;quot;&amp;gt;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;{design_documents,[&amp;lt;&amp;lt;&amp;quot;_design/dev_test&amp;quot;&amp;gt;&amp;gt;]},</comment>
                    <comment id="42332" author="farshid" created="Tue, 23 Oct 2012 18:19:50 -0500"  >im not quite sure why this only happens on dev views and not on production views though.</comment>
                    <comment id="42333" author="farshid" created="Tue, 23 Oct 2012 18:23:29 -0500"  >if this happens for dev views we should add this to release notes that user might get incnsistent results during rebalancing with development views</comment>
                    <comment id="42390" author="FilipeManana" created="Wed, 24 Oct 2012 10:44:33 -0500"  >From the view engine perspective, there&amp;#39;s no distinction (or concept) about development and production views. They&amp;#39;re all treated the same way.&lt;br/&gt;
ns_server on the other hand gives different treatment to them, like for example not triggering index updates for development views.</comment>
                    <comment id="42493" author="farshid" created="Thu, 25 Oct 2012 13:38:06 -0500"  >Alk,&lt;br/&gt;
&lt;br/&gt;
form ns_server point of view w.r.t rebalancing and consistent views do we treat dev views any differently</comment>
                    <comment id="42498" author="alkondratenko" created="Thu, 25 Oct 2012 13:52:05 -0500"  >Farshid, I could not understand you question completely.&lt;br/&gt;
&lt;br/&gt;
Pure dev views are not at all affected during rebalance. After all they only cover single vbucket. Even if this vbucket is moved I believe it&amp;#39;ll safely use other one.&lt;br/&gt;
&lt;br/&gt;
If we&amp;#39;re speaking about dev views will full_set option set to true, they are no different than any production views.</comment>
                    <comment id="42505" author="farshid" created="Thu, 25 Oct 2012 14:03:22 -0500"  >according to the bug description we are getting inconsistent results during rebalancing but does not happen for production views.&lt;br/&gt;
&lt;br/&gt;
the tester also waits until index is built before running the rebalance and full_Set is used for all view queries.&lt;br/&gt;
if there is no difference between dev views and productions views during rebalancing then we should not be seeing different behavior.</comment>
                    <comment id="42509" author="alkondratenko" created="Thu, 25 Oct 2012 14:08:23 -0500"  >Well, there is is _no_ difference with dev with full_set and production views. Thus it appears that this bug is genuine and needs to be fixed.</comment>
                    <comment id="42519" author="farshid" created="Thu, 25 Oct 2012 14:44:40 -0500"  >ok thanks.</comment>
                    <comment id="42617" author="yaseen" created="Fri, 26 Oct 2012 15:37:57 -0500"  >Alk, if you think this is a genuine bug, can you please review and do some triage - let me know what we should do with this bug?</comment>
                    <comment id="42680" author="alkondratenko" created="Fri, 26 Oct 2012 20:41:14 -0500"  >Ok. I was somewhat wrong. Here&amp;#39;s full explanation.&lt;br/&gt;
&lt;br/&gt;
As per Frank&amp;#39;s original idea, development design docs are supposed to be used on subset of data. People are supposed to play with map/reduce functions without throwing entire cluster&amp;#39;s power on building full index. When that development process is done, people can try it own on full subset few times. That would build full index. We expect that once this is done, people are satisfied and will publish dev_ design document to production. Our (and stock) indexes have a nice feature where same ddocs are represented by same one index file. So work spent on building full index will not be lost as production design doc will be 100% same as just indexed in full mode dev_ design doc.&lt;br/&gt;
&lt;br/&gt;
Key point is, system explicitly avoids automagically building or updating that full index underneath dev_ design docs. Because that would waste cluster&amp;#39;s resources without explicit human request for that.&lt;br/&gt;
&lt;br/&gt;
Thus indeed as part of rebalance we trigger and wait for index updates for all non-dev design docs. Explicitly skipping development ddocs. Even then user should still be able to see consistent result with stale=false queries, which would force index update before returning results.&lt;br/&gt;
&lt;br/&gt;
So indeed not a bug and perhaps worth documenting.</comment>
                    <comment id="42681" author="alkondratenko" created="Fri, 26 Oct 2012 20:41:21 -0500"  >See above</comment>
                    <comment id="42700" author="steve" created="Sat, 27 Oct 2012 17:09:25 -0500"  >Thanks Aliaksey.&lt;br/&gt;
&lt;br/&gt;
Based on Aliaksey&amp;#39;s explanation, marking this non-blocker and for MC to document this non-obvious but &amp;quot;working as designed&amp;quot; behavior for dev-views.</comment>
                    <comment id="42765" author="farshid" created="Mon, 29 Oct 2012 14:55:35 -0500"  >please note that this behavior is only expected for development views ( full_set = True and partial set ) . It does not apply for production views.</comment>
                    <comment id="44548" author="mccouch" created="Wed, 21 Nov 2012 09:59:40 -0600"  >Documentation has been updated with this information in both the view types, and auto-update sections of the manual. </comment>
                    <comment id="45607" author="kzeller" created="Thu, 6 Dec 2012 16:48:53 -0600"  >Added to RN as:&lt;br/&gt;
&lt;br/&gt;
&amp;quot;If you are using development views, be aware you may see &lt;br/&gt;
inconsistent results if you query a development view during rebalance. For production views, &lt;br/&gt;
you are able to query during rebalance and get results consistent with those you would have recieved &lt;br/&gt;
if no rebalance were occurring.&amp;quot;</comment>
                </comments>
                    <attachments>
                    <attachment id="15500" name="10.3.3.104-8091-diag.txt.gz" size="760824" author="deepkaran.salooja" created="Fri, 19 Oct 2012 05:18:53 -0500" />
                    <attachment id="15501" name="10.3.3.106-8091-diag.txt.gz" size="517305" author="deepkaran.salooja" created="Fri, 19 Oct 2012 05:18:53 -0500" />
                    <attachment id="15502" name="10.3.3.107-8091-diag.txt.gz" size="512067" author="deepkaran.salooja" created="Fri, 19 Oct 2012 05:18:53 -0500" />
                    <attachment id="15499" name="10.3.3.95-8091-diag.txt.gz" size="1017942" author="deepkaran.salooja" created="Fri, 19 Oct 2012 05:18:53 -0500" />
                    <attachment id="15498" name="204.236.154.91 - new node 2.txt.zip" size="13369174" author="sharon" created="Thu, 18 Oct 2012 23:59:37 -0500" />
                    <attachment id="15497" name="54.241.117.117 - new node 1.txt.zip" size="14148062" author="sharon" created="Thu, 18 Oct 2012 23:59:37 -0500" />
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Fri, 19 Oct 2012 04:59:05 -0500</customfieldvalue>

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