<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:55:52 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-62713] Ensure internal readers set explicit read concerns</title>
                <link>https://jira.mongodb.org/browse/SERVER-62713</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-62214&quot; title=&quot;Use explicit read concern in InitialSyncer and CollectionCloner&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-62214&quot;&gt;&lt;del&gt;SERVER-62214&lt;/del&gt;&lt;/a&gt; and friends found cases where we didn&apos;t that can lead to concerning bugs. We should put in guardrails to prevent this from happening.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1965860">SERVER-62713</key>
            <summary>Ensure internal readers set explicit read concerns</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="10038" iconUrl="https://jira.mongodb.org/images/icons/subtask.gif" description="">Backlog</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="backlog-server-repl">Backlog - Replication Team</assignee>
                                    <reporter username="judah.schvimer@mongodb.com">Judah Schvimer</reporter>
                        <labels>
                            <label>former-quick-wins</label>
                    </labels>
                <created>Tue, 18 Jan 2022 16:46:40 +0000</created>
                <updated>Mon, 21 Aug 2023 18:59:59 +0000</updated>
                                                                                                <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="4433122" author="judah.schvimer" created="Thu, 24 Mar 2022 18:05:49 +0000"  >&lt;p&gt;I&apos;m a little concerned about implicitly using a default and internal readers not specifying what behavior they&apos;re relying on. I think forcing internal readers to choose a read concern is worthwhile, though I buy that it&apos;s not terribly urgent.&lt;/p&gt;</comment>
                            <comment id="4433017" author="samy.lanka" created="Thu, 24 Mar 2022 17:34:30 +0000"  >&lt;p&gt;I am not convinced that this is worth doing. We already &lt;a href=&quot;https://github.com/mongodb/mongo/blob/eccbb866108ef390725c3bfba2e1ee8be82d0d00/src/mongo/db/service_entry_point_common.cpp#L296-L304&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;ensure that all requests from internal clients specify some sort of read concern (even an empty one)&lt;/a&gt;. There are several places where we &lt;a href=&quot;https://github.com/mongodb/mongo/blob/25122c60597d66c1901502c1fd1c203392d4963e/src/mongo/client/dbclient_cursor.cpp#L684-L689&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;automatically add an empty read concern to internal requests&lt;/a&gt;. We could still get rid of kImplicitDefault and always use local read concern instead, but I don&apos;t think this refactor benefits us much. I already mentioned above that an empty read concern can&apos;t be overridden by the cluster wide read concern, so this shouldn&apos;t be causing any bugs.&lt;/p&gt;</comment>
                            <comment id="4374843" author="samy.lanka" created="Thu, 24 Feb 2022 17:10:07 +0000"  >&lt;p&gt;We never actually override an empty read concern for an internal client because of &lt;a href=&quot;https://github.com/mongodb/mongo/blob/a23d9da0518f79325b7dda04796dba0f856a08cd/src/mongo/db/service_entry_point_common.cpp#L297-L304&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;this code&lt;/a&gt; (which also already asserts that internal readers use an explicit read concern), so I don&apos;t think there was ever a bug around this. As long as the request specified an empty read concern, it would not have been using the CWRC. However, this behavior is not obvious, which is why we thought a bug existed. &lt;/p&gt;</comment>
                            <comment id="4298586" author="samy.lanka" created="Tue, 18 Jan 2022 19:17:22 +0000"  >&lt;p&gt;This should involve getting rid of the ImplicitDefault read concern, since that could be overwritten by a cluster-wide default read concern.&lt;/p&gt;</comment>
                            <comment id="4298576" author="judah.schvimer" created="Tue, 18 Jan 2022 19:14:25 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-55699&quot; title=&quot;Add an explicit write concern to internal write operations&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-55699&quot;&gt;&lt;del&gt;SERVER-55699&lt;/del&gt;&lt;/a&gt; did this for write concerns.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="1955167">SERVER-62214</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1667775">SERVER-55699</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1964422">SERVER-62664</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1964427">SERVER-62666</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1966104">SERVER-62727</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>5.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25128"><![CDATA[Replication]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 18 Jan 2022 19:17:22 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        1 year, 45 weeks, 6 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></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>opal.hoyt@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            1 year, 45 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>backlog-server-repl</customfieldvalue>
            <customfieldvalue>judah.schvimer@mongodb.com</customfieldvalue>
            <customfieldvalue>samy.lanka@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i0h6wv:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr24br:</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_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="5706">Replication 2022-02-07</customfieldvalue>
    <customfieldvalue id="5707">Repl 2022-02-21</customfieldvalue>
    <customfieldvalue id="5708">Repl 2022-03-07</customfieldvalue>
    <customfieldvalue id="5709">Repl 2022-03-21</customfieldvalue>

                        </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|i0gt27:</customfieldvalue>

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