<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 02:59:18 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-2212] Server automatically abort queries/commands after user-specified time limit</title>
                <link>https://jira.mongodb.org/browse/SERVER-2212</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Add { $maxTimeMS: &amp;lt;integer&amp;gt; } as a query option, and add { maxTimeMS: &amp;lt;integer&amp;gt; } as a command option to all commands.  Operations that exceed their time limit will be aborted, and an error will be returned to the client.  A cursor.maxTimeMS() shell helper will be provided for queries.&lt;/p&gt;

&lt;p&gt;Details:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;An operation&apos;s &quot;elapsed time&quot; for the purpose of this feature will be the same as the operation&apos;s &quot;elapsed time&quot; as reported by the logging / profiling subsystems.&lt;/li&gt;
	&lt;li&gt;The abort semantics provided will be very similar to that of db.killOp():
	&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
		&lt;li&gt;Operations cannot currently be interrupted while waiting to acquire a lock (but this will be supported when &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-8579&quot; title=&quot;Consolidate Mongod Lock/Resource Scheduling Logic&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-8579&quot;&gt;&lt;del&gt;SERVER-8579&lt;/del&gt;&lt;/a&gt; is resolved).&lt;/li&gt;
		&lt;li&gt;Write operations are generally not interruptible once the first write occurs.&lt;/li&gt;
		&lt;li&gt;As a corollary, it is expected that operations which do not reach an interrupt point after exceeding the time limit will have an elapsed time longer than the time limit, and will be logged/profiled as such.&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
	&lt;li&gt;A query that completes in under its time limit will &quot;roll over&quot; its remaining time to the first getmore op (which will then &quot;roll over&quot; its remaining time to the second getmore op and so on, until the time limit is hit).
	&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
		&lt;li&gt;Cursors returned by successful time-limited queries will still obey the default cursor idle timeout (unless the &quot;no cursor idle timeout&quot; flag has been set).&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
	&lt;li&gt;For now, insert/update/delete will not support time-limited operations.&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="13949">SERVER-2212</key>
            <summary>Server automatically abort queries/commands after user-specified time limit</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</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="9">Done</resolution>
                                        <assignee username="rassi">J Rassi</assignee>
                                    <reporter username="ppalka@gratka-technologie.pl">ppalka</reporter>
                        <labels>
                            <label>query_triage</label>
                    </labels>
                <created>Mon, 13 Dec 2010 16:04:10 +0000</created>
                <updated>Tue, 28 Feb 2023 20:31:06 +0000</updated>
                            <resolved>Thu, 14 Nov 2013 01:29:17 +0000</resolved>
                                                    <fixVersion>2.5.4</fixVersion>
                                    <component>Querying</component>
                                        <votes>35</votes>
                                    <watches>41</watches>
                                                                                                                <comments>
                            <comment id="449978" author="auto" created="Fri, 1 Nov 2013 05:53:17 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jrassi&apos;, u&apos;name&apos;: u&apos;j. rassi&apos;, u&apos;email&apos;: u&apos;rassi@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-11501&quot; title=&quot;testshard1.js failing in aggregation and aggregation_auth suites on debug builds&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-11501&quot;&gt;&lt;del&gt;SERVER-11501&lt;/del&gt;&lt;/a&gt; &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2212&quot; title=&quot;Server automatically abort queries/commands after user-specified time limit&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2212&quot;&gt;&lt;del&gt;SERVER-2212&lt;/del&gt;&lt;/a&gt; Fix deref. of invalidated iterator&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/a6678a47b6e2700a502984cc1b990ded37f61c7f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/a6678a47b6e2700a502984cc1b990ded37f61c7f&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="449618" author="auto" created="Thu, 31 Oct 2013 18:45:23 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jrassi&apos;, u&apos;name&apos;: u&apos;Jason Rassi&apos;, u&apos;email&apos;: u&apos;rassi@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-11496&quot; title=&quot;max_time_ms_sharded.js failing in &amp;quot;sharding&amp;quot; suite across multiple builders&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-11496&quot;&gt;&lt;del&gt;SERVER-11496&lt;/del&gt;&lt;/a&gt; &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2212&quot; title=&quot;Server automatically abort queries/commands after user-specified time limit&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2212&quot;&gt;&lt;del&gt;SERVER-2212&lt;/del&gt;&lt;/a&gt; Fix race condition in max_time_ms_sharded.js&lt;/p&gt;

&lt;p&gt;Wait for inserts to complete before expecting count to include them.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/02d96b609930ce10ea82a4a317baf5731ed04989&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/02d96b609930ce10ea82a4a317baf5731ed04989&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="449370" author="auto" created="Thu, 31 Oct 2013 10:23:57 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jrassi&apos;, u&apos;name&apos;: u&apos;Jason Rassi&apos;, u&apos;email&apos;: u&apos;rassi@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2212&quot; title=&quot;Server automatically abort queries/commands after user-specified time limit&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2212&quot;&gt;&lt;del&gt;SERVER-2212&lt;/del&gt;&lt;/a&gt; mongos maxTimeMS support for aggregate, count, mapReduce&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/59c349c00ecd5de1adb18f398a63917c36c8334b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/59c349c00ecd5de1adb18f398a63917c36c8334b&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="449369" author="auto" created="Thu, 31 Oct 2013 10:23:55 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jrassi&apos;, u&apos;name&apos;: u&apos;Jason Rassi&apos;, u&apos;email&apos;: u&apos;rassi@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2212&quot; title=&quot;Server automatically abort queries/commands after user-specified time limit&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2212&quot;&gt;&lt;del&gt;SERVER-2212&lt;/del&gt;&lt;/a&gt; mongos maxTimeMS support for moveChunk&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/323abaca6f8168b4ff42d3fe08931e7fed3d0fc1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/323abaca6f8168b4ff42d3fe08931e7fed3d0fc1&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="449368" author="auto" created="Thu, 31 Oct 2013 10:23:52 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jrassi&apos;, u&apos;name&apos;: u&apos;Jason Rassi&apos;, u&apos;email&apos;: u&apos;rassi@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2212&quot; title=&quot;Server automatically abort queries/commands after user-specified time limit&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2212&quot;&gt;&lt;del&gt;SERVER-2212&lt;/del&gt;&lt;/a&gt; mongos tracks elapsed time for sharded cursors&lt;/p&gt;

&lt;p&gt;If a maxTimeMS sharded query exceeds its time limit, the next request&lt;br/&gt;
for a batch will fail with an error.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/195c99e44a1483816b3be2a1f6f42bffed7ec18e&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/195c99e44a1483816b3be2a1f6f42bffed7ec18e&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="449367" author="auto" created="Thu, 31 Oct 2013 10:23:50 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jrassi&apos;, u&apos;name&apos;: u&apos;Jason Rassi&apos;, u&apos;email&apos;: u&apos;rassi@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2212&quot; title=&quot;Server automatically abort queries/commands after user-specified time limit&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2212&quot;&gt;&lt;del&gt;SERVER-2212&lt;/del&gt;&lt;/a&gt; Add addl. maxTimeMS parsing helpers to LiteParsedQuery&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/5c26124ba4a9829a417a8f652ce009eef0b98a72&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/5c26124ba4a9829a417a8f652ce009eef0b98a72&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="449366" author="auto" created="Thu, 31 Oct 2013 10:23:48 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jrassi&apos;, u&apos;name&apos;: u&apos;Jason Rassi&apos;, u&apos;email&apos;: u&apos;rassi@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2212&quot; title=&quot;Server automatically abort queries/commands after user-specified time limit&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2212&quot;&gt;&lt;del&gt;SERVER-2212&lt;/del&gt;&lt;/a&gt; Pull lite_parsed_query.cpp out into static library&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/aaff692940fdf0a57f37d4e9b1d45d8203049647&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/aaff692940fdf0a57f37d4e9b1d45d8203049647&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="431425" author="auto" created="Wed, 25 Sep 2013 20:43:28 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jrassi&apos;, u&apos;name&apos;: u&apos;Jason Rassi&apos;, u&apos;email&apos;: u&apos;rassi@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2212&quot; title=&quot;Server automatically abort queries/commands after user-specified time limit&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2212&quot;&gt;&lt;del&gt;SERVER-2212&lt;/del&gt;&lt;/a&gt; Add error code to AssertionException::interrupted() list&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/3b6112691e7c9e6ed42bc46f434c75d29c23a9b1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/3b6112691e7c9e6ed42bc46f434c75d29c23a9b1&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="431316" author="auto" created="Wed, 25 Sep 2013 18:20:42 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jrassi&apos;, u&apos;name&apos;: u&apos;Jason Rassi&apos;, u&apos;email&apos;: u&apos;rassi@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2212&quot; title=&quot;Server automatically abort queries/commands after user-specified time limit&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2212&quot;&gt;&lt;del&gt;SERVER-2212&lt;/del&gt;&lt;/a&gt; Add new fail point maxTimeNeverTimeOut&lt;/p&gt;

&lt;p&gt;Includes:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;New interrupt points for query/getmore/command.&lt;/li&gt;
	&lt;li&gt;Refactor of maxTimeAlwaysTimeOut implementation.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/6faea24a8e6889c7a46c8e1c305cfa9cd430b0e7&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/6faea24a8e6889c7a46c8e1c305cfa9cd430b0e7&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="426277" author="auto" created="Mon, 16 Sep 2013 18:50:35 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jrassi&apos;, u&apos;name&apos;: u&apos;Jason Rassi&apos;, u&apos;email&apos;: u&apos;rassi@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2212&quot; title=&quot;Server automatically abort queries/commands after user-specified time limit&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2212&quot;&gt;&lt;del&gt;SERVER-2212&lt;/del&gt;&lt;/a&gt; max_time_ms.js use sleep command instead of eval command&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/a9506ab7fc36ed852415ef9931e56eecdf2ca867&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/a9506ab7fc36ed852415ef9931e56eecdf2ca867&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="423804" author="auto" created="Thu, 12 Sep 2013 20:01:37 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jrassi&apos;, u&apos;name&apos;: u&apos;Jason Rassi&apos;, u&apos;email&apos;: u&apos;rassi@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2212&quot; title=&quot;Server automatically abort queries/commands after user-specified time limit&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2212&quot;&gt;&lt;del&gt;SERVER-2212&lt;/del&gt;&lt;/a&gt; Separate processing of &quot;$maxTimeMS&quot; from &quot;maxTimeMS&quot;&lt;/p&gt;

&lt;p&gt;Adds support for the command option &quot;maxTimeMS&quot;, and removes&lt;br/&gt;
command support for &quot;$maxTimeMS&quot; query option.&lt;/p&gt;

&lt;p&gt;For normal queries: specify &quot;$maxTimeMS&quot; as a top-level query option&lt;br/&gt;
(same as &quot;$orderby&quot;).&lt;/p&gt;

&lt;p&gt;For commands: specify &quot;maxTimeMS&quot; at the command document level&lt;br/&gt;
(inside $query if wrapping, otherwise top-level).  The &quot;$maxTimeMS&quot;&lt;br/&gt;
query option cannot be used with commands.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/63f777e29558b271c9cda72791553faf94cc3deb&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/63f777e29558b271c9cda72791553faf94cc3deb&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="423803" author="auto" created="Thu, 12 Sep 2013 20:01:35 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jrassi&apos;, u&apos;name&apos;: u&apos;Jason Rassi&apos;, u&apos;email&apos;: u&apos;rassi@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2212&quot; title=&quot;Server automatically abort queries/commands after user-specified time limit&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2212&quot;&gt;&lt;del&gt;SERVER-2212&lt;/del&gt;&lt;/a&gt; Minor block formatting in parsed_query.cpp&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/bf0055f56e4d0ff32a120f32e5597e1240c87c9d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/bf0055f56e4d0ff32a120f32e5597e1240c87c9d&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="422940" author="auto" created="Wed, 11 Sep 2013 20:14:48 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jrassi&apos;, u&apos;name&apos;: u&apos;Jason Rassi&apos;, u&apos;email&apos;: u&apos;rassi@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2212&quot; title=&quot;Server automatically abort queries/commands after user-specified time limit&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2212&quot;&gt;&lt;del&gt;SERVER-2212&lt;/del&gt;&lt;/a&gt; Move ExceededTimeLimit error code to semantic code range&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/5e15f8978b1456a2b8d120b741a22d43e07321b3&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/5e15f8978b1456a2b8d120b741a22d43e07321b3&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="389667" author="auto" created="Fri, 26 Jul 2013 20:51:18 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jrassi&apos;, u&apos;name&apos;: u&apos;Jason Rassi&apos;, u&apos;email&apos;: u&apos;rassi@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2212&quot; title=&quot;Server automatically abort queries/commands after user-specified time limit&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2212&quot;&gt;&lt;del&gt;SERVER-2212&lt;/del&gt;&lt;/a&gt; Add mongod query option $maxTimeMS, shell helper&lt;/p&gt;

&lt;p&gt;$maxTimeMS can be added as a top-level field to any query or&lt;br/&gt;
command ($cmd.sys.* ops not included).  Requests op interruption&lt;br/&gt;
after the user-given time limit.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/8a1429687d6259203db2d96b829e8e020b1a99e6&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/8a1429687d6259203db2d96b829e8e020b1a99e6&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="389666" author="auto" created="Fri, 26 Jul 2013 20:51:15 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jrassi&apos;, u&apos;name&apos;: u&apos;Jason Rassi&apos;, u&apos;email&apos;: u&apos;rassi@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2212&quot; title=&quot;Server automatically abort queries/commands after user-specified time limit&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2212&quot;&gt;&lt;del&gt;SERVER-2212&lt;/del&gt;&lt;/a&gt; Logic to apply time limits to getmore CurOp objects&lt;/p&gt;

&lt;p&gt;If a CurOp object generating a cursor has a time limit imposed,&lt;br/&gt;
remaining time is &quot;rolled over&quot; to the ClientCursor object, and&lt;br/&gt;
applied to later getmore ops.  Affects getmore ops on cursors&lt;br/&gt;
associated with both normal queries and cursor-enabled aggregation&lt;br/&gt;
commands.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/07336d045cce6f11f0b3ceaeb327a8a8d438ae67&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/07336d045cce6f11f0b3ceaeb327a8a8d438ae67&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="389665" author="auto" created="Fri, 26 Jul 2013 20:51:13 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jrassi&apos;, u&apos;name&apos;: u&apos;Jason Rassi&apos;, u&apos;email&apos;: u&apos;rassi@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2212&quot; title=&quot;Server automatically abort queries/commands after user-specified time limit&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2212&quot;&gt;&lt;del&gt;SERVER-2212&lt;/del&gt;&lt;/a&gt; Ability for CurOp objects to be &quot;timer-interruptible&quot;&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;New public methods introduced to CurOp for requesting op&lt;br/&gt;
  interruption after a given time period.&lt;/li&gt;
	&lt;li&gt;KillCurrentOp objects now additionally tasked with interrupting&lt;br/&gt;
  CurOp objects that have exceeded their time limit, during the&lt;br/&gt;
  &quot;interrupt check&quot;.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/950d8deb486b4608828e0c4f7e9caa3e7d84fed8&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/950d8deb486b4608828e0c4f7e9caa3e7d84fed8&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="389664" author="auto" created="Fri, 26 Jul 2013 20:51:10 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jrassi&apos;, u&apos;name&apos;: u&apos;Jason Rassi&apos;, u&apos;email&apos;: u&apos;rassi@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2212&quot; title=&quot;Server automatically abort queries/commands after user-specified time limit&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2212&quot;&gt;&lt;del&gt;SERVER-2212&lt;/del&gt;&lt;/a&gt; Add CurOp public method elapsedMicros()&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/6f8b9d5515591beaaa6f58c8fdabb9ddd2b2450f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/6f8b9d5515591beaaa6f58c8fdabb9ddd2b2450f&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="389663" author="auto" created="Fri, 26 Jul 2013 20:51:07 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jrassi&apos;, u&apos;name&apos;: u&apos;Jason Rassi&apos;, u&apos;email&apos;: u&apos;rassi@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-2212&quot; title=&quot;Server automatically abort queries/commands after user-specified time limit&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-2212&quot;&gt;&lt;del&gt;SERVER-2212&lt;/del&gt;&lt;/a&gt; Misc. comments, formatting&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/e721e9df43caf1433040dde1fd7ff54384f2497d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/e721e9df43caf1433040dde1fd7ff54384f2497d&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="315646" author="cthirunavukkarasu@servicesource.com" created="Wed, 17 Apr 2013 19:02:53 +0000"  >&lt;p&gt;In the interim, would it be possible to change db.currentOp() to at least print query&apos;s comment? We have written a &quot;governor&quot; that kills queries if they have exceeded a time limit and we are using db.currentOp() to get the list of queries. We also use query&apos;s comment to mark the queries that are safe to be killed. If the query expression is too complicated, db.currentOp() does not print the query and therefore the query comment and this prevents us from reliably identifying the queries that are safe to be killed.&lt;/p&gt;</comment>
                            <comment id="37484" author="vicnov" created="Tue, 14 Jun 2011 15:38:49 +0000"  >&lt;p&gt;It would be great that not only JDBC driver stopped waiting for long query but also server killed the query.&lt;br/&gt;
For example, in MySQL&apos;s JDBC driver you can set &quot;queryTime&quot; parameter on Statement/query - this way JDBC driver will send &quot;KILL QUERY &amp;lt;query_id&amp;gt;&quot; command to MySQL server.&lt;/p&gt;</comment>
                            <comment id="33492" author="aleksi" created="Thu, 19 May 2011 12:19:59 +0000"  >&lt;p&gt;Something like $maxTime would be very helpful. I noticed a situation when HTTP requests were timed out, but queries are running in database.&lt;/p&gt;</comment>
                            <comment id="22307" author="adrien" created="Wed, 12 Jan 2011 21:39:28 +0000"  >&lt;p&gt;$maxScan or $maxTime ?  (maybe $maxScan could be a hint for query optimizer when browsing indexes ?)&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="86295">SERVER-10550</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="84786">CSHARP-790</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="80253">DRIVERS-99</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="84220">JAVA-910</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="84782">PYTHON-550</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="89772">DOCS-1919</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="47022">SERVER-6761</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="19174">SERVER-3379</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="22862">SERVER-3960</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="349044">DOCS-9823</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="84087">SERVER-10382</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="92339">SERVER-10995</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="94466">SERVER-11216</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="94506">SERVER-11221</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="96484">SERVER-11488</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="94651">SERVER-11243</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="41554">SERVER-6113</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="64816">SERVER-8499</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="93365">SERVER-11094</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="94233">SERVER-11185</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="95659">SERVER-11361</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="26475">SERVER-4477</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>22.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 12 Jan 2011 21:39:28 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        10 years, 15 weeks, 5 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-10550'>SERVER-10550</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>rachelle.palmer@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            10 years, 15 weeks, 5 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>adrien</customfieldvalue>
            <customfieldvalue>aleksi</customfieldvalue>
            <customfieldvalue>auto</customfieldvalue>
            <customfieldvalue>cthirunavukkarasu@servicesource.com</customfieldvalue>
            <customfieldvalue>rassi</customfieldvalue>
            <customfieldvalue>ppalka@gratka-technologie.pl</customfieldvalue>
            <customfieldvalue>vicnov</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrpa9r:</customfieldvalue>

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

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

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