<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:57: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>[SERVER-41359] Stop upconverting readConcern to snapshot internally for transactions</title>
                <link>https://jira.mongodb.org/browse/SERVER-41359</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Initially, we planned that all multi-document transactions would run at &lt;tt&gt;readConcern&lt;/tt&gt; level &lt;tt&gt;snapshot&lt;/tt&gt;. However, over time the behavior for different &lt;tt&gt;readConcern&lt;/tt&gt; levels within transactions has changed, and we have needed to check the original &lt;tt&gt;readConcern&lt;/tt&gt; level to make decisions, such as &lt;a href=&quot;https://github.com/mongodb/mongo/blob/1e369fabb0e4dece8e9ddeb486eb491def1e8d2e/src/mongo/db/transaction_participant.cpp#L614&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;what read source to use&lt;/a&gt;. It no longer seems to improve simplicity or readability of the code to internally upconvert the &lt;tt&gt;readConcern&lt;/tt&gt; level to snapshot, and it has led to bugs, such as&#160;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-40123&quot; title=&quot;Transaction diagnostics should not report upconverted readConcern&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-40123&quot;&gt;&lt;del&gt;SERVER-40123&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</description>
                <environment></environment>
        <key id="780880">SERVER-41359</key>
            <summary>Stop upconverting readConcern to snapshot internally for transactions</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="13201">Fixed</resolution>
                                        <assignee username="samy.lanka@mongodb.com">Samyukta Lanka</assignee>
                                    <reporter username="tess.avitabile@mongodb.com">Tess Avitabile</reporter>
                        <labels>
                    </labels>
                <created>Wed, 29 May 2019 15:19:49 +0000</created>
                <updated>Sun, 29 Oct 2023 22:20:38 +0000</updated>
                            <resolved>Tue, 3 Sep 2019 21:41:27 +0000</resolved>
                                                    <fixVersion>4.3.1</fixVersion>
                                    <component>Replication</component>
                                        <votes>0</votes>
                                    <watches>8</watches>
                                                                                                                <comments>
                            <comment id="2406222" author="xgen-internal-githook" created="Tue, 3 Sep 2019 21:36:40 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;lankas&apos;, &apos;email&apos;: &apos;samy.lanka@mongodb.com&apos;, &apos;name&apos;: &apos;Samyukta Lanka&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-41359&quot; title=&quot;Stop upconverting readConcern to snapshot internally for transactions&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-41359&quot;&gt;&lt;del&gt;SERVER-41359&lt;/del&gt;&lt;/a&gt; Stop upconverting readConcern to snapshot internally for transactions&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/720e7b216316eac5f5dc18f26684cd2ca1ed17e2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/720e7b216316eac5f5dc18f26684cd2ca1ed17e2&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2406221" author="xgen-internal-githook" created="Tue, 3 Sep 2019 21:36:35 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;lankas&apos;, &apos;email&apos;: &apos;samy.lanka@mongodb.com&apos;, &apos;name&apos;: &apos;Samyukta Lanka&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-41359&quot; title=&quot;Stop upconverting readConcern to snapshot internally for transactions&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-41359&quot;&gt;&lt;del&gt;SERVER-41359&lt;/del&gt;&lt;/a&gt; Stop upconverting readConcern to snapshot internally for transactions&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/10gen/mongo-enterprise-modules/commit/117d6441527ce4467f66ac4d62242208cc21e055&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/10gen/mongo-enterprise-modules/commit/117d6441527ce4467f66ac4d62242208cc21e055&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2361142" author="jesse" created="Wed, 7 Aug 2019 13:48:33 +0000"  >&lt;p&gt;I believe this ticket will be an internal code cleanup, with no behavioral change. The code cleanup will protect us from repeating mistakes like &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-39672&quot; title=&quot;ReadConcern level in multi-statement transactions defaults to &amp;quot;snapshot&amp;quot;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-39672&quot;&gt;&lt;del&gt;SERVER-39672&lt;/del&gt;&lt;/a&gt; in the future.&lt;/p&gt;</comment>
                            <comment id="2361125" author="alyson.cabral" created="Wed, 7 Aug 2019 13:37:06 +0000"  >&lt;p&gt;How is this ticket different than&#160;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-39672&quot; title=&quot;ReadConcern level in multi-statement transactions defaults to &amp;quot;snapshot&amp;quot;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-39672&quot;&gt;&lt;del&gt;SERVER-39672&lt;/del&gt;&lt;/a&gt;&#160;?&lt;/p&gt;

&lt;p&gt;CC: &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=jesse%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;jesse@mongodb.com&quot;&gt;jesse@mongodb.com&lt;/a&gt; , &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=siyuan.zhou&quot; class=&quot;user-hover&quot; rel=&quot;siyuan.zhou&quot;&gt;siyuan.zhou&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2265822" author="tess.avitabile" created="Thu, 30 May 2019 19:26:25 +0000"  >&lt;p&gt;As part of this work, we will need to remove places in the code that check for &lt;tt&gt;kSnapshotReadConcern&lt;/tt&gt; as a proxy for testing whether we are in a multi-document transaction. I did this in a WIP patch for&#160;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-40466&quot; title=&quot;Unify checks for inMultiDocumentTransaction and friends&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-40466&quot;&gt;&lt;del&gt;SERVER-40466&lt;/del&gt;&lt;/a&gt;, but I ran into linking problems, since it was not possible to link the &lt;tt&gt;TransactionParticipant&lt;/tt&gt; everywhere it was needed. We may need to add an &lt;tt&gt;OperationContext&lt;/tt&gt; flag/decoration that indicates whether a statement is run as part of a multi-document transaction in order to avoid the linking problems.&lt;/p&gt;</comment>
                            <comment id="2264407" author="tess.avitabile" created="Wed, 29 May 2019 20:52:14 +0000"  >&lt;p&gt;This work will involve examining &lt;a href=&quot;https://github.com/mongodb/mongo/blob/60008cd952996d5558b9fb4c5f66d1e2d1af0d4d/src/mongo/db/read_concern_mongod.cpp#L224&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;&lt;tt&gt;waitForReadConcern()&lt;/tt&gt;&lt;/a&gt;, &lt;a href=&quot;https://github.com/mongodb/mongo/blob/60008cd952996d5558b9fb4c5f66d1e2d1af0d4d/src/mongo/db/catalog_raii.cpp#L67&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;&lt;tt&gt;AutoGetCollection()&lt;/tt&gt;&lt;/a&gt;, and &lt;a href=&quot;https://github.com/mongodb/mongo/blob/60008cd952996d5558b9fb4c5f66d1e2d1af0d4d/src/mongo/db/db_raii.cpp#L88&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;&lt;tt&gt;AutoGetCollectionForRead()&lt;/tt&gt;&lt;/a&gt;, which may make assumptions that snapshot read concern is synonymous with multi-document transactions.&lt;/p&gt;</comment>
                            <comment id="2263771" author="tess.avitabile" created="Wed, 29 May 2019 15:20:58 +0000"  >&lt;p&gt;This work depends on&#160;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-40466&quot; title=&quot;Unify checks for inMultiDocumentTransaction and friends&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-40466&quot;&gt;&lt;del&gt;SERVER-40466&lt;/del&gt;&lt;/a&gt;, which will ensure that we do not check whether the &lt;tt&gt;readConcern&lt;/tt&gt; level is &lt;tt&gt;snapshot&lt;/tt&gt; as a proxy for checking whether we are in a multi-document transaction.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="729285">SERVER-40466</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="716744">SERVER-40123</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10520">
                    <name>Problem/Incident</name>
                                            <outwardlinks description="causes">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="716744">SERVER-40123</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>7.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>7.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10038"><![CDATA[Fully Compatible]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 7 Aug 2019 13:37:06 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        4 years, 23 weeks, 1 day 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-40466'>SERVER-40466</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_17050" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Downstream Team Attention</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="16941"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-1449</customfieldvalue>
                        </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>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            4 years, 23 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_16465" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Linked BF Score</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>jesse@mongodb.com</customfieldvalue>
            <customfieldvalue>alyson.cabral@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>samy.lanka@mongodb.com</customfieldvalue>
            <customfieldvalue>tess.avitabile@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hv1ozz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hur02v:</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="3000">Repl 2019-06-17</customfieldvalue>
    <customfieldvalue id="3001">Repl 2019-07-01</customfieldvalue>
    <customfieldvalue id="3026">Repl 2019-07-15</customfieldvalue>
    <customfieldvalue id="3028">Repl 2019-07-29</customfieldvalue>
    <customfieldvalue id="3106">Repl 2019-08-12</customfieldvalue>
    <customfieldvalue id="3200">Repl 2019-08-26</customfieldvalue>
    <customfieldvalue id="3201">Repl 2019-09-09</customfieldvalue>

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

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