<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:11:50 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-26351] E11000 duplicate key error, why multiple formats?</title>
                <link>https://jira.mongodb.org/browse/SERVER-26351</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;I am receiving the E11000 duplicate key error in different formats when running our application on different local machines.&lt;/p&gt;

&lt;p&gt;Format 1:&lt;br/&gt;
u&apos;E11000 duplicate key error collection: baseclass.users index: email dup key: { : &quot;jianyang@mailinator.com&quot; }&apos;&lt;/p&gt;

&lt;p&gt;Format 2:&lt;br/&gt;
u&apos;E11000 duplicate key error index: baseclass.users.$email dup key: { : &quot;jianyang@mailinator.com&quot; }&apos;&lt;/p&gt;

&lt;p&gt;What is the reason for this, and how can I control this formatting? I am trying to reliably extract some data from this string.&lt;/p&gt;</description>
                <environment></environment>
        <key id="319160">SERVER-26351</key>
            <summary>E11000 duplicate key error, why multiple formats?</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="backlog-server-execution">Backlog - Storage Execution Team</assignee>
                                    <reporter username="cantonellis">Christopher Antonellis</reporter>
                        <labels>
                            <label>neweng</label>
                    </labels>
                <created>Tue, 27 Sep 2016 15:09:55 +0000</created>
                <updated>Tue, 6 Dec 2022 04:15:45 +0000</updated>
                            <resolved>Mon, 10 Jun 2019 20:57:37 +0000</resolved>
                                    <version>3.2.9</version>
                                                    <component>Logging</component>
                                        <votes>0</votes>
                                    <watches>8</watches>
                                                                                                                <comments>
                            <comment id="2278523" author="milkie" created="Mon, 10 Jun 2019 20:57:38 +0000"  >&lt;p&gt;We believe the multiple code paths have now been unified.&lt;/p&gt;</comment>
                            <comment id="1409146" author="geert.bosch" created="Fri, 14 Oct 2016 20:10:47 +0000"  >&lt;p&gt;The issue is that these errors are generated by different storage engines (MMAPv1 / WiredTiger). In order to make sure the same message is generated, we&apos;d have to pull that logic out of the storage engines. Additionally, WiredTiger includes the collection name in the message, which is not accessible in the &lt;tt&gt;BtreeLogic&lt;/tt&gt; class where MMAPv1 generates the message. &lt;/p&gt;</comment>
                            <comment id="1406200" author="cantonellis" created="Wed, 12 Oct 2016 13:58:00 +0000"  >&lt;p&gt;Thomas &amp;amp; Ian, thanks for your responses.&lt;/p&gt;

&lt;p&gt;Ian, could you elaborate on what you mean by &quot;different code paths&quot; so I can better understand the issue? I would like to be able to describe the issue to my team in the best detail possible. Thank You&lt;/p&gt;</comment>
                            <comment id="1399190" author="ian@10gen.com" created="Mon, 3 Oct 2016 20:18:51 +0000"  >&lt;p&gt;Hi Chris, you&apos;re seeing the different in log lines because these are two different code paths - and there is not a way you can currently control the formatting.  We&apos;re currently in freeze to prep for the 3.4 release but will look at cleaning up these log messages in the future.&lt;/p&gt;</comment>
                            <comment id="1394688" author="thomas.schubert" created="Tue, 27 Sep 2016 15:42:36 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=cantonellis&quot; class=&quot;user-hover&quot; rel=&quot;cantonellis&quot;&gt;cantonellis&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;Thanks for reporting this issue &#8211; I&apos;ve assigned it to our Integration Team to investigate. Please continue to watch for updates.&lt;/p&gt;

&lt;p&gt;Kind regards,&lt;br/&gt;
Thomas&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_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25136"><![CDATA[Storage Execution]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 27 Sep 2016 15:42:36 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        4 years, 35 weeks, 2 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>false</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>alexander.golin@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            4 years, 35 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>backlog-server-execution</customfieldvalue>
            <customfieldvalue>cantonellis</customfieldvalue>
            <customfieldvalue>milkie@mongodb.com</customfieldvalue>
            <customfieldvalue>geert.bosch@mongodb.com</customfieldvalue>
            <customfieldvalue>ian@mongodb.com</customfieldvalue>
            <customfieldvalue>kelsey.schubert@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrjuvr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr75z3:</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_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|hsei33:</customfieldvalue>

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