<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:10:46 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-46191] Make waiting for the truncate point in waitForWriteConcern for single voter replica sets obey wtimeout</title>
                <link>https://jira.mongodb.org/browse/SERVER-46191</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;This work is the result of adding waiting for the truncate point in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-46186&quot; title=&quot;Single voter replica set primaries must wait for the truncate point for {j:true} write concern&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-46186&quot;&gt;&lt;del&gt;SERVER-46186&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;The code design should be made with consideration to &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-45847&quot; title=&quot;Pull the JournalFlusher out of the storage engine layer and place it above the storage engine&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-45847&quot;&gt;&lt;del&gt;SERVER-45847&lt;/del&gt;&lt;/a&gt; and &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-45792&quot; title=&quot;Make StorageEngine::waitForJournalFlush interruptible&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-45792&quot;&gt;&lt;del&gt;SERVER-45792&lt;/del&gt;&lt;/a&gt;. Currently we do not obey writeConcern&apos;s wtimeout for flushing the journal or waiting for the truncate point (the oplog no holes point).&lt;/p&gt;

&lt;p&gt;This ticket must also unmodify the &lt;a href=&quot;https://github.com/mongodb/mongo/blob/9d837976a3c9b408df43f3e6c38ceb3837b0650e/jstests/replsets/majority_writes_wait_for_all_durable_timestamp.js&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;majority_writes_wait_for_all_durable_timestamp.js&lt;/a&gt; test that &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-46186&quot; title=&quot;Single voter replica set primaries must wait for the truncate point for {j:true} write concern&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-46186&quot;&gt;&lt;del&gt;SERVER-46186&lt;/del&gt;&lt;/a&gt; modified to explicitly use &lt;/p&gt;
{j: false}
&lt;p&gt; to get a writeConcern wtimeout to work.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1150801">SERVER-46191</key>
            <summary>Make waiting for the truncate point in waitForWriteConcern for single voter replica sets obey wtimeout</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="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-server-execution">Backlog - Storage Execution Team</assignee>
                                    <reporter username="dianna.hohensee@mongodb.com">Dianna Hohensee</reporter>
                        <labels>
                    </labels>
                <created>Fri, 14 Feb 2020 20:44:41 +0000</created>
                <updated>Mon, 5 Dec 2022 20:27:13 +0000</updated>
                                                                            <component>Storage</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="2879760" author="dianna.hohensee" created="Fri, 14 Feb 2020 23:56:12 +0000"  >&lt;p&gt;There were two initial thoughts for how to do this&lt;/p&gt;

&lt;p&gt;1) Separate awaitReplication functionality into a wrapper class that handles the wtimeout calculations and result setting on error, and then call the wait for no holes function and existing replication waiting logic via a anonymous function passed into the wrapper.&lt;/p&gt;

&lt;p&gt;2) Make waiting for journaling + no holes entirely asynchronous via registering a desired optime in a queue somewhere, which causes a triggerJournalFlush to be called whenever the oplogReadTimestamp passes a requested optime. This solution would have to deal with flushAllFiles currently called in waitForWriteConcern: we do not currently have any async service that calls that form of waitUntilDurable.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10520">
                    <name>Problem/Incident</name>
                                                                <inwardlinks description="is caused by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="1116840">SERVER-45792</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1120695">SERVER-45847</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.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_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        3 years, 51 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_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>alexander.golin@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            3 years, 51 weeks, 5 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>backlog-server-execution</customfieldvalue>
            <customfieldvalue>dianna.hohensee@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hwqs07:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr24of:</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="3938">Execution Team 2020-06-29</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|hwqe9j:</customfieldvalue>

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