<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:15:15 UTC 2024

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 append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[SERVER-7676] find usings sort,skip,limit where sort is on an unindexed attribute produces an error when executed from mongos command prompt but works correctly from mongod command prompt.</title>
                <link>https://jira.mongodb.org/browse/SERVER-7676</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;create a collection of documents that have at least one attribute that is not indexed.  The resulting size of all the documents must be as close to 32MB limit as possible &lt;/p&gt;</description>
                <environment>cluster with a single node 3 server replica set</environment>
        <key id="56498">SERVER-7676</key>
            <summary>find usings sort,skip,limit where sort is on an unindexed attribute produces an error when executed from mongos command prompt but works correctly from mongod command prompt.</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="david.storch@mongodb.com">David Storch</assignee>
                                    <reporter username="dale@dchpa.com">Dale C Quantz</reporter>
                        <labels>
                            <label>query_triage</label>
                    </labels>
                <created>Thu, 15 Nov 2012 18:22:00 +0000</created>
                <updated>Tue, 16 Nov 2021 14:44:07 +0000</updated>
                            <resolved>Fri, 7 Nov 2014 16:34:48 +0000</resolved>
                                    <version>2.2.1</version>
                                    <fixVersion>2.8.0-rc0</fixVersion>
                                    <component>Querying</component>
                    <component>Sharding</component>
                                        <votes>2</votes>
                                    <watches>19</watches>
                                                                                                                <comments>
                            <comment id="1237686" author="sallgeud" created="Fri, 15 Apr 2016 21:17:17 +0000"  >&lt;p&gt;Given the new YAML format, &lt;b&gt;WHERE&lt;/b&gt; in the configuration file would &quot;internalQueryExecMaxBlockingSortBytes&quot; go?  It&apos;s not a good long term solution for us... possibly making support for MORE THAN 2 indexes for sorting and filter (or even 2 each for the time being) would do?&lt;/p&gt;

&lt;p&gt;Why not support say 8 or 64 or 128 indexes like SQL would?&lt;/p&gt;</comment>
                            <comment id="766266" author="jparkinson@absolute.com" created="Mon, 17 Nov 2014 19:57:17 +0000"  >&lt;p&gt;Hi Dave,&lt;/p&gt;

&lt;p&gt;Thanks for the quick response.  Parameter change works lovely for me for the issue as described here.  I will just have to get this into our dev/test environments now for a wider exercise.  And then watch for the official 2.8 release!&lt;/p&gt;

&lt;p&gt;Thanks so much,&lt;br/&gt;
Janice&lt;/p&gt;</comment>
                            <comment id="766245" author="david.storch" created="Mon, 17 Nov 2014 19:38:33 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=jparkinson%40absolute.com&quot; class=&quot;user-hover&quot; rel=&quot;jparkinson@absolute.com&quot;&gt;jparkinson@absolute.com&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;The query system&apos;s memory usage limit for sorts can be configured via the &lt;tt&gt;internalQueryExecMaxBlockingSortBytes&lt;/tt&gt; parameter. The sort memory limit can be set to &lt;em&gt;x&lt;/em&gt; bytes from the mongo shell as follows:&lt;/p&gt;
&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;&amp;gt; db.adminCommand({setParameter: 1, internalQueryExecMaxBlockingSortBytes: x})&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;
&lt;p&gt;Here, &lt;em&gt;x&lt;/em&gt; should be replaced with an integer. The default value of the parameter is 33554432 (32 MB).&lt;/p&gt;

&lt;p&gt;Alternately, you can specify the parameter using a command line flag or in a &lt;a href=&quot;http://docs.mongodb.org/manual/reference/configuration-options/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;config file&lt;/a&gt;. The syntax for the command line flag is:&lt;/p&gt;
&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;./mongod --setParameter internalQueryExecMaxBlockingSortBytes=x&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;

&lt;p&gt;Best,&lt;br/&gt;
Dave&lt;/p&gt;</comment>
                            <comment id="766133" author="jparkinson@absolute.com" created="Mon, 17 Nov 2014 18:15:07 +0000"  >&lt;p&gt;Testing on Windows.&lt;br/&gt;
db.version() -&amp;gt; 2.8.0-rc0&lt;br/&gt;
execute: db.Device.find ({}).sort( &lt;/p&gt;
{DeviceName : 1}
&lt;p&gt;).skip(50000).limit(20)&lt;br/&gt;
result:&lt;br/&gt;
error: {&lt;br/&gt;
	&quot;$err&quot; : &quot;Executor error: Overflow sort stage buffered data usage of 33554654 bytes exceeds internal limit of 33554432 bytes&quot;,&lt;br/&gt;
	&quot;code&quot; : 17144&lt;br/&gt;
}&lt;br/&gt;
What is the configuration option to take advantage of this fix?&lt;/p&gt;</comment>
                            <comment id="758919" author="xgen-internal-githook" created="Fri, 7 Nov 2014 16:34:01 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;dstorch&apos;, u&apos;name&apos;: u&apos;David Storch&apos;, u&apos;email&apos;: u&apos;david.storch@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-7676&quot; title=&quot;find usings sort,skip,limit where sort is on an unindexed attribute produces an error when executed from mongos command prompt but works correctly from mongod command prompt.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-7676&quot;&gt;&lt;del&gt;SERVER-7676&lt;/del&gt;&lt;/a&gt; make sort memory limit configurable&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/39ded947b914652032fb5a9b3ee991c00e173664&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/39ded947b914652032fb5a9b3ee991c00e173664&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="427477" author="vtzvetkov@absolute.com" created="Tue, 17 Sep 2013 21:51:41 +0000"  >
&lt;p&gt;To recap the info from Dale&apos;s postings above:&lt;/p&gt;

&lt;p&gt;We made the following 3 changes to the mongo source:&lt;br/&gt;
.../src/mongo/bson/util/builder.h&lt;br/&gt;
    line 57&lt;br/&gt;
    //const int BufferMaxSize = 64 * 1024 * 1024;&lt;br/&gt;
    const int BufferMaxSize = 1024 * 1024 * 1024;&lt;/p&gt;

&lt;p&gt;.../src/mongo/db/scanandorder.cpp&lt;br/&gt;
    line 28&lt;br/&gt;
    //const unsigned ScanAndOrder::MaxScanAndOrderBytes = 32 * 1024 * 1024;&lt;br/&gt;
    const unsigned ScanAndOrder::MaxScanAndOrderBytes = 1024 * 1024 * 1024;&lt;/p&gt;

&lt;p&gt;.../src/mongo/util/net/message_port.cpp&lt;br/&gt;
    line 164&lt;br/&gt;
    //if ( len &amp;lt; 16 || len &amp;gt; 48000000 ) { // messages must be large enough for headers&lt;br/&gt;
    if ( len &amp;lt; 16 || len &amp;gt; 1024*1024*1024 ) { // messages must be large enough for headers&lt;/p&gt;

&lt;p&gt;Those three changes combined made the errors reported above disappear and we&apos;ve been using that custom build problem free for 10 months now.&lt;br/&gt;
The problem is with the custom build we are stuck at release 2.2.1.&lt;br/&gt;
I realise the changes are trivial. Still it is not practical for us to repeat this with each MongoDb release as it incurs too much QA overhead.&lt;br/&gt;
What we would like to see is those three buffer sizes to be made configurable so we can tailor it to our needs without the need of a custom build.&lt;/p&gt;</comment>
                            <comment id="214551" author="dale@dchpa.com" created="Fri, 14 Dec 2012 01:18:44 +0000"  >&lt;p&gt;We allow sorts on all the attributes so adding a key for each is just not and option.  The write performance would be unacceptable.&lt;/p&gt;


&lt;p&gt;There are a couple of suggestions I would like to get some feedback on.&lt;/p&gt;

&lt;p&gt;1.  Allow buffers sizes to be in configuration (scanandsort, recv) to keep people from having to modify the source(use defaults if buffer.config file not found otherwise override buffer sized indicated in the file)&lt;br/&gt;
2.  When you run a query on a large data set across multiple nodes the result you want to sort is bound to be large so do the following &lt;br/&gt;
    db.mycollection.find(&lt;/p&gt;
{ AccountId: &quot;23432234&quot;}
&lt;p&gt;).sort(&lt;/p&gt;
{ DeviceName : 1 }
&lt;p&gt;).skip(300000).limit(200);&lt;/p&gt;

&lt;p&gt;    a.    run filtered query on each shard&lt;br/&gt;
    b.    return ONLY the filter and sort fields to the mongos&lt;br/&gt;
    c.    merge and sort just the filter and sort fields on the mongos&lt;br/&gt;
    d.    select the documents from within the sort list that match the skip and limit values and and pull the rest of the fields from the various shards that contain these documents&lt;/p&gt;

&lt;p&gt;The result of this is that the recv buffers size would only need to be large enough to hold the key and sort attributes.  Another change to consider is to prefix the stream of data with a heads up token when the data anticipated is &amp;gt; then the normally allocated buffer.  This way you can allocate a larger buffer only when necessary (still have some maximum relative to the size of the total system memory).&lt;/p&gt;
</comment>
                            <comment id="191859" author="dale@dchpa.com" created="Sat, 17 Nov 2012 00:26:12 +0000"  >&lt;p&gt;we have 70 attributes we can sort on.  Adding and index would kill update performance to the point of being unusable.  I took out the recv limit that was hard coded to 48000000 and made it match my scanandsort size.  It seems to be working as a short term solution.  We will have to do performance testing on putting all the attributes into an array and creating a multi-key index on it &lt;/p&gt;</comment>
                            <comment id="191825" author="dan@10gen.com" created="Fri, 16 Nov 2012 23:25:26 +0000"  >&lt;p&gt;Hi Dale, I don&apos;t think this is related to the change from standalone to replica set backing the shard.&lt;/p&gt;

&lt;p&gt;On a single mongod, when you do a sort on an unindexed field, the entire result set needs to be held in memory for the sort.  This can be mitigated if you use a limit with an unindexed sort, because mongod only needs to keep a sorted list equal to the number of results specified in the limit.  However, when you use a skip and a limit, mongod needs to keep track of up to the skip plus the limit.&lt;/p&gt;

&lt;p&gt;When you run the exact same query on mongos, the skip portion is removed before it is forwarded to the shard.  This is because you cannot perform the skip until all the results are merged in the mongos.  This can push the query over the maximum amount of data allowed for an unindexed sort.&lt;/p&gt;

&lt;p&gt;This is why you&apos;re seeing the same query with a large skip work on a single mongod fail on the mongos.  One workaround is to raise an index on the sort key.&lt;/p&gt;</comment>
                            <comment id="191553" author="dale@dchpa.com" created="Fri, 16 Nov 2012 19:00:43 +0000"  >&lt;p&gt;Yes,  it seems that the mongos tries to allocate on the recv more memory that it is allowed to.  All our servers have 128GB of RAM on them and it is only trying to allocate 318MB and we are running just a single test. &lt;/p&gt;

&lt;p&gt;We made 2 mods to the mongo source&lt;br/&gt;
scanandorder.cpp&lt;/p&gt;

&lt;p&gt;    const unsigned ScanAndOrder::MaxScanAndOrderBytes = 1024 * 1024 * 1024;&lt;br/&gt;
builder.h&lt;br/&gt;
    const int BufferMaxSize = 1024 * 1024 * 1024;&lt;/p&gt;

&lt;p&gt;We did not change the bson max size because we are always limiting the results sets we return to the driver.&lt;/p&gt;
</comment>
                            <comment id="191043" author="adamc" created="Fri, 16 Nov 2012 05:37:14 +0000"  >&lt;p&gt;Dale - just to double check, does this accurately describe what you are seeing/doing:&lt;/p&gt;

&lt;p&gt;1. Engineer a large sort, close to the 32MB limit&lt;br/&gt;
2. Run the sort on a mongos, with a single mongod behind it --&amp;gt; Success&lt;br/&gt;
3. Run the same sort on a mongos, with a replica set behind it --&amp;gt; Fail&lt;/p&gt;

&lt;p&gt;Adam.&lt;/p&gt;</comment>
                            <comment id="190837" author="dale@dchpa.com" created="Thu, 15 Nov 2012 23:22:28 +0000"  >&lt;p&gt;from the mongos run the following:&lt;/p&gt;

&lt;p&gt;use admin&lt;br/&gt;
db.runCommand( &lt;/p&gt;
{ enablesharding : &quot;stress&quot; }
&lt;p&gt; );&lt;br/&gt;
db.runCommand( { shardcollection : &quot;stress.Post&quot;, key : &lt;/p&gt;
{ bigId : 1 }
&lt;p&gt; } )&lt;br/&gt;
use stress&lt;br/&gt;
db.Post.ensureIndex(&lt;/p&gt;
{&quot;bigId&quot;: 1}
&lt;p&gt;)&lt;br/&gt;
db.Post.find(&lt;/p&gt;
{&quot;bigId&quot;: 1}
&lt;p&gt;)&lt;/p&gt;

&lt;p&gt;run the test app attached&lt;br/&gt;
you need to run this data generator on a windows system with .net 4 installed(sorry)&lt;/p&gt;

&lt;p&gt;run these commands from the mongos&lt;br/&gt;
use stress&lt;br/&gt;
db.Post.find({}).sort(&lt;/p&gt;
{name : -1}
&lt;p&gt;).skip(50000).limit(100);&lt;/p&gt;

&lt;p&gt;you should see this:&lt;br/&gt;
error: &lt;/p&gt;
{ &quot;$err&quot; : &quot;error querying server&quot;, &quot;code&quot; : 15988 }


&lt;p&gt;server config is 3 node replica set and a single node mongos.&lt;/p&gt;</comment>
                            <comment id="190560" author="dale@dchpa.com" created="Thu, 15 Nov 2012 18:57:39 +0000"  >&lt;p&gt;Anecdotally, the query worked fine when the cluster was a single mongod behind a mongos.  The issue surfaced when we setup a replica set behind the mongos. &lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="56753">SERVER-7694</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="142917">SERVER-14299</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="21673" name="datagen.zip" size="381657" author="daleq" created="Thu, 15 Nov 2012 23:22:28 +0000"/>
                            <attachment id="49028" name="exec_knob.js" size="727" author="dan@mongodb.com" created="Thu, 31 Jul 2014 22:43:43 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>13.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 16 Nov 2012 05:37:14 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        7 years, 43 weeks, 5 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[<s><a href='https://jira.mongodb.org/browse/SERVER-7694'>SERVER-7694</a></s>]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            7 years, 43 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10000" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Old_Backport</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10000"><![CDATA[No]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>adamc</customfieldvalue>
            <customfieldvalue>sallgeud</customfieldvalue>
            <customfieldvalue>dale@dchpa.com</customfieldvalue>
            <customfieldvalue>dan@mongodb.com</customfieldvalue>
            <customfieldvalue>david.storch@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>jparkinson@absolute.com</customfieldvalue>
            <customfieldvalue>vtzvetkov@absolute.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrnhif:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrf0c7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>153</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="303">Query 2.7.8</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10750" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Steps To Reproduce</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt; &lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;db.Device.find ({AccountId : 223830}).sort( {DeviceName : 1}).skip(50000).limit(20)&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt; &lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;QA1MONGOS1:&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;mongos&amp;gt; db.Device.find ({AccountId : 223830}).sort( {DeviceName : 1}).skip(50000).limit(20)&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;error: { &quot;$err&quot; : &quot;error querying server&quot;, &quot;code&quot; : 15988 }&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt; &lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt; &lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;QA1MONGODB2:&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;PRIMARY&amp;gt; db.Device.find ({AccountId : 223830}).sort( {DeviceName : 1}).skip(50000).limit(20)&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;Successfully returns the data&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt; &lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;Log snippet&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt; &lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;Wed Nov 14 15:44:49 [conn384] recv(): message len 318953456 is too large318953456&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;Wed Nov 14 15:44:49 [conn384] DBClientCursor::init lazy say() failed&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;Wed Nov 14 15:44:49 [conn384] DBClientCursor::init message from say() was empty&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;Wed Nov 14 15:44:49 [conn384] got not master for: 172.16.170.142:20007&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;Wed Nov 14 15:44:49 [conn384] warning: db exception when finishing on rs0:rs0/172.16.170.141:20007,172.16.170.142:20007,172.16.170.143:20007, current connection state is { state: { conn: &quot;rs0/172.16.170.141:20007,172.16.170.142:20007,172.16.170.143:20007&quot;, vinfo: &quot;Reporting.Device @ 1|50||5085a74f60f379d79eeaac5b&quot;, cursor: &quot;(empty)&quot;, count: 0, done: false }, retryNext: false, init: true, finish: true, errored: false } :: caused by :: 15988 error querying server&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11861" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>User Summary</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="11856"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrkyc7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>