<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:17:04 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-48419] Extend rollback to recover resumable index builds efficiently</title>
                <link>https://jira.mongodb.org/browse/SERVER-48419</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Upon rollback, there are several scenarios that can occur, given these time periods for the start and end of rollback:&lt;br/&gt;
	1.	Prior to index build starting.&lt;br/&gt;
	2.	During index build phase 1 (collection scan and inserting into sorter(s))&lt;br/&gt;
	3.	During index build phase 2 (bulk load of index table(s))&lt;br/&gt;
	4.	During index build phase 3 (catch up from side table(s))&lt;br/&gt;
	5.	After index build completes.&lt;/p&gt;

&lt;p&gt;This work should only begin after we have a stable basic rollback procedure that handles resumable index builds. See &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-48418&quot; title=&quot;Rollback restart resumable index builds from beginning&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-48418&quot;&gt;&lt;del&gt;SERVER-48418&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1362808">SERVER-48419</key>
            <summary>Extend rollback to recover resumable index builds efficiently</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="benety.goh@mongodb.com">Benety Goh</assignee>
                                    <reporter username="benety.goh@mongodb.com">Benety Goh</reporter>
                        <labels>
                    </labels>
                <created>Tue, 26 May 2020 18:52:00 +0000</created>
                <updated>Sun, 29 Oct 2023 22:07:46 +0000</updated>
                            <resolved>Fri, 18 Sep 2020 14:32:58 +0000</resolved>
                                                    <fixVersion>4.8.0</fixVersion>
                                    <component>Storage</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="3400980" author="xgen-internal-githook" created="Fri, 18 Sep 2020 15:11:10 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Benety Goh&apos;, &apos;email&apos;: &apos;benety@mongodb.com&apos;, &apos;username&apos;: &apos;benety&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-48419&quot; title=&quot;Extend rollback to recover resumable index builds efficiently&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-48419&quot;&gt;&lt;del&gt;SERVER-48419&lt;/del&gt;&lt;/a&gt; Execution Architecture Guide: update Resumable Index Builds for rollback&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/6b15e4de5d249f2a91fcc60c848e584af6756dbc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/6b15e4de5d249f2a91fcc60c848e584af6756dbc&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3400525" author="xgen-internal-githook" created="Fri, 18 Sep 2020 08:25:05 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Benety Goh&apos;, &apos;email&apos;: &apos;benety@mongodb.com&apos;, &apos;username&apos;: &apos;benety&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-48419&quot; title=&quot;Extend rollback to recover resumable index builds efficiently&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-48419&quot;&gt;&lt;del&gt;SERVER-48419&lt;/del&gt;&lt;/a&gt; resume index builds after rollback (collection scan only)&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/50f33314ee1780f5f37ff940f7f5c00adccbe261&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/50f33314ee1780f5f37ff940f7f5c00adccbe261&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3364407" author="benety.goh" created="Fri, 28 Aug 2020 16:25:25 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-40894&quot; title=&quot;Remove unused setGhostCommitTimestampForWrite() and TimestampIndexBuildDrain&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-40894&quot;&gt;&lt;del&gt;SERVER-40894&lt;/del&gt;&lt;/a&gt; provides context on timestamping writes during the drain phases.&lt;/p&gt;</comment>
                            <comment id="3362764" author="benety.goh" created="Thu, 27 Aug 2020 18:01:59 +0000"  >&lt;p&gt;Assigning to &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=gregory.noma&quot; class=&quot;user-hover&quot; rel=&quot;gregory.noma&quot;&gt;gregory.noma&lt;/a&gt; to evaluate changes to the recover-to-stable-timestamp rollback algorithm. Since the design for resumable indexes was approved, the rollback algorithm has changed significantly to accommodate simultaneous index builds in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-39451&quot; title=&quot;Add recover to a stable timestamp logic for startIndexBuild, abortIndexBuild, commitIndexBuild&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-39451&quot;&gt;&lt;del&gt;SERVER-39451&lt;/del&gt;&lt;/a&gt;, &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-44467&quot; title=&quot;Implement startup recovery for two-phase index builds&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-44467&quot;&gt;&lt;del&gt;SERVER-44467&lt;/del&gt;&lt;/a&gt;, and &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-46558&quot; title=&quot;Bgsync stops all index builds even before transitioning to rollback state and causes secondary replication to hang&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-46558&quot;&gt;&lt;del&gt;SERVER-46558&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="3362744" author="benety.goh" created="Thu, 27 Aug 2020 17:55:41 +0000"  >&lt;p&gt;Refer to &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-39451&quot; title=&quot;Add recover to a stable timestamp logic for startIndexBuild, abortIndexBuild, commitIndexBuild&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-39451&quot;&gt;&lt;del&gt;SERVER-39451&lt;/del&gt;&lt;/a&gt; and &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-44467&quot; title=&quot;Implement startup recovery for two-phase index builds&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-44467&quot;&gt;&lt;del&gt;SERVER-44467&lt;/del&gt;&lt;/a&gt; for recent rollback changes for simultaneous indexes.&lt;/p&gt;</comment>
                            <comment id="3272496" author="benety.goh" created="Tue, 7 Jul 2020 16:15:29 +0000"  >&lt;p&gt;Due to a feature of the commit quorum implementation, we may repeated drain the side tables within phase 3 (catch up from side table(s)) while waiting for&#160;the&#160;&lt;tt&gt;commitIndexBuild&lt;/tt&gt; oplog entry from the primary.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10520">
                    <name>Problem/Incident</name>
                                            <outwardlinks description="causes">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="1446820">SERVER-50391</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1463871">SERVER-50775</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1478455">SERVER-51007</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1478458">SERVER-51008</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="1215127">SERVER-46558</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1478593">SERVER-51020</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="685965">SERVER-39451</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="686034">SERVER-39458</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="686514">SERVER-39484</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="750315">SERVER-40894</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="992093">SERVER-44467</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1362807">SERVER-48418</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>6.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_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, 28 Aug 2020 15:25:03 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        3 years, 20 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_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-1344</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>
                            3 years, 20 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_16465" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Linked BF Score</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>37.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>benety.goh@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hxn2sf:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr53wf:</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="4213">Execution Team 2020-09-21</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|hxmp1r:</customfieldvalue>

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