<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:11:25 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-46414] add change stream notifications for more DDL operations</title>
                <link>https://jira.mongodb.org/browse/SERVER-46414</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;h6&gt;&lt;a name=&quot;OriginalSummary&quot;&gt;&lt;/a&gt;Original Summary &lt;/h6&gt;
&lt;p&gt;mongodb create/delete index should trigger change stream&lt;/p&gt;

&lt;h6&gt;&lt;a name=&quot;OriginalDescription&quot;&gt;&lt;/a&gt;Original Description&lt;/h6&gt;
&lt;p&gt;I&apos;ve already posted a question on [stack overflow|&lt;a href=&quot;https://stackoverflow.com/questions/60368424/mongodb-create-delete-index-wont-trigger-change-stream&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://stackoverflow.com/questions/60368424/mongodb-create-delete-index-wont-trigger-change-stream&lt;/a&gt;] but no response.&lt;/p&gt;

&lt;p&gt;Why change stream can&apos;t receive DDL events like create/delete index, applyOps, convertToCapped, and so on? I think it&apos;s important for users that using change-stream to receive all the change events from MongoDB, not only DML but also DDL.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1187174">SERVER-46414</key>
            <summary>add change stream notifications for more DDL operations</summary>
                <type id="4" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14710&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="backlog-query-execution">Backlog - Query Execution</assignee>
                                    <reporter username="cvinllen@gmail.com">vinllen chen</reporter>
                        <labels>
                            <label>change-streams-improvements</label>
                            <label>pm1950-m4</label>
                            <label>pull-request</label>
                    </labels>
                <created>Wed, 26 Feb 2020 09:45:04 +0000</created>
                <updated>Sun, 29 Oct 2023 22:11:41 +0000</updated>
                            <resolved>Tue, 12 Apr 2022 10:30:50 +0000</resolved>
                                                    <fixVersion>6.0.0-rc0</fixVersion>
                                    <component>Aggregation Framework</component>
                    <component>Change streams</component>
                                        <votes>1</votes>
                                    <watches>12</watches>
                                                                                                                <comments>
                            <comment id="4476240" author="bernard.gorman" created="Tue, 12 Apr 2022 10:29:39 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=cvinllen%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;cvinllen@gmail.com&quot;&gt;cvinllen@gmail.com&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;As of MongoDB 6.0, change streams will report the following DDL events when the new &lt;tt&gt;showExpandedEvents&lt;/tt&gt; parameter is set to &lt;tt&gt;true&lt;/tt&gt;:&lt;/p&gt;

&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;&lt;tt&gt;create&lt;/tt&gt; (when a collection is created)&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;modify&lt;/tt&gt; (when a property of a collection or index is modified)&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;createIndexes&lt;/tt&gt;&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;dropIndexes&lt;/tt&gt;&lt;/li&gt;
	&lt;li&gt;&lt;tt&gt;shardCollection&lt;/tt&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Please consult our forthcoming 6.0 documentation for full details.&lt;/p&gt;

&lt;p&gt;Best regards,&lt;br/&gt;
Bernard.&lt;/p&gt;</comment>
                            <comment id="3624479" author="phoenixxliu@tencent.com" created="Fri, 19 Feb 2021 03:24:27 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=bernard.gorman&quot; class=&quot;user-hover&quot; rel=&quot;bernard.gorman&quot;&gt;bernard.gorman&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;Thanks for the reply. And very glad to hear that you are handling this ticket and also panning to expand the change streams framework.&#160;&lt;br/&gt;
Admit it or not, the original design of change streams has some problems. Otherwise you will not support &apos;$replaceRoot&apos; and then encounter problems like &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-37786&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org/browse/SERVER-37786&lt;/a&gt; &#160;&lt;/p&gt;

&lt;p&gt;Looking forward to to seeing new solutions and architectures about change streams which has been proved to be a great feature.&lt;/p&gt;

&lt;p&gt;BTW, I totally understand your rules about PRs and master branch, it&apos;s reasonable. And I think this PR is more like a &apos;For some reasons I&apos;m using 4.0 version right now, so i have to do this enhancement based on this version&apos; thing. And solution in this PR is NOT perfect based on current change streams framework, as i mentioned before, shard collections is not handled gracefully.&lt;/p&gt;

&lt;p&gt;Be free to close the PR. Looking forward to your progress and new version of MongoDB!&lt;/p&gt;

&lt;p&gt;Best regards,&lt;/p&gt;

&lt;p&gt;Phoenix&lt;/p&gt;</comment>
                            <comment id="3616751" author="bernard.gorman" created="Tue, 16 Feb 2021 12:39:45 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=phoenixxliu%40tencent.com&quot; class=&quot;user-hover&quot; rel=&quot;phoenixxliu@tencent.com&quot;&gt;phoenixxliu@tencent.com&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;Many thanks for submitting this pull request! Unfortunately, I&apos;m afraid we cannot accept it at present, for a number of reasons:&lt;/p&gt;

&lt;p&gt;(1) We are currently in the early stages of a longer-term initiative to expand and enhance the change streams framework. Exposing additional events is definitely on our roadmap, but we plan to rework the foundations of the system first, and we do not wish to complicate this process - which is already in progress - by adding new features at this stage.&lt;/p&gt;

&lt;p&gt;(2) Before we commit to exposing these additional events, we will need to go through an internal process of deciding what operations we wish to make visible, whether we want to expose these events unconditionally or add a new parameter allowing users to choose whether to see them, and - perhaps most importantly - reach consensus on what the exact format of the new events will be. Since we wish to keep change streams&apos; external format stable across releases, it is important to take the time to get these decisions right before moving to implementation.&lt;/p&gt;

&lt;p&gt;(3) This PR is based on our 4.0 branch. With the exception of fixing bugs which only affect specific versions, we never make changes to older branches directly; this would result in some functionality being available on earlier versions which are not present in later releases. We always develop new features on our &lt;tt&gt;master&lt;/tt&gt; branch, and then - where feasible and appropriate - backport to earlier branches.&lt;/p&gt;

&lt;p&gt;As I mentioned above, adding DDL events to change streams is something we intend to consider in the future, so please do keep an eye on this ticket for further developments!&lt;/p&gt;

&lt;p&gt;Best regards,&lt;br/&gt;
Bernard&lt;/p&gt;</comment>
                            <comment id="3569324" author="phoenixxliu@tencent.com" created="Mon, 18 Jan 2021 03:14:04 +0000"  >&lt;p&gt;Hey guys,&lt;/p&gt;

&lt;p&gt;I have created a&#160;[PR on v4.0|&lt;a href=&quot;https://github.com/mongodb/mongo/pull/1392&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/pull/1392&lt;/a&gt;]&#160;which try to add change stream notifications for more DDL operations like create, createIndexes, dropIndexes, collMod, etc. Maybe someone in appropriate team could take a moment to review it.&lt;/p&gt;

&lt;p&gt;(PS: need more considerations and discussion about shard collections)&lt;/p&gt;</comment>
                            <comment id="2916422" author="carl.champain" created="Fri, 28 Feb 2020 14:54:14 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=cvinllen%40gmail.com&quot; class=&quot;user-hover&quot; rel=&quot;cvinllen@gmail.com&quot;&gt;cvinllen@gmail.com&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;Thank you for the report.&#160;We&apos;re assigning this ticket to the appropriate team for further investigation. Updates will be posted on this ticket as they happen.&lt;/p&gt;

&lt;p&gt;Kind regards,&lt;br/&gt;
Carl&lt;br/&gt;
&#160;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="1529867">SERVER-52254</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="898330">SERVER-42845</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>5.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_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_13552" key="com.go2group.jira.plugin.crm:crm_generic_field">
                        <customfieldname>Case</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[[5002K00000yTnl6QAC]]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 28 Feb 2020 14:54:14 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        1 year, 43 weeks, 1 day 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-52254'>SERVER-52254</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-1950</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>
                            1 year, 43 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>backlog-query-execution</customfieldvalue>
            <customfieldvalue>bernard.gorman@mongodb.com</customfieldvalue>
            <customfieldvalue>carl.champain@mongodb.com</customfieldvalue>
            <customfieldvalue>phoenixxliu@tencent.com</customfieldvalue>
            <customfieldvalue>cvinllen@gmail.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hwv1gf:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr27lz:</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_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_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|hwunpr:</customfieldvalue>

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