<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:36:55 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-34513] Caught WriteConflictException doing plan execution on collection</title>
                <link>https://jira.mongodb.org/browse/SERVER-34513</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Dear Mongo,&lt;/p&gt;

&lt;p&gt;I&apos;m writing regarding mongo WriteConflictException. We&apos;re using this server in production and problem happens to often.&lt;/p&gt;

&lt;p&gt;Here is what we got:&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;OS --&amp;gt; Debian Stretch 9.4&lt;/li&gt;
	&lt;li&gt;RAM --&amp;gt; 125 GB&lt;/li&gt;
	&lt;li&gt;CPU --&amp;gt; Intel Xeon CPU E5-2620 v4 2.10GHz (32 cores)&lt;/li&gt;
	&lt;li&gt;HDD --&amp;gt; 916 GB (we&apos;re not using XFS, instead we&apos;re using EXT4)&lt;/li&gt;
	&lt;li&gt;MongoDB --&amp;gt; Version 3.6.3&lt;/li&gt;
	&lt;li&gt;Installation is done following this manual (&lt;a href=&quot;https://docs.mongodb.com/manual/tutorial/install-mongodb-on-debian&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://docs.mongodb.com/manual/tutorial/install-mongodb-on-debian&lt;/a&gt;), package libssl1.0.0:amd64 (1.0.1t-1+deb8u7) is also installed.&lt;/li&gt;
	&lt;li&gt;Mongo service is started using systemd service with numactl&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;In attachment I&apos;m providing you a part of log that looks suspicious to me.&lt;/p&gt;

&lt;p&gt;If you need any additional information, please let me know.&lt;/p&gt;

&lt;p&gt;Thank you very much&lt;/p&gt;</description>
                <environment></environment>
        <key id="529224">SERVER-34513</key>
            <summary>Caught WriteConflictException doing plan execution on collection</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</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="nick.brewer">Nick Brewer</assignee>
                                    <reporter username="eldarhrelja">Eldar Hrelja</reporter>
                        <labels>
                    </labels>
                <created>Tue, 17 Apr 2018 08:01:05 +0000</created>
                <updated>Tue, 4 Sep 2018 03:03:05 +0000</updated>
                            <resolved>Mon, 6 Aug 2018 17:37:12 +0000</resolved>
                                    <version>3.6.3</version>
                                                    <component>Logging</component>
                    <component>Querying</component>
                    <component>Write Ops</component>
                                        <votes>0</votes>
                                    <watches>8</watches>
                                                                                                                <comments>
                            <comment id="1967913" author="nick.brewer" created="Mon, 6 Aug 2018 17:36:53 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=eldarhrelja&quot; class=&quot;user-hover&quot; rel=&quot;eldarhrelja&quot;&gt;eldarhrelja&lt;/a&gt; It looks like our troubleshooting of this ticket fell through the cracks - I&apos;m sorry about that. Looking at the diagnostic data and logs you&apos;ve provided, you&apos;re correct that there doesn&apos;t appear to be any cause for concern, as the conflicting operations should retry without issue, and the conflicts are not causing any meaningful impact on performance.&#160;&lt;/p&gt;

&lt;p&gt;-Nick&lt;/p&gt;</comment>
                            <comment id="1881344" author="eldarhrelja" created="Thu, 3 May 2018 06:59:54 +0000"  >&lt;p&gt;Dear Bruce,&lt;/p&gt;

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

&lt;p&gt;Thank you very much for your quick support and sorry for my late reply. For now we&apos;re concern only with the message in the mongod log. Now I&apos;m using logrotate setup to rotate mongo log files every 1 hour and this error occurs every few minutes per one log file.&lt;/p&gt;

&lt;p&gt;We&apos;ve been setup everything from scratch, new installation of our platform without any upgrades including mongo service. As we can notice for now, this doesn&apos;t have an impact on our application and most mongo connections are related with Java Android applications through API.&lt;/p&gt;

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

&lt;p&gt;Here is diagnostic.data and logs in attachment&lt;/p&gt;

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

&lt;p&gt;Kind regards&lt;/p&gt;

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

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

&lt;p&gt;&#160;&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/attachment/185789/185789_diagnostic.tar.gz&quot; title=&quot;diagnostic.tar.gz attached to SERVER-34513&quot;&gt;diagnostic.tar.gz&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/185790/185790_logs.tar.gz&quot; title=&quot;logs.tar.gz attached to SERVER-34513&quot;&gt;logs.tar.gz&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;</comment>
                            <comment id="1866786" author="bruce.lucas@10gen.com" created="Tue, 17 Apr 2018 19:06:46 +0000"  >&lt;p&gt;Hi Eldar,&lt;/p&gt;

&lt;p&gt;Thanks for your report. Can you clarify what impact this issue has on your application, or is your concern only with the message in the mongod log? How often does this occur? Were there any changes, such as upgrade of mongod or changes in the application, when you started seeing this issue?&lt;/p&gt;

&lt;p&gt;So that we can investigate further, can you please upload to &lt;a href=&quot;https://10gen-httpsupload.s3.amazonaws.com/upload_forms/2bc8a750-f482-48e8-a0e4-1a4745e6adb0.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;this secure private portal&lt;/a&gt; the following for the affected mongod node:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;the archived content of $dbpath/diagnostic.data&lt;/li&gt;
	&lt;li&gt;the most recent few days or more worth of mongod log files, including several instances of the error message.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Thanks,&lt;br/&gt;
Bruce&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="185789" name="diagnostic.tar.gz" size="41314362" author="eldarhrelja" created="Thu, 3 May 2018 06:59:09 +0000"/>
                            <attachment id="185790" name="logs.tar.gz" size="4095025" author="eldarhrelja" created="Thu, 3 May 2018 06:59:25 +0000"/>
                            <attachment id="184256" name="mongo_error" size="8698" author="eldarhrelja" created="Tue, 17 Apr 2018 07:58:08 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 17 Apr 2018 19:06:46 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        5 years, 27 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>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>backlog-server-pm</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            5 years, 27 weeks, 2 days 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>bruce.lucas@mongodb.com</customfieldvalue>
            <customfieldvalue>eldarhrelja</customfieldvalue>
            <customfieldvalue>nick.brewer</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|htvlsv:</customfieldvalue>

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

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