<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:52:23 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-83508] Race between watchdog and FCBIS deleting old storage files</title>
                <link>https://jira.mongodb.org/browse/SERVER-83508</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;When we start the watchdog, we add the directories to be checked to a list of directories. This is added as just the filepath to the directory. For example, we might add the journal directory &lt;a href=&quot;https://github.com/10gen/mongo/blob/f97bc67bca7afe8e147d9c7754e2776e015ba8aa/src/mongo/watchdog/watchdog_mongod.cpp#L165&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here&lt;/a&gt;. Then, the watchdog &lt;a href=&quot;https://github.com/10gen/mongo/blob/7e56544b542be3c2459358f7c358fc6100811229/src/mongo/watchdog/watchdog.cpp#L167-L218&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;runs in a loop&lt;/a&gt; every x seconds, and &lt;a href=&quot;https://github.com/10gen/mongo/blob/7e56544b542be3c2459358f7c358fc6100811229/src/mongo/watchdog/watchdog.cpp#L493&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;checks the directories&lt;/a&gt;. As part of FCBIS, we &lt;a href=&quot;https://github.com/10gen/mongo-enterprise-modules/blob/r6.2.1/src/fcbis/file_copy_based_initial_syncer.cpp#L1427-L1432&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;switch the storage location&lt;/a&gt;. So the watchdog should get interrupted, but as part of &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-66444&quot; title=&quot;File Copy Based Initial Sync is incompatible with the storage watchdog&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-66444&quot;&gt;&lt;del&gt;SERVER-66444&lt;/del&gt;&lt;/a&gt; we just &lt;a href=&quot;https://github.com/10gen/mongo/blob/7e56544b542be3c2459358f7c358fc6100811229/src/mongo/watchdog/watchdog.cpp#L187-L189&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;continue with the loop if that happens&lt;/a&gt;, and the list of directories to be checked remains the same. Then FCBIS deletes the existing local files used by WT (including the journal directory) &lt;a href=&quot;https://github.com/10gen/mongo-enterprise-modules/blob/r6.2.1/src/fcbis/file_copy_based_initial_syncer.cpp#L1458-L1459&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here&lt;/a&gt;. Then the watchdog would try to open files in the now-deleted directory, resulting in an &lt;a href=&quot;https://github.com/10gen/mongo/blob/f97bc67bca7afe8e147d9c7754e2776e015ba8aa/src/mongo/watchdog/watchdog.cpp#L470-L479&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;fassert&lt;/a&gt;. &lt;/p&gt;</description>
                <environment></environment>
        <key id="2506683">SERVER-83508</key>
            <summary>Race between watchdog and FCBIS deleting old storage files</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="10018" iconUrl="https://jira.mongodb.org/images/icons/statuses/visible.png" description="">In Code Review</status>
                    <statusCategory id="4" key="indeterminate" colorName="inprogress"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="huayu.ouyang@mongodb.com">Huayu Ouyang</assignee>
                                    <reporter username="huayu.ouyang@mongodb.com">Huayu Ouyang</reporter>
                        <labels>
                            <label>repl-shortlist</label>
                    </labels>
                <created>Tue, 21 Nov 2023 19:35:33 +0000</created>
                <updated>Thu, 8 Feb 2024 04:40:48 +0000</updated>
                                                                                                <votes>0</votes>
                                    <watches>8</watches>
                                                                                                                <comments>
                            <comment id="6077683" author="xgen-internal-githook" created="Thu, 8 Feb 2024 04:40:48 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Huayu Ouyang&apos;, &apos;email&apos;: &apos;huayu.ouyang@mongodb.com&apos;, &apos;username&apos;: &apos;huayu-ouyang&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-83508&quot; title=&quot;Race between watchdog and FCBIS deleting old storage files&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-83508&quot;&gt;SERVER-83508&lt;/a&gt; Fix race between watchdog and FCBIS deleting old storage files&lt;/p&gt;

&lt;p&gt;GitOrigin-RevId: d1f4d26d0141d5bec652179faa47640ef4ad87d8&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/a44e4b8a4875da0eee5f11b835118a17ba448675&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/a44e4b8a4875da0eee5f11b835118a17ba448675&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="6074731" author="xgen-internal-githook" created="Wed, 7 Feb 2024 13:10:10 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Uladzimir Makouski&apos;, &apos;email&apos;: &apos;uladzimir.makouski@mongodb.com&apos;, &apos;username&apos;: &apos;umakouski&apos;}
&lt;p&gt;Message: Revert &quot;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-83508&quot; title=&quot;Race between watchdog and FCBIS deleting old storage files&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-83508&quot;&gt;SERVER-83508&lt;/a&gt; Fix race between watchdog and FCBIS deleting old storage files&quot;&lt;/p&gt;

&lt;p&gt;This reverts commit dc9cd11dfa5b1515656e7f96a0a7fef4c6aae261.&lt;/p&gt;

&lt;p&gt;GitOrigin-RevId: 27b4a0b9983696f0792aaf8c6064ae1ff457ee77&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/deefe379c9baedaac2553456f684e92ed6e0a95a&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/deefe379c9baedaac2553456f684e92ed6e0a95a&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="6072420" author="xgen-internal-githook" created="Tue, 6 Feb 2024 18:21:40 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Huayu Ouyang&apos;, &apos;email&apos;: &apos;huayu.ouyang@mongodb.com&apos;, &apos;username&apos;: &apos;huayu-ouyang&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-83508&quot; title=&quot;Race between watchdog and FCBIS deleting old storage files&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-83508&quot;&gt;SERVER-83508&lt;/a&gt; Fix race between watchdog and FCBIS deleting old storage files&lt;/p&gt;

&lt;p&gt;GitOrigin-RevId: dc9cd11dfa5b1515656e7f96a0a7fef4c6aae261&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/2fb550f1805d575224ae2c1f2860fd9819a64b56&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/2fb550f1805d575224ae2c1f2860fd9819a64b56&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10420">
                    <name>Backports</name>
                                            <outwardlinks description="backported by">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <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="2506687">SERVER-83510</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="2046186">SERVER-66444</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>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>4.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25128"><![CDATA[Replication]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12450" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Backport Requested</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25578"><![CDATA[v7.0]]></customfieldvalue>
    <customfieldvalue key="23470"><![CDATA[v6.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, 26 Jan 2024 21:01:19 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        2 hours, 11 minutes 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_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>xgen-internal-githook</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            2 hours ago
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_16465" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Linked BF Score</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>164.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i2jc2k:</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_22250" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Special Downgrade Instructions Required</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="23343"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="7969">Repl 2024-01-08</customfieldvalue>
    <customfieldvalue id="7970">Repl 2024-01-22</customfieldvalue>
    <customfieldvalue id="7971">Repl 2024-02-05</customfieldvalue>
    <customfieldvalue id="8246">Repl 2024-02-19</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10750" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Steps To Reproduce</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;Start initial sync node with FCBIS and watchdog on, and hang it after deleting the old storage files.&lt;/p&gt;
</customfieldvalue>

                        </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|i3153z:</customfieldvalue>

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