<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:14:30 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-2207] Introduce generic mongoc_client_command_with_opts() function</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-2207</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;As discussed with &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=jesse&quot; class=&quot;user-hover&quot; rel=&quot;jesse&quot;&gt;jesse&lt;/a&gt;, this would be implemented in the style of &lt;tt&gt;mongoc_client_read_write_command_with_opts()&lt;/tt&gt; (and friends) but only support a server hint and collation options by default. There would be no logic for injecting client defaults for read and write concern, which would make this suitable for basic commands such as &lt;tt&gt;ping&lt;/tt&gt;.&lt;/p&gt;

&lt;p&gt;It would also serve as the model for a generic command runner for driver sessions, since the APIs for &lt;tt&gt;mongoc_client_command()&lt;/tt&gt; and &lt;tt&gt;mongoc_client_command_simple()&lt;/tt&gt; should be retired.&lt;/p&gt;</description>
                <environment></environment>
        <key id="402370">CDRIVER-2207</key>
            <summary>Introduce generic mongoc_client_command_with_opts() function</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="13201">Fixed</resolution>
                                        <assignee username="jesse@mongodb.com">A. Jesse Jiryu Davis</assignee>
                                    <reporter username="jmikola@mongodb.com">Jeremy Mikola</reporter>
                        <labels>
                    </labels>
                <created>Mon, 10 Jul 2017 22:09:52 +0000</created>
                <updated>Sat, 28 Oct 2023 11:30:36 +0000</updated>
                            <resolved>Sat, 4 Nov 2017 15:17:14 +0000</resolved>
                                                    <fixVersion>1.9.0</fixVersion>
                                    <component>libmongoc</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="1728742" author="xgen-internal-githook" created="Fri, 17 Nov 2017 13:32:55 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;A. Jesse Jiryu Davis&apos;, &apos;username&apos;: &apos;ajdavis&apos;, &apos;email&apos;: &apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2207&quot; title=&quot;Introduce generic mongoc_client_command_with_opts() function&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2207&quot;&gt;&lt;del&gt;CDRIVER-2207&lt;/del&gt;&lt;/a&gt; old command APIs are superseded&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/5c0ed324bc85f4a1c1fcf285c6fe975600d190ee&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/5c0ed324bc85f4a1c1fcf285c6fe975600d190ee&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1728741" author="xgen-internal-githook" created="Fri, 17 Nov 2017 13:32:54 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;A. Jesse Jiryu Davis&apos;, &apos;username&apos;: &apos;ajdavis&apos;, &apos;email&apos;: &apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: Revert &quot;&lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2207&quot; title=&quot;Introduce generic mongoc_client_command_with_opts() function&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2207&quot;&gt;&lt;del&gt;CDRIVER-2207&lt;/del&gt;&lt;/a&gt; deprecate mongoc_database_command&quot;&lt;/p&gt;

&lt;p&gt;This reverts commit f98224425e0ae7f40896f42978e5c89b07ef8ab8.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/a02ce83a7e3a0e8ff28193afb370cd5db6f23431&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/a02ce83a7e3a0e8ff28193afb370cd5db6f23431&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1728740" author="xgen-internal-githook" created="Fri, 17 Nov 2017 13:32:52 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;A. Jesse Jiryu Davis&apos;, &apos;username&apos;: &apos;ajdavis&apos;, &apos;email&apos;: &apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: Revert &quot;&lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2207&quot; title=&quot;Introduce generic mongoc_client_command_with_opts() function&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2207&quot;&gt;&lt;del&gt;CDRIVER-2207&lt;/del&gt;&lt;/a&gt; deprecate mongoc_client_command&quot;&lt;/p&gt;

&lt;p&gt;This reverts commit e784642c4f5470bd50f585fbf9668b33787b76cf.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/0f34ecdc57a9d4c37792b0bbb7e6e8d35751065f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/0f34ecdc57a9d4c37792b0bbb7e6e8d35751065f&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1717117" author="xgen-internal-githook" created="Sat, 4 Nov 2017 16:19:49 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;A. Jesse Jiryu Davis&apos;, &apos;username&apos;: &apos;ajdavis&apos;, &apos;email&apos;: &apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2207&quot; title=&quot;Introduce generic mongoc_client_command_with_opts() function&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2207&quot;&gt;&lt;del&gt;CDRIVER-2207&lt;/del&gt;&lt;/a&gt; deprecate mongoc_database_command&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/f98224425e0ae7f40896f42978e5c89b07ef8ab8&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/f98224425e0ae7f40896f42978e5c89b07ef8ab8&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1717116" author="xgen-internal-githook" created="Sat, 4 Nov 2017 16:19:48 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;A. Jesse Jiryu Davis&apos;, &apos;username&apos;: &apos;ajdavis&apos;, &apos;email&apos;: &apos;jesse@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2207&quot; title=&quot;Introduce generic mongoc_client_command_with_opts() function&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2207&quot;&gt;&lt;del&gt;CDRIVER-2207&lt;/del&gt;&lt;/a&gt; test db_command_with_opts&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/e495d249f47c438b63ee1a041ee7ac6cb36c7a21&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/e495d249f47c438b63ee1a041ee7ac6cb36c7a21&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1713840" author="jesse" created="Tue, 31 Oct 2017 18:39:52 +0000"  >&lt;p&gt;Still have to deprecate mongoc_database_command.&lt;/p&gt;</comment>
                            <comment id="1711944" author="xgen-internal-githook" created="Sat, 28 Oct 2017 18:15:30 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;jesse@mongodb.com&apos;, &apos;name&apos;: &apos;A. Jesse Jiryu Davis&apos;, &apos;username&apos;: &apos;ajdavis&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2207&quot; title=&quot;Introduce generic mongoc_client_command_with_opts() function&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2207&quot;&gt;&lt;del&gt;CDRIVER-2207&lt;/del&gt;&lt;/a&gt; deprecate mongoc_client_command&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/e784642c4f5470bd50f585fbf9668b33787b76cf&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/e784642c4f5470bd50f585fbf9668b33787b76cf&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1711943" author="xgen-internal-githook" created="Sat, 28 Oct 2017 18:15:28 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;jesse@mongodb.com&apos;, &apos;name&apos;: &apos;A. Jesse Jiryu Davis&apos;, &apos;username&apos;: &apos;ajdavis&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2207&quot; title=&quot;Introduce generic mongoc_client_command_with_opts() function&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2207&quot;&gt;&lt;del&gt;CDRIVER-2207&lt;/del&gt;&lt;/a&gt; mongoc_client_command_with_opts&lt;/p&gt;

&lt;p&gt;Generic command function that takes arbitrary opts. Required for using&lt;br/&gt;
sessions with a command that does &lt;b&gt;not&lt;/b&gt; apply any read concern, write&lt;br/&gt;
concern, or read preference from the mongoc_client_t.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/f2d3db31be425d047a7814357786bc235df6d5d6&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/f2d3db31be425d047a7814357786bc235df6d5d6&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1689068" author="jesse" created="Wed, 4 Oct 2017 16:06:14 +0000"  >&lt;p&gt;When we do this, let&apos;s finally mark mongoc_client_command deprecated. Consider deprecating mongoc_client_command_simple too.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="411701">CDRIVER-2231</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="449140">CDRIVER-2331</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="332003">PHPC-834</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="464262">CDRIVER-2408</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="458359">CDRIVER-2372</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="314650">CDRIVER-1527</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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>CDRIVER-2085</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|ht2j5j:</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>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>