<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:16:52 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-8228] Map Reduce Data Will Sometimes Not Get Inserted</title>
                <link>https://jira.mongodb.org/browse/SERVER-8228</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;We are able to run a series of map reduces that write data into an output collection without issue. However, we noticed that our results were not consistent so in testing and trying to find the issue, I have tried each of the following scenarios:&lt;/p&gt;

&lt;p&gt;Sharded database/input/output collections:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Run map reduces&lt;/li&gt;
	&lt;li&gt;See bad results&lt;/li&gt;
	&lt;li&gt;Drop and recreate output collection&lt;/li&gt;
	&lt;li&gt;Run all map reduces&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;AND&lt;/p&gt;

&lt;p&gt;Unsharded database:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Run map reduces&lt;/li&gt;
	&lt;li&gt;See bad results&lt;/li&gt;
	&lt;li&gt;Delete documents for one of the map reduces&lt;/li&gt;
	&lt;li&gt;Rerun the one map reduce&lt;/li&gt;
&lt;/ul&gt;



&lt;p&gt;The results were the same no matter what we did:&lt;br/&gt;
The map reduces after documents were deleted did not insert any documents, but ran successfully. We have checked the queries that the map/reduces run on and they return thousands of documents. Some map reduces take up to 2 minutes which is normal on our weak cluster and yet put nothing in the output collection.&lt;/p&gt;

&lt;p&gt;We started with everything sharded, moved to everything unsharded, saw the error within 2 days (didn&apos;t happen at first), then we built a MASSIVE (128 GB RAM, 16 core) unsharded, unreplicated mongodb server and have not seen the error yet.&lt;/p&gt;</description>
                <environment></environment>
        <key id="62558">SERVER-8228</key>
            <summary>Map Reduce Data Will Sometimes Not Get Inserted</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="4">Incomplete</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="wwatson">William Watson</reporter>
                        <labels>
                    </labels>
                <created>Fri, 18 Jan 2013 14:41:30 +0000</created>
                <updated>Wed, 10 Dec 2014 23:18:35 +0000</updated>
                            <resolved>Mon, 28 Oct 2013 00:32:20 +0000</resolved>
                                    <version>2.2.2</version>
                                                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="447364" author="stennie" created="Mon, 28 Oct 2013 00:32:20 +0000"  >&lt;p&gt;Hi William,&lt;/p&gt;

&lt;p&gt;I&apos;m closing this issue due to inactivity.&lt;/p&gt;

&lt;p&gt;If you are still seeing this issue (particularly with a newer version of MongoDB, such as 2.4.x) please feel free to open a new issue or comment on this one with the relevant details.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Stephen&lt;/p&gt;</comment>
                            <comment id="243714" author="barrie" created="Fri, 18 Jan 2013 17:59:55 +0000"  >&lt;p&gt;William, you can open a ticket in the Community Private project and attach the logs there. Only you, as the reporter of the ticket, and the dev team here will have access to it. &lt;/p&gt;</comment>
                            <comment id="243708" author="wwatson" created="Fri, 18 Jan 2013 17:57:13 +0000"  >&lt;p&gt;As long as you agree to not post the code to any ticket or public forum, and do dont disclose the code outside of 10gen, we will gladly email it.&lt;/p&gt;</comment>
                            <comment id="243702" author="wwatson" created="Fri, 18 Jan 2013 17:48:52 +0000"  >&lt;p&gt;We can email the code to a 10gen employee, but we will not post it here.&lt;/p&gt;</comment>
                            <comment id="243615" author="eliot" created="Fri, 18 Jan 2013 16:15:17 +0000"  >&lt;p&gt;Can you send the map/reduce jobs you are running?&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 18 Jan 2013 16:15:17 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        10 years, 16 weeks, 3 days 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>ramon.fernandez@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            10 years, 16 weeks, 3 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>barrie</customfieldvalue>
            <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>stephen.steneker@mongodb.com</customfieldvalue>
            <customfieldvalue>wwatson</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrnb1r:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>40105</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;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Run a map/reduce/finalize on a sharded or unsharded, but replicated data set.&lt;/li&gt;
	&lt;li&gt;Delete some documents from output collection.&lt;/li&gt;
	&lt;li&gt;Rerun map reduces.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;This error, as far as we know, wasn&apos;t seen until version 2.2 of mongoDB. We were running these map reduces for months without major issue on 2.0, but we&apos;ve never used anything besides 2.0.4 and 2.2.2&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_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|ht00kf:</customfieldvalue>

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