<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:48:41 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-38341] Remove Parallel Batch Writer Mutex</title>
                <link>https://jira.mongodb.org/browse/SERVER-38341</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Currently here is my understanding of the PBWM:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Primaries take it in IS for all reads and writes. This is unnecessary because it will never conflict with anything&lt;/li&gt;
	&lt;li&gt;Secondaries take it in X around a batch&lt;/li&gt;
	&lt;li&gt;Secondary oplog appliers don&apos;t take it at all&lt;/li&gt;
	&lt;li&gt;Snapshot secondary readers never take it&lt;/li&gt;
	&lt;li&gt;Secondary readers only take it in IS if there is no lastApplied to read from&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;The lock is only really used to serialize the second and fifth bullets above. It should be fairly straightforward to always have a lastApplied value to read from on secondaries. This extra lock adds a lot of code complexity with very little value and is high value code cleanup.&lt;/p&gt;</description>
                <environment></environment>
        <key id="641193">SERVER-38341</key>
            <summary>Remove Parallel Batch Writer Mutex</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="gregory.noma@mongodb.com">Gregory Noma</assignee>
                                    <reporter username="judah.schvimer@mongodb.com">Judah Schvimer</reporter>
                        <labels>
                            <label>modularization-project</label>
                    </labels>
                <created>Fri, 30 Nov 2018 19:21:10 +0000</created>
                <updated>Sun, 29 Oct 2023 22:26:12 +0000</updated>
                            <resolved>Mon, 7 Aug 2023 19:23:45 +0000</resolved>
                                                    <fixVersion>7.1.0-rc0</fixVersion>
                                    <component>Replication</component>
                    <component>Storage</component>
                                        <votes>0</votes>
                                    <watches>23</watches>
                                                                                                                <comments>
                            <comment id="5618301" author="xgen-internal-githook" created="Mon, 7 Aug 2023 19:23:00 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;Gregory Noma&apos;, &apos;email&apos;: &apos;gregory.noma@gmail.com&apos;, &apos;username&apos;: &apos;gregorynoma&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-38341&quot; title=&quot;Remove Parallel Batch Writer Mutex&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-38341&quot;&gt;&lt;del&gt;SERVER-38341&lt;/del&gt;&lt;/a&gt; Remove parallel batch writer mode&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/1d6783986496ad5cddacd69c678e760e8ce052eb&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/1d6783986496ad5cddacd69c678e760e8ce052eb&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="3416485" author="louis.williams" created="Tue, 29 Sep 2020 16:00:06 +0000"  >&lt;p&gt;We may want to do this in a way that does not block on &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-44105&quot; title=&quot;Perform ShardServerCatalogLoader writes in a single transaction&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-44105&quot;&gt;&lt;del&gt;SERVER-44105&lt;/del&gt;&lt;/a&gt;. We can just remove usages of the PBWM everywhere except the ShardServerCatalogLoader and the batch applier. No other operations will take the PBWM otherwise.&lt;/p&gt;</comment>
                            <comment id="2167677" author="vesselina.ratcheva" created="Fri, 1 Mar 2019 18:11:58 +0000"  >&lt;p&gt;This might be a good occasion to also reevaluate the usefulness of ResourceLock, as it seems the PBWM is the primary user of that.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="2401968">SERVER-79391</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2402030">SERVER-79392</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2402109">SERVER-79398</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2402110">SERVER-79399</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1335042">SERVER-47866</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1477020">SERVER-50970</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="758114">SERVER-41010</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2410963">SERVER-79804</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="1024179">SERVER-44821</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1026730">SERVER-44859</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1036183">SERVER-44943</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1036188">SERVER-44944</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1040795">SERVER-45007</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="783238">SERVER-41407</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="973141">SERVER-44105</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1368137">SERVER-48518</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2382381">SERVER-78599</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1361925">SERVER-48398</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="314750">SERVER-26006</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1361928">SERVER-48399</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>1.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25136"><![CDATA[Storage Execution]]></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, 30 Nov 2018 19:25:54 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        26 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/PM-1244'>PM-1244</a></s>, <s><a href='https://jira.mongodb.org/browse/SERVER-47866'>SERVER-47866</a></s>, <s><a href='https://jira.mongodb.org/browse/SERVER-50970'>SERVER-50970</a></s>, <s><a href='https://jira.mongodb.org/browse/SERVER-79398'>SERVER-79398</a></s>, <s><a href='https://jira.mongodb.org/browse/SERVER-79391'>SERVER-79391</a></s>, <s><a href='https://jira.mongodb.org/browse/SERVER-79399'>SERVER-79399</a></s>, <s><a href='https://jira.mongodb.org/browse/SERVER-79392'>SERVER-79392</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-2170</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>
                            26 weeks, 2 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>gregory.noma@mongodb.com</customfieldvalue>
            <customfieldvalue>judah.schvimer@mongodb.com</customfieldvalue>
            <customfieldvalue>louis.williams@mongodb.com</customfieldvalue>
            <customfieldvalue>vesselina.ratcheva@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hue4r3:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr23iv:</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="7183">Execution NAMR Team 2023-08-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|hudr0f:</customfieldvalue>

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