<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:34:09 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-33656] After initial snapshot read, only allow getMores for that txnNumber</title>
                <link>https://jira.mongodb.org/browse/SERVER-33656</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;After an initial snapshot read is run, e.g. {&lt;tt&gt;find: &quot;c&quot;, readConcern: {level: &quot;snapshot&quot;}, lsid: UUID(...), txnNumber: &amp;lt;txnNumber&amp;gt;&lt;/tt&gt;}, we must require that any subsequent operation using &lt;tt&gt;&amp;lt;txnNumber&amp;gt;&lt;/tt&gt; is a &lt;tt&gt;getMore&lt;/tt&gt;.&lt;/p&gt;</description>
                <environment></environment>
        <key id="505730">SERVER-33656</key>
            <summary>After initial snapshot read, only allow getMores for that txnNumber</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="13203">Gone away</resolution>
                                        <assignee username="james.wahlin@mongodb.com">James Wahlin</assignee>
                                    <reporter username="tess.avitabile@mongodb.com">Tess Avitabile</reporter>
                        <labels>
                    </labels>
                <created>Mon, 5 Mar 2018 14:51:05 +0000</created>
                <updated>Fri, 27 Oct 2023 20:43:35 +0000</updated>
                            <resolved>Fri, 23 Mar 2018 14:47:35 +0000</resolved>
                                                                    <component>Storage</component>
                                        <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="1843259" author="james.wahlin@10gen.com" created="Fri, 23 Mar 2018 14:47:35 +0000"  >&lt;p&gt;This work is no longer required as we will restrict snapshot reads to multi-statement transactions.&lt;/p&gt;</comment>
                            <comment id="1832569" author="tess.avitabile" created="Tue, 13 Mar 2018 19:03:06 +0000"  >&lt;p&gt;Correct.&lt;/p&gt;</comment>
                            <comment id="1832530" author="spencer" created="Tue, 13 Mar 2018 18:32:21 +0000"  >&lt;p&gt;To be clear, this is specifically about autocommit:true reads, right?  autocommit-false read-only transaction will allow multiple cursors to be open at the same time.&lt;/p&gt;</comment>
                            <comment id="1827157" author="schwerin" created="Thu, 8 Mar 2018 13:36:46 +0000"  >&lt;p&gt;I see. Thanks all!&lt;/p&gt;</comment>
                            <comment id="1826139" author="james.wahlin@10gen.com" created="Wed, 7 Mar 2018 16:34:47 +0000"  >&lt;p&gt;Restricting snapshot reads to one open cursor also allows us to simplify transaction resource stashing. To support multiple open cursors reflecting different points in times would have meant either allowing for more than one stashed transaction resource set per session, or stashing resources on the client cursor. &lt;/p&gt;</comment>
                            <comment id="1826090" author="milkie" created="Wed, 7 Mar 2018 16:13:54 +0000"  >&lt;p&gt;I expect if you wanted to run multiple finds in the same snapshot, you could use the multi-statement transaction syntax to achieve that.&lt;/p&gt;</comment>
                            <comment id="1825982" author="tess.avitabile" created="Wed, 7 Mar 2018 15:33:14 +0000"  >&lt;p&gt;We expect to have one cursor per snapshot read. When that cursor is exhausted/killed, that should abort the transaction for the snapshot read. If we allow multiple simultaneous open cursors on a snapshot read, then we would have to keep the transaction open until all cursors are exhausted/killed. If we allow multiple serial open cursors on a snapshot read, it would be a bit strange because they would have the same &lt;tt&gt;txnNumber&lt;/tt&gt; but not read from the same snapshot. We would also need to decide whether to ban you from starting a multi-document transaction at that &lt;tt&gt;txnNumber&lt;/tt&gt;. I think it is simpler if exhausting/killing the cursor aborts the transaction and the &lt;tt&gt;txnNumber&lt;/tt&gt; cannot be reused.&lt;/p&gt;</comment>
                            <comment id="1825441" author="schwerin" created="Wed, 7 Mar 2018 02:14:36 +0000"  >&lt;p&gt;Why can&apos;t I run another find?&lt;/p&gt;</comment>
                            <comment id="1823087" author="tess.avitabile" created="Mon, 5 Mar 2018 15:25:41 +0000"  >&lt;p&gt;I don&apos;t think we would expect &lt;tt&gt;killCursors&lt;/tt&gt; to use the same &lt;tt&gt;txnNumber&lt;/tt&gt;. Or rather, we wouldn&apos;t enforce anything about that because &lt;tt&gt;killCursors&lt;/tt&gt; does not check out the session.&lt;/p&gt;</comment>
                            <comment id="1823047" author="james.wahlin@10gen.com" created="Mon, 5 Mar 2018 14:59:39 +0000"  >&lt;p&gt;Or a &lt;tt&gt;killCursors&lt;/tt&gt; invocation on the open cursor&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="510138">SERVER-33838</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>10.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 5 Mar 2018 14:59:39 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        5 years, 46 weeks, 5 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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-848</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>false</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, 46 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>schwerin@mongodb.com</customfieldvalue>
            <customfieldvalue>milkie@mongodb.com</customfieldvalue>
            <customfieldvalue>james.wahlin@mongodb.com</customfieldvalue>
            <customfieldvalue>spencer@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|htrpmf:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hthr6n:</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="2199">Storage NYC 2018-03-26</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|htrbsv:</customfieldvalue>

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