<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:11:37 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>[CDRIVER-1117] Delete mongoc_cluster_run_command_rpc</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-1117</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;Simplify the command-cursor path by calling the normal command function, &lt;tt&gt;mongoc_cluster_run_command&lt;/tt&gt;. There&apos;s not much efficiency gained by the current mongoc_cluster_run_command_rpc and a lot of extra complexity.&lt;/p&gt;</description>
                <environment></environment>
        <key id="265350">CDRIVER-1117</key>
            <summary>Delete mongoc_cluster_run_command_rpc</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="jesse@mongodb.com">A. Jesse Jiryu Davis</assignee>
                                    <reporter username="jesse@mongodb.com">A. Jesse Jiryu Davis</reporter>
                        <labels>
                    </labels>
                <created>Sun, 14 Feb 2016 01:05:12 +0000</created>
                <updated>Wed, 10 Aug 2016 22:10:41 +0000</updated>
                            <resolved>Tue, 16 Feb 2016 17:34:36 +0000</resolved>
                                    <version>1.3.0</version>
                                    <fixVersion>1.4.0</fixVersion>
                                    <component>libmongoc</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="1184001" author="xgen-internal-githook" created="Thu, 25 Feb 2016 02:50:04 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ajdavis&apos;, u&apos;name&apos;: u&apos;A. Jesse Jiryu Davis&apos;, u&apos;email&apos;: u&apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: crash in cursor_array_prime&lt;/p&gt;

&lt;p&gt;Unreleased code introduced with &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1117&quot; title=&quot;Delete mongoc_cluster_run_command_rpc&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1117&quot;&gt;&lt;del&gt;CDRIVER-1117&lt;/del&gt;&lt;/a&gt;.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/06204f5eb02d4659a302416e09723c1da9369644&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/06204f5eb02d4659a302416e09723c1da9369644&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1174425" author="xgen-internal-githook" created="Tue, 16 Feb 2016 17:34:10 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;ajdavis&apos;, u&apos;name&apos;: u&apos;A. Jesse Jiryu Davis&apos;, u&apos;email&apos;: u&apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-1117&quot; title=&quot;Delete mongoc_cluster_run_command_rpc&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-1117&quot;&gt;&lt;del&gt;CDRIVER-1117&lt;/del&gt;&lt;/a&gt; delete mongoc_cluster_run_command_rpc&lt;/p&gt;

&lt;p&gt;I introduced the function for &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-838&quot; title=&quot;Support find, getMore and killCursor commands&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-838&quot;&gt;&lt;del&gt;CDRIVER-838&lt;/del&gt;&lt;/a&gt; to implement &quot;find&quot;/&quot;getMore&quot;&lt;br/&gt;
commands &amp;#8211; the cursor was built to send and receive RPCs, so it was&lt;br/&gt;
easier to stick a find or getMore command into an RPC and send it,&lt;br/&gt;
instead of using the standard command path from the cursor code.&lt;/p&gt;

&lt;p&gt;This causes some duplication, however, and it makes it very hard to&lt;br/&gt;
consistently record command events originating from cursors and those&lt;br/&gt;
that don&apos;t (&lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-769&quot; title=&quot;APM Internal API&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-769&quot;&gt;&lt;del&gt;CDRIVER-769&lt;/del&gt;&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;Remove mongoc_cluster_run_command_rpc and use the standard command path.&lt;br/&gt;
When a cursor runs a command, it no longer stores the reply in its rpc&lt;br/&gt;
struct; instead it stores the reply in a bson_t on its iface_data.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/dd115e8e2c22eb68dc1b47bbc57740520ee42244&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/dd115e8e2c22eb68dc1b47bbc57740520ee42244&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="223467">CDRIVER-769</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hsidvr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="894">C Driver 2016 sprint 2</customfieldvalue>

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