<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:59:10 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>[JAVA-3261] ChangeStreamDocument should support the &quot;to&quot; field for rename events</title>
                <link>https://jira.mongodb.org/browse/JAVA-3261</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;Listening to changestream on a database for a collection rename event returns this output:&lt;/p&gt;
&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   margin-bottom: 10px;  width: auto; padding: 0;&quot;&gt;&lt;span style=&quot;color: black; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;ChangeStreamDocument{resumeToken={&quot;_data&quot;: &quot;825CABD8F6000000012B022C0100296E5A1004A1D1648D793640C68477FB35AC9554E904&quot;}, namespace=test.test, fullDocument=null, documentKey=null, clusterTime=Timestamp{value=6677669423580446721, seconds=1554766070, inc=1}, operationType=OperationType{value=&apos;rename&apos;}, updateDescription=null}&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;
&lt;p&gt;Note that the returned &lt;tt&gt;ChangeStreamDocument&lt;/tt&gt; returned is missing the &lt;tt&gt;to&lt;/tt&gt; field, which is expected to exist (as mentioned in the &lt;a href=&quot;https://docs.mongodb.com/manual/reference/change-events/#change-stream-output&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Change event documentation&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;This was tested using the Java driver 3.10.1&lt;/p&gt;</description>
                <environment></environment>
        <key id="733696">JAVA-3261</key>
            <summary>ChangeStreamDocument should support the &quot;to&quot; field for rename events</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</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="jeff.yemin@mongodb.com">Jeffrey Yemin</assignee>
                                    <reporter username="kevin.adistambha@mongodb.com">Kevin Adistambha</reporter>
                        <labels>
                    </labels>
                <created>Mon, 8 Apr 2019 23:38:51 +0000</created>
                <updated>Sat, 28 Oct 2023 11:22:17 +0000</updated>
                            <resolved>Thu, 23 May 2019 15:35:32 +0000</resolved>
                                                    <fixVersion>3.11.0</fixVersion>
                                    <component>Change Streams</component>
                                        <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="2258087" author="xgen-internal-githook" created="Thu, 23 May 2019 16:51:17 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;jeff.yemin@10gen.com&apos;, &apos;name&apos;: &apos;Jeff Yemin&apos;, &apos;username&apos;: &apos;jyemin&apos;}
&lt;p&gt;Message: Add support for &quot;to&quot; field in ChangeStreamDocument&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-3261&quot; title=&quot;ChangeStreamDocument should support the &amp;quot;to&amp;quot; field for rename events&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-3261&quot;&gt;&lt;del&gt;JAVA-3261&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/019e1997579c0cb14419a68ded1d6ac32aa061d8&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/019e1997579c0cb14419a68ded1d6ac32aa061d8&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2257309" author="ian@10gen.com" created="Thu, 23 May 2019 01:01:37 +0000"  >&lt;p&gt;hey doug and james, sorry for the delay.  we usually bulk our triage onto mondays so this would have been sitting for a while - thanks for proactively  reaching out!&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                                                <inwardlinks description="is depended on by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="601997">JAVA-2966</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr7d9j:</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>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>