<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:02:31 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-43198] Zombie writes from failing $merge should not be able to re-create a collection</title>
                <link>https://jira.mongodb.org/browse/SERVER-43198</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-38852&quot; title=&quot;Failing $merge can leave zombie writes in the cluster&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-38852&quot;&gt;SERVER-38852&lt;/a&gt; describes a general problem of lingering operations which is probably much harder to solve. While investigating that we realized that $merge&apos;s writes are actually allowing an implicit creation of a collection. This may have been intentional to get the auto-create behavior for $merge, but it would be more robust to have the collection explicitly created, and that should be achievable.&lt;/p&gt;</description>
                <environment></environment>
        <key id="918697">SERVER-43198</key>
            <summary>Zombie writes from failing $merge should not be able to re-create a collection</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</priority>
                        <status id="10038" iconUrl="https://jira.mongodb.org/images/icons/subtask.gif" description="">Backlog</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="backlog-query-execution">Backlog - Query Execution</assignee>
                                    <reporter username="charlie.swanson@mongodb.com">Charlie Swanson</reporter>
                        <labels>
                            <label>neweng</label>
                    </labels>
                <created>Fri, 6 Sep 2019 17:22:14 +0000</created>
                <updated>Fri, 8 Sep 2023 15:20:12 +0000</updated>
                                            <version>4.2.0</version>
                                                    <component>Aggregation Framework</component>
                    <component>Sharding</component>
                                        <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="5073060" author="charlie.swanson" created="Thu, 22 Dec 2022 16:08:25 +0000"  >&lt;p&gt;I&apos;m sending this back to the backlog after failing to make time to work on this for several sprints in a row. If this is important I think we should schedule it again. I don&apos;t see this as very important personally if it&apos;s not actively causing a BF and I can no longer reproduce it. Setting to P4 accordingly.&lt;/p&gt;</comment>
                            <comment id="4760104" author="charlie.swanson" created="Thu, 18 Aug 2022 13:27:30 +0000"  >&lt;p&gt;I can no longer use the attached script to reproduce this. I&apos;m guessing it&apos;s still an issue, but will need a more sophisticated approach to fix it.&lt;/p&gt;</comment>
                            <comment id="4630772" author="kyle.suarez" created="Tue, 21 Jun 2022 21:54:36 +0000"  >&lt;p&gt;Is this unblocked now?&lt;/p&gt;</comment>
                            <comment id="2525915" author="charlie.swanson" created="Fri, 8 Nov 2019 19:58:39 +0000"  >&lt;p&gt;Similar to &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-43851&quot; title=&quot;Work around zombie writes in $merge tests&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-43851&quot;&gt;&lt;del&gt;SERVER-43851&lt;/del&gt;&lt;/a&gt;, we&apos;re postponing this work and waiting for &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-44252&quot; title=&quot;Delete implicit collection creation loop through the config server in sharding&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-44252&quot;&gt;&lt;del&gt;SERVER-44252&lt;/del&gt;&lt;/a&gt; to land. &lt;/p&gt;</comment>
                            <comment id="2411383" author="charlie.swanson" created="Fri, 6 Sep 2019 20:23:35 +0000"  >&lt;p&gt;Thanks &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=janna.golden&quot; class=&quot;user-hover&quot; rel=&quot;janna.golden&quot;&gt;janna.golden&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2411088" author="janna.golden" created="Fri, 6 Sep 2019 18:07:34 +0000"  >&lt;p&gt;Yeah, we changed BatchedCommandRequest&apos;s _allowImplicitCollectionCreation to default to false as a part of &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-42430&quot; title=&quot;Create whitelist of namespaces that are allowed to be created implicitly on shards&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-42430&quot;&gt;&lt;del&gt;SERVER-42430&lt;/del&gt;&lt;/a&gt; which would affect $merge since it uses the ClusterWriter. We didn&apos;t backport this though.&lt;/p&gt;</comment>
                            <comment id="2411010" author="charlie.swanson" created="Fri, 6 Sep 2019 17:32:41 +0000"  >&lt;p&gt;Adding this to a sprint just so I don&apos;t forget about it. It&apos;s historically been a BF Friday sort of task but that may change.&lt;/p&gt;</comment>
                            <comment id="2411006" author="charlie.swanson" created="Fri, 6 Sep 2019 17:30:18 +0000"  >&lt;p&gt;Copied over the patch that I think will fix this and the supposed reproducer that I can no longer get to work from &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-38852&quot; title=&quot;Failing $merge can leave zombie writes in the cluster&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-38852&quot;&gt;SERVER-38852&lt;/a&gt; (even on that version of the code base). &lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=janna.golden&quot; class=&quot;user-hover&quot; rel=&quot;janna.golden&quot;&gt;janna.golden&lt;/a&gt; this is related to some of your recent work to disallow implicit collection creation, correct? Do you know which ticket that was? I recall that this is no longer really a bug but it will incur some bad performance characteristics that can be avoided. This is probably still a bug on 4.2 so I&apos;ll add that as an affectedVersion.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="979447">SERVER-44252</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="665876">SERVER-38852</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="2436277">SERVER-80853</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="875896">SERVER-42430</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="396583" name="attempted_reproduction.js" size="1753" author="charlie.swanson@mongodb.com" created="Thu, 18 Aug 2022 13:28:48 +0000"/>
                            <attachment id="229920" name="zombie_killer.patch" size="15334" author="charlie.swanson@mongodb.com" created="Fri, 6 Sep 2019 17:28:07 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>8.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>12.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25125"><![CDATA[Query Execution]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 6 Sep 2019 18:07:34 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        1 year, 6 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-44252'>SERVER-44252</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_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>jordi.serra-torrens@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            1 year, 6 weeks, 6 days ago
                        </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>backlog-query-execution</customfieldvalue>
            <customfieldvalue>charlie.swanson@mongodb.com</customfieldvalue>
            <customfieldvalue>janna.golden@mongodb.com</customfieldvalue>
            <customfieldvalue>kyle.suarez@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hvou6n:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr2h7b:</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="2885">Query 2019-09-23</customfieldvalue>
    <customfieldvalue id="2886">Query 2019-10-07</customfieldvalue>
    <customfieldvalue id="3283">Query 2019-10-21</customfieldvalue>
    <customfieldvalue id="3284">Query 2019-11-04</customfieldvalue>
    <customfieldvalue id="5907">QO 2022-08-22</customfieldvalue>
    <customfieldvalue id="5909">QO 2022-09-05</customfieldvalue>
    <customfieldvalue id="5911">QO 2022-09-19</customfieldvalue>
    <customfieldvalue id="5913">QO 2022-10-03</customfieldvalue>
    <customfieldvalue id="5916">QE 2022-10-31</customfieldvalue>
    <customfieldvalue id="5918">QE 2022-11-14</customfieldvalue>
    <customfieldvalue id="5920">QE 2022-11-28</customfieldvalue>
    <customfieldvalue id="5922">QE 2022-12-12</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|hvogfz:</customfieldvalue>

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