<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:50:50 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-39038] Remove the restriction that the &#8216;oldest_active_txn_timestamp&#8217; is greater than the initial data timestamp before exiting &#8216;STARTUP2&#8217;</title>
                <link>https://jira.mongodb.org/browse/SERVER-39038</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Remove the restriction that&#160;all transactions that were in the prepared state at the initial data timestamp be committed before exiting &#8216;STARTUP2&#8217;. There might be no additional work for this after&#160;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-39036&quot; title=&quot;Stop pinning stable timestamp behind prepared transactions&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-39036&quot;&gt;&lt;del&gt;SERVER-39036&lt;/del&gt;&lt;/a&gt;, since the way this restriction was enforced was by pinning the stable timestamp behind the oldest prepare timestamp (&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-35811&quot; title=&quot;Pin stable timestamp behind the oldest prepareTimestamp&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-35811&quot;&gt;&lt;del&gt;SERVER-35811&lt;/del&gt;&lt;/a&gt;) and enforcing that we do not leave &apos;STARTUP2&apos; until the stable timestamp is greater than the initial data timestamp (&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-37973&quot; title=&quot;Do not leave initial sync until &#8216;stable timestamp&#8217; is greater than the initial data timestamp&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-37973&quot;&gt;&lt;del&gt;SERVER-37973&lt;/del&gt;&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;We will leave &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-37973&quot; title=&quot;Do not leave initial sync until &#8216;stable timestamp&#8217; is greater than the initial data timestamp&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-37973&quot;&gt;&lt;del&gt;SERVER-37973&lt;/del&gt;&lt;/a&gt; in place because it is independently useful,&#160;since it ensures that a node will not require a full resync if it crashes or goes into rollback after exiting &#8216;STARTUP2&#8217;.&lt;/p&gt;

&lt;p&gt;This work should not be started until testing for initial sync for Prepare Support for Transactions is complete, so that we can check that initial sync tests still pass after this change.&lt;/p&gt;</description>
                <environment></environment>
        <key id="673283">SERVER-39038</key>
            <summary>Remove the restriction that the &#8216;oldest_active_txn_timestamp&#8217; is greater than the initial data timestamp before exiting &#8216;STARTUP2&#8217;</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="pavithra.vetriselvan@mongodb.com">Pavithra Vetriselvan</assignee>
                                    <reporter username="tess.avitabile@mongodb.com">Tess Avitabile</reporter>
                        <labels>
                    </labels>
                <created>Wed, 16 Jan 2019 14:59:09 +0000</created>
                <updated>Fri, 27 Oct 2023 20:43:03 +0000</updated>
                            <resolved>Thu, 11 Apr 2019 18:55:57 +0000</resolved>
                                                                    <component>Replication</component>
                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="2210112" author="tess.avitabile" created="Thu, 11 Apr 2019 18:55:57 +0000"  >&lt;p&gt;Thank you for investigating, &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=pavithra.vetriselvan&quot; class=&quot;user-hover&quot; rel=&quot;pavithra.vetriselvan&quot;&gt;pavithra.vetriselvan&lt;/a&gt;. I agree that there is no work to do.&lt;/p&gt;</comment>
                            <comment id="2209801" author="pavithra.vetriselvan" created="Thu, 11 Apr 2019 16:00:57 +0000"  >&lt;p&gt;I don&apos;t think there is any work to do here because it looks like we do not actually enforce that the &quot;oldest_active_txn_timestamp&quot; is greater than the initial data timestamp. We set the initial data timestamp to the last applied &lt;a href=&quot;https://github.com/mongodb/mongo/blob/d50459e50a9440e703d00fab5862faa971d1cfc7/src/mongo/db/repl/initial_syncer.cpp#L448&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here&lt;/a&gt; at the end of initial sync. The earliest that the last applied could be is the &quot;oldest_active_txn_timestamp&quot; if one exists, so the initial data timestamp could never be before it. &lt;/p&gt;

&lt;p&gt;As mentioned in the ticket, we enforced this by pinning the stable timestamp behind the oldest prepare timestamp (&quot;oldest_active_txn_timestamp&quot;). The only way the stable timestamp could advance past this and, subsequently, the initial data timestamp, is if the corresponding prepared transaction gets committed/aborted. &lt;/p&gt;</comment>
                            <comment id="2187200" author="tess.avitabile" created="Thu, 21 Mar 2019 13:48:34 +0000"  >&lt;p&gt;Determine if there is any work to do here. Prepare may not yet have made any change to require that the oldest active transaction timestamp is greater than the initial data timestamp when exiting initial sync.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="629996">SERVER-37973</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="673272">SERVER-39036</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.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_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 11 Apr 2019 16:00:57 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        4 years, 43 weeks, 6 days 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-39036'>SERVER-39036</a></s>, <s><a href='https://jira.mongodb.org/browse/SERVER-37973'>SERVER-37973</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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-1346</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, 43 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>pavithra.vetriselvan@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|hujglr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hu9f3b:</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="2896">Repl 2019-04-08</customfieldvalue>
    <customfieldvalue id="2918">Repl 2019-04-22</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|huj2v3:</customfieldvalue>

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