<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:53: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-387] currentOp() and killOp() don&apos;t work right with db.eval()</title>
                <link>https://jira.mongodb.org/browse/SERVER-387</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;currentOp() doesn&apos;t indicate an eval is in progress.&lt;/p&gt;

&lt;p&gt;killOp() won&apos;t kill it either.&lt;/p&gt;

</description>
                <environment></environment>
        <key id="10802">SERVER-387</key>
            <summary>currentOp() and killOp() don&apos;t work right with db.eval()</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="dwight@mongodb.com">Dwight Merriman</reporter>
                        <labels>
                    </labels>
                <created>Mon, 26 Oct 2009 17:27:34 +0000</created>
                <updated>Tue, 12 Jul 2016 00:28:13 +0000</updated>
                            <resolved>Thu, 17 Mar 2011 18:52:23 +0000</resolved>
                                                    <fixVersion>1.9.0</fixVersion>
                                    <component>JavaScript</component>
                                        <votes>2</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="26133" author="eliot" created="Thu, 17 Mar 2011 18:52:23 +0000"  >&lt;p&gt;resolving this as most of this is fixed and the rest of addressed by linked cases&lt;/p&gt;</comment>
                            <comment id="21605" author="auto" created="Mon, 20 Dec 2010 19:36:51 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;astaple&apos;, u&apos;name&apos;: u&apos;Aaron&apos;, u&apos;email&apos;: u&apos;aaron@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-387&quot; title=&quot;currentOp() and killOp() don&amp;#39;t work right with db.eval()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-387&quot;&gt;&lt;del&gt;SERVER-387&lt;/del&gt;&lt;/a&gt; fix mr_killop test by including new required &apos;out&apos; field&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/30dc89337b46d28b302e3e28939b4d95afa05961&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/30dc89337b46d28b302e3e28939b4d95afa05961&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="21419" author="auto" created="Tue, 14 Dec 2010 21:07:15 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;login&apos;: u&apos;astaple&apos;, u&apos;name&apos;: u&apos;Aaron&apos;, u&apos;email&apos;: u&apos;aaron@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-387&quot; title=&quot;currentOp() and killOp() don&amp;#39;t work right with db.eval()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-387&quot;&gt;&lt;del&gt;SERVER-387&lt;/del&gt;&lt;/a&gt; test killop with map reduce&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/8e73062d8892089b948a25a42f828c9b861e623e&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/8e73062d8892089b948a25a42f828c9b861e623e&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="18951" author="auto" created="Wed, 6 Oct 2010 07:33:25 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;login&apos;: &apos;astaple&apos;, &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-387&quot; title=&quot;currentOp() and killOp() don&amp;#39;t work right with db.eval()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-387&quot;&gt;&lt;del&gt;SERVER-387&lt;/del&gt;&lt;/a&gt; clean test&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/2c041513a0bdbbfd696d43bd58e95adbc946c9bc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/2c041513a0bdbbfd696d43bd58e95adbc946c9bc&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="18478" author="auto" created="Thu, 23 Sep 2010 22:42:38 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;login&apos;: &apos;astaple&apos;, &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-387&quot; title=&quot;currentOp() and killOp() don&amp;#39;t work right with db.eval()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-387&quot;&gt;&lt;del&gt;SERVER-387&lt;/del&gt;&lt;/a&gt; reduce test timeouts&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/5d9149a33ae066d08fb1a46671163bb3f9cad9de&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/5d9149a33ae066d08fb1a46671163bb3f9cad9de&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="18477" author="auto" created="Thu, 23 Sep 2010 22:42:36 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;login&apos;: &apos;astaple&apos;, &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-387&quot; title=&quot;currentOp() and killOp() don&amp;#39;t work right with db.eval()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-387&quot;&gt;&lt;del&gt;SERVER-387&lt;/del&gt;&lt;/a&gt; enable interrupts for v8&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/d2249cdf68eef2c954630b9cfd24643d06b4d8be&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/d2249cdf68eef2c954630b9cfd24643d06b4d8be&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="18359" author="auto" created="Mon, 20 Sep 2010 20:49:28 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;login&apos;: &apos;astaple&apos;, &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-387&quot; title=&quot;currentOp() and killOp() don&amp;#39;t work right with db.eval()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-387&quot;&gt;&lt;del&gt;SERVER-387&lt;/del&gt;&lt;/a&gt; fix test race condition&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/bfb2e634611962d40125f0ad34f47d145658d78d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/bfb2e634611962d40125f0ad34f47d145658d78d&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="18203" author="aaron" created="Wed, 15 Sep 2010 05:22:29 +0000"  >&lt;p&gt;Also, a note to myself, since the &apos;shell utils&apos; aren&apos;t installed for server side js we don&apos;t need to worry about implementing a killop interrupt for the sleep command.&lt;/p&gt;</comment>
                            <comment id="18198" author="aaron" created="Wed, 15 Sep 2010 01:16:19 +0000"  >&lt;p&gt;It looks like we can do this in v8 by enabling v8 mutex preemption and then running a separate thread which periodically checks for timeouts and killop interrupts and kills pertinent v8 threads as needed using v8::TerminateExecution.&lt;/p&gt;</comment>
                            <comment id="18192" author="eliot" created="Wed, 15 Sep 2010 00:21:02 +0000"  >&lt;p&gt;Can you figure out how we might do it?&lt;br/&gt;
I would kind of like to switch to v8 - but this is important.&lt;/p&gt;</comment>
                            <comment id="18191" author="aaron" created="Wed, 15 Sep 2010 00:19:27 +0000"  >&lt;p&gt;Implementing in spidermonkey was relatively easy because we already had some callbacks in place for quota timeouts.  The v8 engine has no such callbacks enabled currently.  Please let me know if I should implement the killop behavior for v8 as well.&lt;/p&gt;</comment>
                            <comment id="18190" author="auto" created="Wed, 15 Sep 2010 00:14:08 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;login&apos;: &apos;astaple&apos;, &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-387&quot; title=&quot;currentOp() and killOp() don&amp;#39;t work right with db.eval()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-387&quot;&gt;&lt;del&gt;SERVER-387&lt;/del&gt;&lt;/a&gt; support killop with db.eval&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/8c82a9c5c62966093acd4e2a29572fa48fef707b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/8c82a9c5c62966093acd4e2a29572fa48fef707b&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="16651" author="eliot" created="Mon, 9 Aug 2010 21:24:04 +0000"  >&lt;p&gt;I think that field is new - this case is very old&lt;/p&gt;</comment>
                            <comment id="16650" author="aaron" created="Mon, 9 Aug 2010 20:53:11 +0000"  >&lt;p&gt;How should currentOp indicate an eval is in progress?  It looks like the query field already contains an $eval subfield if there is a db.eval happening.&lt;/p&gt;</comment>
                            <comment id="13026" author="auto" created="Tue, 16 Mar 2010 00:10:23 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;login&apos;: &apos;erh&apos;, &apos;name&apos;: &apos;Eliot Horowitz&apos;, &apos;email&apos;: &apos;eliot@10gen.com&apos;}
&lt;p&gt;Message: make killOp work for map reduce &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-387&quot; title=&quot;currentOp() and killOp() don&amp;#39;t work right with db.eval()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-387&quot;&gt;&lt;del&gt;SERVER-387&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://github.com/mongodb/mongo/commit/c09ded578037bab3cd1d3ac6b215cda001f2c899&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://github.com/mongodb/mongo/commit/c09ded578037bab3cd1d3ac6b215cda001f2c899&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="12745">SERVER-1610</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="13132">SERVER-1816</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="13164">SERVER-1840</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="13165">SERVER-1841</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="13169">SERVER-1844</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="13268">SERVER-1900</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="13650">SERVER-2076</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="13968">SERVER-2225</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="13333">SERVER-1931</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>15.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 16 Mar 2010 00:10:23 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        12 years, 48 weeks, 6 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[<s><a href='https://jira.mongodb.org/browse/SERVER-1610'>SERVER-1610</a></s>, <s><a href='https://jira.mongodb.org/browse/SERVER-1840'>SERVER-1840</a></s>, <s><a href='https://jira.mongodb.org/browse/SERVER-1844'>SERVER-1844</a></s>, <s><a href='https://jira.mongodb.org/browse/SERVER-1816'>SERVER-1816</a></s>, <s><a href='https://jira.mongodb.org/browse/SERVER-1841'>SERVER-1841</a></s>, <s><a href='https://jira.mongodb.org/browse/SERVER-1900'>SERVER-1900</a></s>, <s><a href='https://jira.mongodb.org/browse/SERVER-2225'>SERVER-2225</a></s>, <s><a href='https://jira.mongodb.org/browse/SERVER-2076'>SERVER-2076</a></s>]]></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>
                            12 years, 48 weeks, 6 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_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>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrpv27:</customfieldvalue>

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

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

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