<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:35:36 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-34113] Remove all support for snapshot reads outside of multi-document transactions</title>
                <link>https://jira.mongodb.org/browse/SERVER-34113</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;This is a follow on to &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-34095&quot; title=&quot;Restrict snapshot reads to multi-statement transactions&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-34095&quot;&gt;&lt;del&gt;SERVER-34095&lt;/del&gt;&lt;/a&gt; which disallows snapshot reads outside of multi-document transactions unless explicitly enabled for test purposes. This work should be scheduled for the 4.1 development cycle.&lt;/p&gt;</description>
                <environment></environment>
        <key id="515916">SERVER-34113</key>
            <summary>Remove all support for snapshot reads outside of multi-document transactions</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="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="xiangyu.yao@mongodb.com">Xiangyu Yao</assignee>
                                    <reporter username="james.wahlin@mongodb.com">James Wahlin</reporter>
                        <labels>
                            <label>nyc</label>
                    </labels>
                <created>Fri, 23 Mar 2018 20:40:50 +0000</created>
                <updated>Sun, 29 Oct 2023 22:33:22 +0000</updated>
                            <resolved>Tue, 19 Jun 2018 21:16:02 +0000</resolved>
                                                    <fixVersion>4.0.1</fixVersion>
                    <fixVersion>4.1.1</fixVersion>
                                    <component>Storage</component>
                                        <votes>0</votes>
                                    <watches>13</watches>
                                                                                                                <comments>
                            <comment id="1943575" author="xgen-internal-githook" created="Tue, 10 Jul 2018 19:15:13 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;xy24&apos;, &apos;name&apos;: &apos;Xiangyu Yao&apos;, &apos;email&apos;: &apos;xiangyu.yao@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-34113&quot; title=&quot;Remove all support for snapshot reads outside of multi-document transactions&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-34113&quot;&gt;&lt;del&gt;SERVER-34113&lt;/del&gt;&lt;/a&gt; Remove all support for snapshot reads outside multi-document transactions&lt;/p&gt;

&lt;p&gt;(cherry picked from commit 1871507cdbdd492abee785076203467d20e0e716)&lt;br/&gt;
Branch: v4.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/86439f3cd32a4bf7bc0aaf9f550b0f0fd9dc2e8e&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/86439f3cd32a4bf7bc0aaf9f550b0f0fd9dc2e8e&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1925537" author="xgen-internal-githook" created="Tue, 19 Jun 2018 21:15:29 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;xy24&apos;, &apos;name&apos;: &apos;Xiangyu Yao&apos;, &apos;email&apos;: &apos;xiangyu.yao@mongodb.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-34113&quot; title=&quot;Remove all support for snapshot reads outside of multi-document transactions&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-34113&quot;&gt;&lt;del&gt;SERVER-34113&lt;/del&gt;&lt;/a&gt; Remove all support for snapshot reads outside multi-document transactions&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/1871507cdbdd492abee785076203467d20e0e716&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/1871507cdbdd492abee785076203467d20e0e716&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="1918881" author="tess.avitabile" created="Tue, 12 Jun 2018 20:19:16 +0000"  >&lt;p&gt;Yes, we should replace &lt;tt&gt;inSnapshotReadOrMultiDocumentTransaction()&lt;/tt&gt; with &lt;tt&gt;inMultiDocumentTransaction()&lt;/tt&gt;.&lt;/p&gt;</comment>
                            <comment id="1918872" author="xiangyu.yao" created="Tue, 12 Jun 2018 20:13:24 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=tess.avitabile&quot; class=&quot;user-hover&quot; rel=&quot;tess.avitabile&quot;&gt;tess.avitabile&lt;/a&gt; Do we still need to remove inSnapshotReadOrMultiDocumentTransaction()? or convert it to inMultiDocumentTransaction()?&lt;/p&gt;</comment>
                            <comment id="1908734" author="tess.avitabile" created="Fri, 1 Jun 2018 20:35:06 +0000"  >&lt;p&gt;It might break some transactions tests when you remove &lt;a href=&quot;https://github.com/mongodb/mongo/blob/079cd08e7c31c49a21d2bc271a962da05373a017/src/mongo/db/service_entry_point_common.cpp#L825&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;this clause&lt;/a&gt;. DBDirectClient calls in transactions are succeeding because test commands are enabled. This is being worked on in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-34764&quot; title=&quot;Spurious &amp;quot;readConcern level snapshot is only valid in multi-statement transactions&amp;quot; error&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-34764&quot;&gt;&lt;del&gt;SERVER-34764&lt;/del&gt;&lt;/a&gt;. Just wanted to give you a heads up.&lt;/p&gt;</comment>
                            <comment id="1891943" author="louis.williams" created="Tue, 15 May 2018 17:44:53 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-34443&quot; title=&quot;Refactor how WiredTigerRecoveryUnit and WiredTigerSnapshotManager begin transactions at points in time&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-34443&quot;&gt;&lt;del&gt;SERVER-34443&lt;/del&gt;&lt;/a&gt; Added a &lt;a href=&quot;https://github.com/mongodb/mongo/blob/6d2de545a7cfcf4ab23dcf73426a1d50896d6d0c/src/mongo/db/session.cpp#L388-L395&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;TODO comment here&lt;/a&gt; to remove a check when setting a ReadSource on a RecoveryUnit in an active WT transaction. Commands like &apos;group&apos; that use DBDirectClient and are allowed within snapshot reads, but not multi-document transactions, violate this invariant.&#160;&lt;/p&gt;</comment>
                            <comment id="1886410" author="tess.avitabile" created="Tue, 8 May 2018 21:44:25 +0000"  >&lt;p&gt;We should also make sure that any command that is not supported in transactions does not claim to support snapshot read concern in &lt;a href=&quot;https://github.com/mongodb/mongo/blob/59461a27398384e4ed2cb4d3e8b0c1f5897a3255/src/mongo/db/commands.h#L495&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;&lt;tt&gt;supportsReadConcern&lt;/tt&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="1852744" author="maria.vankeulen" created="Mon, 2 Apr 2018 20:59:56 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-34239&quot; title=&quot;Don&amp;#39;t extract readConcernArgs from request when running a DBDirectClient command under a transaction&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-34239&quot;&gt;&lt;del&gt;SERVER-34239&lt;/del&gt;&lt;/a&gt; added a TODO comment about replacing a check for transaction number/logical session id with Session::inMultiDocumentTransaction(). This should be addressed here.&lt;/p&gt;</comment>
                            <comment id="1843908" author="tess.avitabile" created="Fri, 23 Mar 2018 20:45:32 +0000"  >&lt;p&gt;As part of this work, we should:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Remove &lt;a href=&quot;https://github.com/mongodb/mongo/blob/6ace5353e20086ce02202b8c2c684cadcfac2b47/src/mongo/db/session.h#L259&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;&lt;tt&gt;inSnapshotReadOrMultiDocumentTransaction()&lt;/tt&gt;&lt;/a&gt;.&lt;/li&gt;
	&lt;li&gt;Remove the &lt;tt&gt;MultiDocumentTransactionState&lt;/tt&gt; &lt;a href=&quot;https://github.com/mongodb/mongo/blob/6ace5353e20086ce02202b8c2c684cadcfac2b47/src/mongo/db/session.h#L354&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;&lt;tt&gt;kInSnapshotRead&lt;/tt&gt;&lt;/a&gt;.&lt;/li&gt;
	&lt;li&gt;Remove &lt;a href=&quot;https://github.com/mongodb/mongo/blob/6ace5353e20086ce02202b8c2c684cadcfac2b47/src/mongo/db/operation_context.h#L434&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;&lt;tt&gt;setStashedCursor()&lt;/tt&gt;&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10420">
                    <name>Backports</name>
                                            <outwardlinks description="backported by">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="562092">SERVER-35704</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="510138">SERVER-33838</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="515761">SERVER-34095</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>9.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_12450" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Backport Requested</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="15640"><![CDATA[v4.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>Fri, 23 Mar 2018 20:45:32 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        5 years, 31 weeks, 1 day 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>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            5 years, 31 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>james.wahlin@mongodb.com</customfieldvalue>
            <customfieldvalue>louis.williams@mongodb.com</customfieldvalue>
            <customfieldvalue>maria.vankeulen@mongodb.com</customfieldvalue>
            <customfieldvalue>tess.avitabile@mongodb.com</customfieldvalue>
            <customfieldvalue>xiangyu.yao@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|httfsn:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|htr48f:</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="2329">Storage NYC 2018-06-18</customfieldvalue>
    <customfieldvalue id="2391">Storage NYC 2018-07-02</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|htt20f:</customfieldvalue>

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