<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:54:24 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-531] error1.js test may fail due to client sending killcursors</title>
                <link>https://jira.mongodb.org/browse/SERVER-531</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;The error1.js test checks consistency of the lastError and prevError commands.  Our js clients may destroy a DBClientCursor at any  time (as the js garbage collector runs) and send a killCursors message at any time.  This killCursors message may be sent during an error1.js run, interfering with the proper running of the test.&lt;/p&gt;

&lt;p&gt;One way to fix this would be to add the option in the shell to kill all cursors manually (through a shell command) instead of automatically through garbage collection.&lt;/p&gt;

&lt;p&gt;Another fix is to move the error1.js and other similar error tests to the c++ client test, where we have more control over killCursors already.&lt;/p&gt;

&lt;p&gt;Yet another fix would be to continue killing cursors in the shell triggered by gc, but to send the killCursors request via a separate db connection.&lt;/p&gt;</description>
                <environment></environment>
        <key id="11107">SERVER-531</key>
            <summary>error1.js test may fail due to client sending killcursors</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="aaron">Aaron Staple</assignee>
                                    <reporter username="aaron">Aaron Staple</reporter>
                        <labels>
                    </labels>
                <created>Mon, 11 Jan 2010 20:05:00 +0000</created>
                <updated>Tue, 12 Jul 2016 00:28:28 +0000</updated>
                            <resolved>Tue, 12 Jan 2010 15:39:53 +0000</resolved>
                                                    <fixVersion>1.3.1</fixVersion>
                                    <component>Tools</component>
                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="11730" author="auto" created="Tue, 12 Jan 2010 19:56:39 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Aaron&apos;, &apos;email&apos;: &apos;aaron@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-531&quot; title=&quot;error1.js test may fail due to client sending killcursors&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-531&quot;&gt;&lt;del&gt;SERVER-531&lt;/del&gt;&lt;/a&gt; use correct threading model for disabling lastError&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/81dd7eed519dd1e911ff344c1f098501fa6bdd97&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/81dd7eed519dd1e911ff344c1f098501fa6bdd97&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="11729" author="auto" created="Tue, 12 Jan 2010 18:33:49 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Aaron&apos;, &apos;email&apos;: &apos;aaron@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-531&quot; title=&quot;error1.js test may fail due to client sending killcursors&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-531&quot;&gt;&lt;del&gt;SERVER-531&lt;/del&gt;&lt;/a&gt; refactor code for not influencing lastError&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/cf3b8f2468ef1844e38c092b72d53148cd775567&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/cf3b8f2468ef1844e38c092b72d53148cd775567&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="11727" author="auto" created="Tue, 12 Jan 2010 14:38:27 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Aaron&apos;, &apos;email&apos;: &apos;aaron@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-531&quot; title=&quot;error1.js test may fail due to client sending killcursors&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-531&quot;&gt;&lt;del&gt;SERVER-531&lt;/del&gt;&lt;/a&gt; killCursors no longer affects lastError&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/f1f1493304d9b83b19bee82c71b8dc86c0bd26fb&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/f1f1493304d9b83b19bee82c71b8dc86c0bd26fb&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="11725" author="aaron" created="Tue, 12 Jan 2010 12:26:39 +0000"  >&lt;p&gt;Sure, I&apos;ll do it&lt;/p&gt;</comment>
                            <comment id="11724" author="dwight_10gen" created="Tue, 12 Jan 2010 11:19:58 +0000"  >&lt;p&gt;yes - let&apos;s have killcursors not effect lasterror, and rather, put something in db log if necessary.  can you make that change aaron?&lt;/p&gt;</comment>
                            <comment id="11715" author="mike" created="Mon, 11 Jan 2010 21:03:22 +0000"  >&lt;p&gt;i think eliot&apos;s suggestion makes sense - users would probably be surprised to have their lastError calls affected by killcursors they didn&apos;t even make&lt;/p&gt;</comment>
                            <comment id="11714" author="aaron" created="Mon, 11 Jan 2010 20:40:25 +0000"  >&lt;p&gt;If you&apos;re happy with that from a functionality standpoint, it&apos;s fine with me.  Right now killCursors can assert in a few different situations (including if the client requests that too many cursors be killed) but with the current code there&apos;s no actual confirmation that cursors were found and have been killed (presumably b/c it&apos;s not an error if the cursor timed out on its own first).  I guess we could say that killCursors is just a hint for mongod and therefore confirmation / lastError isn&apos;t necessary.&lt;/p&gt;

&lt;p&gt;I&apos;ll just double check with Dwight.  Dwight, is it ok to disable lastError for killCursors?&lt;/p&gt;</comment>
                            <comment id="11713" author="eliot" created="Mon, 11 Jan 2010 20:29:26 +0000"  >&lt;p&gt;What about not making kill cursors effect last error?  Lots of drivers randomly call it, so this might make sense anyway&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>8.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 11 Jan 2010 20:29:26 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        14 years, 6 weeks, 1 day 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>
                            14 years, 6 weeks, 1 day 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_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>aaron</customfieldvalue>
            <customfieldvalue>auto</customfieldvalue>
            <customfieldvalue>dwight@mongodb.com</customfieldvalue>
            <customfieldvalue>eliot</customfieldvalue>
            <customfieldvalue>mike</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrpt4f:</customfieldvalue>

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

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

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