<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 21:15:10 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-2422] mongoc_client_command_with_opts ignores readConcern option</title>
                <link>https://jira.mongodb.org/browse/CDRIVER-2422</link>
                <project id="10030" key="CDRIVER">C Driver</project>
                    <description>&lt;p&gt;The fix in &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2418&quot; title=&quot;mongoc_cmd_parts_assemble() may add readConcern afterClusterTime to generic commands&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2418&quot;&gt;&lt;del&gt;CDRIVER-2418&lt;/del&gt;&lt;/a&gt; is ignores an explicit &lt;tt&gt;readConcern&lt;/tt&gt; option passed to the generic &lt;tt&gt;mongoc_client_command_with_opts()&lt;/tt&gt; helper, as it only processes a read concern if &lt;tt&gt;is_read_command&lt;/tt&gt; is set on the command parts (not done for &lt;tt&gt;MONGOC_CMD_RAW&lt;/tt&gt;).&lt;/p&gt;

&lt;p&gt;Note: this issue only exists with &lt;tt&gt;mongoc_cmd_parts_assemble()&lt;/tt&gt;&apos;s preparation of the command for OP_MSG. &lt;tt&gt;_mongoc_cmd_parts_assemble_mongos()&lt;/tt&gt; and &lt;tt&gt;_mongoc_cmd_parts_assemble_mongod()&lt;/tt&gt; do not demonstrate this issue because they decide to append a read concern based purely on whether a &lt;tt&gt;readConcern&lt;/tt&gt; option has been provided (and satisfies the wire protocol version) and the command is not a &lt;tt&gt;getMore&lt;/tt&gt;.&lt;/p&gt;</description>
                <environment></environment>
        <key id="471062">CDRIVER-2422</key>
            <summary>mongoc_client_command_with_opts ignores readConcern option</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</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="jmikola@mongodb.com">Jeremy Mikola</assignee>
                                    <reporter username="jmikola@mongodb.com">Jeremy Mikola</reporter>
                        <labels>
                    </labels>
                <created>Tue, 12 Dec 2017 05:05:00 +0000</created>
                <updated>Sat, 28 Oct 2023 11:30:15 +0000</updated>
                            <resolved>Tue, 19 Dec 2017 21:43:58 +0000</resolved>
                                                    <fixVersion>1.9.0</fixVersion>
                                    <component>libmongoc</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="1750131" author="xgen-internal-githook" created="Tue, 12 Dec 2017 20:09:36 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Jeremy Mikola&apos;, &apos;email&apos;: &apos;jmikola@gmail.com&apos;, &apos;username&apos;: &apos;jmikola&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2422&quot; title=&quot;mongoc_client_command_with_opts ignores readConcern option&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2422&quot;&gt;&lt;del&gt;CDRIVER-2422&lt;/del&gt;&lt;/a&gt; don&apos;t ignore readConcern opt in raw commands&lt;br/&gt;
Branch: r1.9&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/d06c2f93bb3618b5647f67fb741b9496741d46d1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/d06c2f93bb3618b5647f67fb741b9496741d46d1&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1750129" author="xgen-internal-githook" created="Tue, 12 Dec 2017 20:08:57 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Jeremy Mikola&apos;, &apos;email&apos;: &apos;jmikola@gmail.com&apos;, &apos;username&apos;: &apos;jmikola&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/CDRIVER-2422&quot; title=&quot;mongoc_client_command_with_opts ignores readConcern option&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CDRIVER-2422&quot;&gt;&lt;del&gt;CDRIVER-2422&lt;/del&gt;&lt;/a&gt; don&apos;t ignore readConcern opt in raw commands&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-c-driver/commit/c49cf3a39929762eb2f07a6d30b7db54770b8e3d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-c-driver/commit/c49cf3a39929762eb2f07a6d30b7db54770b8e3d&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="469063">CDRIVER-2418</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|htdn3b:</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>