<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:52:06 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-39452] Add rollback via refetch logic for startIndexBuild, abortIndexBuild, commitIndexBuild</title>
                <link>https://jira.mongodb.org/browse/SERVER-39452</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Read the relevant design documents sections for details / edge case handling.&lt;/p&gt;</description>
                <environment></environment>
        <key id="685966">SERVER-39452</key>
            <summary>Add rollback via refetch logic for startIndexBuild, abortIndexBuild, commitIndexBuild</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="louis.williams@mongodb.com">Louis Williams</assignee>
                                    <reporter username="dianna.hohensee@mongodb.com">Dianna Hohensee</reporter>
                        <labels>
                    </labels>
                <created>Fri, 8 Feb 2019 14:20:57 +0000</created>
                <updated>Sun, 29 Oct 2023 22:24:18 +0000</updated>
                            <resolved>Mon, 16 Dec 2019 18:51:28 +0000</resolved>
                                                    <fixVersion>4.3.3</fixVersion>
                                    <component>Storage</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="2635216" author="xgen-internal-githook" created="Mon, 16 Dec 2019 21:52:48 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Louis Williams&apos;, &apos;email&apos;: &apos;louis.williams@mongodb.com&apos;, &apos;username&apos;: &apos;louiswilliams&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-39452&quot; title=&quot;Add rollback via refetch logic for startIndexBuild, abortIndexBuild, commitIndexBuild&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-39452&quot;&gt;&lt;del&gt;SERVER-39452&lt;/del&gt;&lt;/a&gt; rollback_index_builds_test should not create collections implicitly&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/0cf959f95a5e2360c5340e6d6a75b2a69690e827&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/0cf959f95a5e2360c5340e6d6a75b2a69690e827&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2634742" author="xgen-internal-githook" created="Mon, 16 Dec 2019 18:49:56 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Louis Williams&apos;, &apos;email&apos;: &apos;louis.williams@mongodb.com&apos;, &apos;username&apos;: &apos;louiswilliams&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-39452&quot; title=&quot;Add rollback via refetch logic for startIndexBuild, abortIndexBuild, commitIndexBuild&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-39452&quot;&gt;&lt;del&gt;SERVER-39452&lt;/del&gt;&lt;/a&gt; Support rollback via refetch for two-phase index builds&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/59152df7655101ee551d6432727170b42fcd136f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/59152df7655101ee551d6432727170b42fcd136f&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2483546" author="louis.williams" created="Tue, 15 Oct 2019 19:06:39 +0000"  >&lt;p&gt;I put up a quite detailed &lt;a href=&quot;https://evergreen.mongodb.com/version/5da615a57742ae7f8707838c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;patch here&lt;/a&gt; with much of the necessary logic, most of which is covered in the design. The complete logic is as follows:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;If a &lt;b&gt;startIndexBuild&lt;/b&gt; entry is rolled back:
	&lt;ul&gt;
		&lt;li&gt;If the index build is active, kill it&lt;/li&gt;
		&lt;li&gt;(missing from my patch): If the index build is in the set of &quot;indexBuildsToRestart&quot;, remove it to prevent it from being restarted. Skip the next step, since the index will already be in the &quot;indexesToDrop&quot; set.&lt;/li&gt;
		&lt;li&gt;If no index build is active, add it to the set of &quot;indexesToDrop&quot;&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
	&lt;li&gt;If an &lt;b&gt;abortIndexBuild&lt;/b&gt; entry is rolled back:
	&lt;ul&gt;
		&lt;li&gt;(missing from my patch) Add it to the set of &quot;indexesToDrop&quot;, which will be dropped before any indexes are restarted.&lt;/li&gt;
		&lt;li&gt;Add it to the set of &quot;indexBuildsToRestart&quot;, which will restart the index build in the background, but not commit it before rollback completes&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
	&lt;li&gt;If a &lt;b&gt;dropIndexes&lt;/b&gt; entry is rolled back:
	&lt;ul&gt;
		&lt;li&gt;Add it to the set of &quot;indexesToCreate&quot;, which will build the index build in the foreground and commit it.&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
	&lt;li&gt;If a &lt;b&gt;commitIndexBuild&lt;/b&gt; entry is rolled back:
	&lt;ul&gt;
		&lt;li&gt;If any of the indexes are in the set of &quot;indexesToCreate&quot;, remove them, since the index cannot be committed.&lt;/li&gt;
		&lt;li&gt;(missing from my patch)&#160; Add it to the set of &quot;indexesToDrop&quot;, which will be dropped before any indexes are restarted.&lt;/li&gt;
		&lt;li&gt;Add it to the set of &quot;indexBuildsToRestart&quot;, which will restart the index build in the background, but not commit it before rollback completes&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="2483504" author="louis.williams" created="Tue, 15 Oct 2019 18:51:34 +0000"  >&lt;p&gt;In order for rollback to work correctly, secondaries need to be able to signal index builds to commit when the transition to primary on step-up. This work is dependent on &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-39452&quot; title=&quot;Add rollback via refetch logic for startIndexBuild, abortIndexBuild, commitIndexBuild&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-39452&quot;&gt;&lt;del&gt;SERVER-39452&lt;/del&gt;&lt;/a&gt; for now.&lt;/p&gt;
</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="686514">SERVER-39484</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="987032">SERVER-44350</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="685965">SERVER-39451</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="688679">SERVER-39559</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="890932">SERVER-42763</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="971168">SERVER-44045</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="977946">SERVER-44186</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="963052">SERVER-43867</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1282600">SERVER-46994</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>4.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_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>Mon, 11 Feb 2019 21:19:34 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        4 years, 8 weeks, 2 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-39484'>SERVER-39484</a></s>, <s><a href='https://jira.mongodb.org/browse/SERVER-44350'>SERVER-44350</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-253</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, 8 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>dianna.hohensee@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>louis.williams@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hullnr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hvqhjr:</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="3400">Execution Team 2019-12-02</customfieldvalue>
    <customfieldvalue id="3401">Execution Team 2019-12-16</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10555" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5.0</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|hul7x3:</customfieldvalue>

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