<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:14:54 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-69959] Introduce majority committed point advancement notification mechanism</title>
                <link>https://jira.mongodb.org/browse/SERVER-69959</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;While working on &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-66840&quot; title=&quot;Investigate and fix testcases&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-66840&quot;&gt;&lt;del&gt;SERVER-66840&lt;/del&gt;&lt;/a&gt;&#160;we discovered the issue with the test jstests/change_streams/only_wake_getmore_for_relevant_changes.js&lt;br/&gt;
&#160;&lt;br/&gt;
The issue is that it was agreed that change collections are majority committed by design. In this case the regular insert_listeners do not work with change collections as desired, as they wake the listeners based on local writes. This results in redundant wakes and no documents being returned to the client, as when local write is performed, the write is not guaranteed to be majority committed just yet.&lt;br/&gt;
Oplog works around this issue by having extra signaling mechanism that wakes up upon timestamp advancement in oplog.&lt;br/&gt;
&#160;&lt;br/&gt;
The decided solution to this issue is to make tailable awaitable cursors on collections (not only change collection or oplog) that have read concern majority to wait on majority point advacement notification instead of waiting for the local writes provided by the capped notifier.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=louis.williams%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;louis.williams@mongodb.com&quot;&gt;louis.williams@mongodb.com&lt;/a&gt;&#160;has implemented a prototype to solve a similar problem &lt;a href=&quot;https://evergreen.mongodb.com/filediff/62e15eaf7742ae1d62082175/?patch_number=0&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://evergreen.mongodb.com/filediff/62e15eaf7742ae1d62082175/?patch_number=0&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="2144949">SERVER-69959</key>
            <summary>Introduce majority committed point advancement notification mechanism</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</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="denis.grebennicov@mongodb.com">Denis Grebennicov</assignee>
                                    <reporter username="denis.grebennicov@mongodb.com">Denis Grebennicov</reporter>
                        <labels>
                            <label>pm-2334-followup</label>
                    </labels>
                <created>Mon, 26 Sep 2022 09:04:11 +0000</created>
                <updated>Sun, 29 Oct 2023 21:32:50 +0000</updated>
                            <resolved>Tue, 29 Nov 2022 10:50:55 +0000</resolved>
                                                    <fixVersion>6.3.0-rc0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>11</watches>
                                                                                                                <comments>
                            <comment id="5252551" author="kyle.suarez" created="Mon, 6 Mar 2023 17:55:52 +0000"  >&lt;p&gt;Note: this change was reverted by &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-74526&quot; title=&quot;Change stream opened against a secondary node uses a lot of CPU even when there is no write load&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-74526&quot;&gt;&lt;del&gt;SERVER-74526&lt;/del&gt;&lt;/a&gt;; it will be reintroduced in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-74555&quot; title=&quot;Re-introduce majority commit point advancement notification mechanism and use for change streams&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-74555&quot;&gt;&lt;del&gt;SERVER-74555&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="5245746" author="xgen-internal-githook" created="Fri, 3 Mar 2023 02:41:28 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;David Storch&apos;, &apos;email&apos;: &apos;david.storch@mongodb.com&apos;, &apos;username&apos;: &apos;dstorch&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-74526&quot; title=&quot;Change stream opened against a secondary node uses a lot of CPU even when there is no write load&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-74526&quot;&gt;&lt;del&gt;SERVER-74526&lt;/del&gt;&lt;/a&gt; Fix high CPU utilization for a change streams opened against secondary nodes&lt;/p&gt;

&lt;p&gt;This reverts commit 34ac49477b87e183637f68cda828ecff8b393c64. Future&lt;br/&gt;
work is needed to reintroduce the changes from &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-69959&quot; title=&quot;Introduce majority committed point advancement notification mechanism&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-69959&quot;&gt;&lt;del&gt;SERVER-69959&lt;/del&gt;&lt;/a&gt; without&lt;br/&gt;
causing the problematic &quot;busy wait&quot; behavior on secondary nodes.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/67773ced2cb8c57935b9ea08331fe69bbc608d57&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/67773ced2cb8c57935b9ea08331fe69bbc608d57&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5244844" author="xgen-internal-githook" created="Thu, 2 Mar 2023 19:47:35 +0000"  >&lt;p&gt;Author: &lt;/p&gt;
{&apos;name&apos;: &apos;David Storch&apos;, &apos;email&apos;: &apos;david.storch@mongodb.com&apos;, &apos;username&apos;: &apos;dstorch&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-74526&quot; title=&quot;Change stream opened against a secondary node uses a lot of CPU even when there is no write load&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-74526&quot;&gt;&lt;del&gt;SERVER-74526&lt;/del&gt;&lt;/a&gt; Fix high CPU utilization for a change streams opened against secondary nodes&lt;/p&gt;

&lt;p&gt;This reverts commit 34ac49477b87e183637f68cda828ecff8b393c64. Future&lt;br/&gt;
work is needed to reintroduce the changes from &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-69959&quot; title=&quot;Introduce majority committed point advancement notification mechanism&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-69959&quot;&gt;&lt;del&gt;SERVER-69959&lt;/del&gt;&lt;/a&gt; without&lt;br/&gt;
causing the problematic &quot;busy wait&quot; behavior on secondary nodes.&lt;br/&gt;
Branch: v6.3&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/96763fa1fef7faa2513afd2618d4d039ee70a6fe&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/96763fa1fef7faa2513afd2618d4d039ee70a6fe&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5014262" author="xgen-internal-githook" created="Tue, 29 Nov 2022 10:28:32 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Denis Grebennicov&apos;, &apos;email&apos;: &apos;denis.grebennicov@mongodb.com&apos;, &apos;username&apos;: &apos;denis631&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-69959&quot; title=&quot;Introduce majority committed point advancement notification mechanism&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-69959&quot;&gt;&lt;del&gt;SERVER-69959&lt;/del&gt;&lt;/a&gt; Introduce majority committed point advancement notification mechanism&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/34ac49477b87e183637f68cda828ecff8b393c64&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/34ac49477b87e183637f68cda828ecff8b393c64&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <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="2278982">SERVER-74526</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2280403">SERVER-74580</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2177630">SERVER-71161</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2279868">SERVER-74555</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="2056894">SERVER-66840</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>5.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>Tue, 8 Nov 2022 09:17:50 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        48 weeks, 2 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_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>luke.bonanomi@mongodb.com</customfieldvalue>

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

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>denis.grebennicov@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</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|i1bnhb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i0uchk:</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="5914">QE 2022-10-17</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_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|i1b9mn:</customfieldvalue>

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