<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 03:01:05 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-2750] assertion failed whe using pymongo find_and_modify on sharded db</title>
                <link>https://jira.mongodb.org/browse/SERVER-2750</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;when using my sharded cluster of mongo I&apos;ve got this error.&lt;/p&gt;

&lt;p&gt;Traceback (most recent call last):&lt;br/&gt;
  File &quot;dbconnector.py&quot;, line 36, in eval_cmd&lt;br/&gt;
    res = eval_expr(block, variables)&lt;br/&gt;
  File &quot;dbconnector.py&quot;, line 29, in eval_expr&lt;br/&gt;
    return eval(expr, &lt;/p&gt;
{&quot;__builtins__&quot;:None}
&lt;p&gt;, variables )&lt;br/&gt;
  File &quot;&amp;lt;string&amp;gt;&quot;, line 1, in &amp;lt;module&amp;gt;&lt;br/&gt;
  File &quot;dbmodules.py&quot;, line 162, in unregister_phone&lt;br/&gt;
    ab = mdb.addressbooks.find_and_modify(query=&lt;/p&gt;
{AB_UDID:udid}
&lt;p&gt;, remove=True)&lt;br/&gt;
  File &quot;build/bdist.linux-i686/egg/pymongo/collection.py&quot;, line 1061, in find_and_modify&lt;br/&gt;
    allowable_errors=&lt;span class=&quot;error&quot;&gt;&amp;#91;no_obj_error&amp;#93;&lt;/span&gt;, **kwargs)&lt;br/&gt;
  File &quot;build/bdist.linux-i686/egg/pymongo/database.py&quot;, line 293, in command&lt;br/&gt;
    msg, allowable_errors)&lt;br/&gt;
  File &quot;build/bdist.linux-i686/egg/pymongo/helpers.py&quot;, line 125, in _check_command_response&lt;br/&gt;
    raise OperationFailure(ex_msg, response.get(&quot;assertionCode&quot;))&lt;br/&gt;
OperationFailure: db assertion failure, assertion: &apos;DBClientBase::findOne: transport error: amdbm006:10000 query: { findAndModify: &quot;addressbooks&quot;, query: &lt;/p&gt;
{ _id: &quot;f5e58a32cc4ce39734deadf4349350269f7ab311&quot; }
&lt;p&gt;, remove: true }&apos;, assertionCode&lt;br/&gt;
: 10276&lt;/p&gt;</description>
                <environment></environment>
        <key id="15101">SERVER-2750</key>
            <summary>assertion failed whe using pymongo find_and_modify on sharded db</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="5">Cannot Reproduce</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="ofersa">ofer samocha</reporter>
                        <labels>
                    </labels>
                <created>Sat, 12 Mar 2011 10:40:00 +0000</created>
                <updated>Fri, 30 Mar 2012 14:36:59 +0000</updated>
                            <resolved>Sun, 13 Mar 2011 06:29:41 +0000</resolved>
                                    <version>1.7.6</version>
                                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="25841" author="eliot" created="Sun, 13 Mar 2011 06:37:23 +0000"  >&lt;p&gt;No, retry is not safe in the general case as it depends on exaclty when/where things fail.&lt;/p&gt;</comment>
                            <comment id="25840" author="ofersa" created="Sun, 13 Mar 2011 06:34:19 +0000"  >&lt;p&gt;can you implement retry mechanism in mongos ?&lt;/p&gt;</comment>
                            <comment id="25838" author="eliot" created="Sun, 13 Mar 2011 06:29:41 +0000"  >&lt;p&gt;Seems to be networking issue&lt;/p&gt;</comment>
                            <comment id="25837" author="eliot" created="Sun, 13 Mar 2011 06:29:25 +0000"  >&lt;p&gt;That looks like a networking blip, not something we could fix.&lt;/p&gt;

&lt;p&gt;The reason I would upgrade is that 1.7.5 is part of the ubstable series, so 1.8.0-rc2 is more stable&lt;/p&gt;</comment>
                            <comment id="25835" author="ofersa" created="Sat, 12 Mar 2011 23:08:03 +0000"  >&lt;p&gt;mongos side claimed for socket closed.&lt;br/&gt;
Fri Mar 11 10:36:22 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn7&amp;#93;&lt;/span&gt; MessagingPort recv() errno:110 Connection timed out 10.78.41.204:10000&lt;br/&gt;
Fri Mar 11 10:36:22 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn7&amp;#93;&lt;/span&gt; SocketException: remote:  error: 9001 socket exception &lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt;&lt;br/&gt;
Fri Mar 11 10:36:22 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn7&amp;#93;&lt;/span&gt; DBClientCursor::init call() failed&lt;/p&gt;


&lt;p&gt;amdbm006 claimed for end connection:&lt;br/&gt;
Fri Mar 11 10:36:42 &lt;span class=&quot;error&quot;&gt;&amp;#91;conn4361&amp;#93;&lt;/span&gt; end connection 10.196.238.129:42484&lt;br/&gt;
Fri Mar 11 10:36:42 &lt;span class=&quot;error&quot;&gt;&amp;#91;initandlisten&amp;#93;&lt;/span&gt; connection accepted from 10.196.238.129:49995 #5185&lt;/p&gt;


&lt;p&gt;was that fixed in 1.8.0 rc2 ?&lt;/p&gt;</comment>
                            <comment id="25834" author="eliot" created="Sat, 12 Mar 2011 22:55:52 +0000"  >&lt;p&gt;Can you check amdbm006?&lt;br/&gt;
Looks like it simply couldn&apos;t talk to that shard.&lt;/p&gt;

&lt;p&gt;Also, I would recommend upgrading to 1.8.0-rc2 asap&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>6.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Sat, 12 Mar 2011 22:55:52 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        12 years, 49 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>ian@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            12 years, 49 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="10020"><![CDATA[Linux]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>ofersa</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrp3pr:</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>20931</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|ht0c4f:</customfieldvalue>

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