<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:57:30 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-63329] Segmentation fault when nested documents too deep.</title>
                <link>https://jira.mongodb.org/browse/SERVER-63329</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;A Segmentation Fault occurs when nested documents get to a certain level. On my machine it was ~13000. This isn&apos;t terribly important to me (I found it because of a bug in my own code) but I don&apos;t think a Segmentation Fault is ever supposed to happen. Also it is fairly simple to reproduce.&#160;This crashed both a simple 3 server replica set (will crash secondaries if &apos;prefer_secondary&apos; is enabled) as well as a single server.&#160; The Segmentation Fault seems much more pronounced on the replica set (I am probably just a noob at reading MongoDB status though).&lt;/p&gt;

&lt;p&gt;I am running&#160;Ubuntu 20.04.3 LTS and I tried this on MongoDB releases 5.0.6 and 4.4.11.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1978075">SERVER-63329</key>
            <summary>Segmentation fault when nested documents too deep.</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="13204">Community Answered</resolution>
                                        <assignee username="dmitry.agranat@mongodb.com">Dmitry Agranat</assignee>
                                    <reporter username="letsgoappworker101@gmail.com">Jeremiah Gleason</reporter>
                        <labels>
                    </labels>
                <created>Sun, 6 Feb 2022 01:50:05 +0000</created>
                <updated>Fri, 27 Oct 2023 15:56:25 +0000</updated>
                            <resolved>Wed, 23 Feb 2022 12:10:29 +0000</resolved>
                                    <version>5.0.6</version>
                    <version>4.4.11</version>
                                                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="4371117" author="dmitry.agranat" created="Wed, 23 Feb 2022 12:10:16 +0000"  >&lt;p&gt;Closing this out as the reported issue was identified.&lt;/p&gt;</comment>
                            <comment id="4341793" author="dmitry.agranat" created="Tue, 8 Feb 2022 13:24:34 +0000"  >&lt;p&gt;Yes, this might be possible when you hit some defined limits, for example, &lt;tt&gt;maxBSONDepth&lt;/tt&gt;, &lt;tt&gt;internalPipelineLengthLimit&lt;/tt&gt; but there might be others.&lt;/p&gt;</comment>
                            <comment id="4341740" author="JIRAUSER1264724" created="Tue, 8 Feb 2022 12:57:40 +0000"  >&lt;p&gt;I see. I an certainly no expert at mongoDB. Is it normal to seg fault over a certain number as well?&lt;/p&gt;</comment>
                            <comment id="4341438" author="dmitry.agranat" created="Tue, 8 Feb 2022 09:29:58 +0000"  >&lt;p&gt;Thanks &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=letsgoappworker101%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;letsgoappworker101@gmail.com&quot;&gt;letsgoappworker101@gmail.com&lt;/a&gt;, this is the same result from my experiments with your command where I was getting right away the &lt;b&gt;cannot convert document to BSON because it exceeds the limit of 200 levels of nesting&lt;/b&gt; error with iterations number above 199:&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;{&#8220;t&#8221;:{&#8220;$date&#8221;:&#8220;2022-02-07T12:25:40.743+00:00&#8221;},&#8220;s&#8221;:&#8220;W&#8221;,  &#8220;c&#8221;:&#8220;COMMAND&#8221;,  &#8220;id&#8221;:23799,   &#8220;ctx&#8221;:&#8220;conn62&quot;,&#8220;msg&#8221;:&#8220;Aggregate command executor error&#8221;,&#8220;attr&#8221;:{&#8220;error&#8221;:{&#8220;code&#8221;:15,&#8220;codeName&#8221;:&#8220;Overflow&#8221;,&#8220;errmsg&#8221;:&#8220;cannot convert document to BSON because it exceeds the limit of 200 levels of nesting&#8221;},&#8220;stats&#8221;:{&#8220;stage&#8221;:&#8220;PROJECTION_DEFAULT&#8221;,&#8220;nReturned&#8221;:1,&#8220;works&#8221;:2,&#8220;advanced&#8221;:1,&#8220;needTime&#8221;:1,&#8220;needYield&#8221;:0,&#8220;saveState&#8221;:0,&#8220;restoreState&#8221;:0,&#8220;isEOF&#8221;:0,&#8220;transformBy&#8221;:{},&#8220;inputStage&#8221;:{&#8220;stage&#8221;:&#8220;COLLSCAN&#8221;,&#8220;nReturned&#8221;:1,&#8220;works&#8221;:2,&#8220;advanced&#8221;:1,&#8220;needTime&#8221;:1,&#8220;needYield&#8221;:0,&#8220;saveState&#8221;:0,&#8220;restoreState&#8221;:0,&#8220;isEOF&#8221;:0,&#8220;direction&#8221;:&#8220;forward&#8221;,&#8220;docsExamined&#8221;:1}},&#8220;cmd&#8221;:{&#8220;aggregate&#8221;:&#8220;test_collection&#8221;,&#8220;pipeline&#8221;:[{&#8220;$project&#8221;:{&#8220;random_field_name&#8221;:{&#8220;$reduce&#8221;:{&#8220;input&#8221;:[1,1............1,1]}}}}]}},&#8220;truncated&#8221;:{&#8220;cmd&#8221;:{&#8220;pipeline&#8221;:{&#8220;0&quot;:{&#8220;$project&#8221;:{&#8220;random_field_name&#8221;:{&#8220;$reduce&#8221;:{&#8220;input&#8221;:{&#8220;5072&#8221;:{&#8220;type&#8221;:&#8220;double&#8221;,&#8220;size&#8221;:8}}}}}}}}},&#8220;size&#8221;:{&#8220;cmd&#8221;:2289292}}&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;This is because there is a limit for &lt;a href=&quot;https://docs.mongodb.com/manual/reference/limits/#mongodb-limit-Nested-Depth-for-BSON-Documents&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;nested depth for BSON documents&lt;/a&gt; which is documented as 100 but is actually set to 200, you can see &lt;tt&gt;maxBSONDepth&lt;/tt&gt; in your &lt;tt&gt;getParameter&lt;/tt&gt; output:&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;&quot;maxBSONDepth&quot; : 200&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;
</comment>
                            <comment id="4340839" author="JIRAUSER1264724" created="Mon, 7 Feb 2022 22:27:15 +0000"  >&lt;p&gt;&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/attachment/359122/359122_admin_getParameters&quot; title=&quot;admin_getParameters attached to SERVER-63329&quot;&gt;admin_getParameters&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;https://jira.mongodb.org/images/icons/link_attachment_7.gif&quot; height=&quot;7&quot; width=&quot;7&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;sup&gt;&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/attachment/359125/359125_replica_set_primary_1_12898.log&quot; title=&quot;replica_set_primary_1_12898.log attached to SERVER-63329&quot;&gt;replica_set_primary_1_12898.log&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;https://jira.mongodb.org/images/icons/link_attachment_7.gif&quot; height=&quot;7&quot; width=&quot;7&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/sup&gt;&lt;/p&gt;

&lt;p&gt;I got the parameters and put them inside the attached file. I also reproduced the bug immediately afterwards on the replica set to make sure it was still breaking.&lt;/p&gt;

&lt;p&gt;I also tried your experiment, I used 198 and it worked just fine. So I decided to expand on it a little bit. I tried it with every number from 1 and up and caught the errors all the way up. (I attached the log)&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;1 -&amp;gt; 199; Everything works fine.&lt;/li&gt;
	&lt;li&gt;200 -&amp;gt; 12,897; Error &apos;cannot convert document to BSON because it exceeds the limit of 200 levels of nesting&apos;.&lt;/li&gt;
	&lt;li&gt;12,898; Primary server Segmentation Fault.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Sending any value 12,898 or higher seems to cause a Segmentation Fault. Also it might be worth mentioning that I wrote the code for this test in mongocxx. However, the bug is reproducible in both the shell and the driver for me with the same code.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="4338996" author="dmitry.agranat" created="Mon, 7 Feb 2022 13:47:48 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=letsgoappworker101%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;letsgoappworker101@gmail.com&quot;&gt;letsgoappworker101@gmail.com&lt;/a&gt;, can you please try the same experiment but change the &lt;tt&gt;for&lt;/tt&gt; loop to push &lt;b&gt;198&lt;/b&gt; into an array instead of 150000?&lt;/p&gt;

&lt;p&gt;In addition, please post the output for &lt;tt&gt;getParameter&lt;/tt&gt;:&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;   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;use admin&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;db.runCommand({ &lt;/span&gt;&lt;span style=&quot;color: blue; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;&quot;getParameter&quot;&lt;/span&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;span style=&quot;color: blue; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;&quot;*&quot;&lt;/span&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;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;</comment>
                            <comment id="4338186" author="JIRAUSER1264724" created="Sun, 6 Feb 2022 15:30:35 +0000"  >&lt;p&gt;&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/attachment/358891/358891_single_server_instance_mongod.log&quot; title=&quot;single_server_instance_mongod.log attached to SERVER-63329&quot;&gt;single_server_instance_mongod.log&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;https://jira.mongodb.org/images/icons/link_attachment_7.gif&quot; height=&quot;7&quot; width=&quot;7&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/attachment/358892/358892_replica_set_primary_instance_mongodb.log&quot; title=&quot;replica_set_primary_instance_mongodb.log attached to SERVER-63329&quot;&gt;replica_set_primary_instance_mongodb.log&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;https://jira.mongodb.org/images/icons/link_attachment_7.gif&quot; height=&quot;7&quot; width=&quot;7&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Here is a log for a replica set and for the single server.&lt;/p&gt;

&lt;p&gt;In the replica set the terminal that is running the server will say &apos;Segmentation fault (core dumped)&apos; at the end and crash.&lt;/p&gt;

&lt;p&gt;To generate those logs all I did was.&lt;/p&gt;

&lt;p&gt;1) Reinstall MongoDB.&lt;/p&gt;

&lt;p&gt;2) Start the server or replica set (no data in them at the time).&lt;/p&gt;

&lt;p&gt;3) Insert a blank document to the collection &apos;test_collection&apos;.&lt;/p&gt;

&lt;p&gt;4) Run the shell command above (changing test to test_collection).&lt;/p&gt;</comment>
                            <comment id="4338126" author="dmitry.agranat" created="Sun, 6 Feb 2022 11:08:57 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=letsgoappworker101%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;letsgoappworker101@gmail.com&quot;&gt;letsgoappworker101@gmail.com&lt;/a&gt;, can you attach the &lt;tt&gt;mongod&lt;/tt&gt; log with the full segmentation faults output?&lt;/p&gt;</comment>
                            <comment id="4337990" author="JIRAUSER1264724" created="Sun, 6 Feb 2022 01:54:32 +0000"  >&lt;p&gt;Adding a comment because my code didn&apos;t turn out very well apparently ( i ) makes a symbol and I don&apos;t know how to do indentation.&lt;/p&gt;

&lt;p&gt;var my_arr = []&lt;/p&gt;

&lt;p&gt;for (var i = 0; i &amp;lt;= 150000; i++) my_arr.push(1)&lt;/p&gt;

&lt;p&gt;db.test.aggregate([{$project: {&quot;random_field_name&quot;: {$reduce: { &quot;input&quot;: my_arr, &quot;initialValue&quot;: &quot;this_value_does_not_matter&quot;,&#160; &quot;in&quot;: &lt;/p&gt;
{ &quot;this_name_does_not_matter_TWO&quot;: &quot;$$value&quot;}
&lt;p&gt;}}}}])&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="359122" name="admin_getParameters" size="13985" author="letsgoappworker101@gmail.com" created="Mon, 7 Feb 2022 21:50:52 +0000"/>
                            <attachment id="359121" name="admin_parameters" size="13985" author="letsgoappworker101@gmail.com" created="Mon, 7 Feb 2022 21:50:28 +0000"/>
                            <attachment id="359125" name="replica_set_primary_1_12898.log" size="83661" author="letsgoappworker101@gmail.com" created="Mon, 7 Feb 2022 22:24:19 +0000"/>
                            <attachment id="358892" name="replica_set_primary_instance_mongodb.log" size="80759" author="letsgoappworker101@gmail.com" created="Sun, 6 Feb 2022 15:29:22 +0000"/>
                            <attachment id="358891" name="single_server_instance_mongod.log" size="44153" author="letsgoappworker101@gmail.com" created="Sun, 6 Feb 2022 15:29:10 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Sun, 6 Feb 2022 11:08:57 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        1 year, 50 weeks ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></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>
                            1 year, 50 weeks ago
                        </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>dmitry.agranat@mongodb.com</customfieldvalue>
            <customfieldvalue>letsgoappworker101@gmail.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i0ja4f:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</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_10750" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Steps To Reproduce</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;1) Insert a document into a collection (&apos;test&apos; in my code). Fields are irrelevant.&lt;/p&gt;

&lt;p&gt;2) From the shell, run below code on the collection.&lt;/p&gt;

&lt;p&gt;var my_arr = []&lt;/p&gt;

&lt;p&gt;for (var i = 0; i &amp;lt;= 150000; i++) my_arr.push&lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/information.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;

&lt;p&gt;db.test.aggregate([&lt;br/&gt;
    {$project: {&lt;br/&gt;
            &quot;random_field_name&quot;: {&lt;br/&gt;
                $reduce: {&lt;br/&gt;
                    &quot;input&quot;: my_arr,&lt;br/&gt;
                    &quot;initialValue&quot;: &quot;this_value_does_not_matter&quot;,&lt;br/&gt;
                    &quot;in&quot;: &lt;/p&gt;
{
                        &quot;this_name_does_not_matter_TWO&quot;: &quot;$$value&quot;
                    }
&lt;p&gt;                }&lt;br/&gt;
            }&lt;br/&gt;
        }&lt;br/&gt;
    }&lt;br/&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>
                                    <customfieldvalue><![CDATA[dmitry.agranat@mongodb.com]]></customfieldvalue>
    

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

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