<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 09:02: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-4470] Do not error when parsing change stream event documents</title>
                <link>https://jira.mongodb.org/browse/JAVA-4470</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;This ticket was split from &lt;tt&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-1995&quot; title=&quot;Do not error when parsing change stream event documents&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-1995&quot;&gt;DRIVERS-1995&lt;/a&gt;&lt;/tt&gt;, please see that ticket for a detailed description. &lt;/p&gt;</description>
                <environment></environment>
        <key id="1976083">JAVA-4470</key>
            <summary>Do not error when parsing change stream event documents</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="jeff.yemin@mongodb.com">Jeffrey Yemin</assignee>
                                    <reporter username="dbeng-pm-bot">PM Bot</reporter>
                        <labels>
                            <label>QP-priority</label>
                    </labels>
                <created>Wed, 2 Feb 2022 19:00:11 +0000</created>
                <updated>Sat, 28 Oct 2023 11:20:51 +0000</updated>
                            <resolved>Mon, 18 Apr 2022 19:00:46 +0000</resolved>
                                                    <fixVersion>4.6.0</fixVersion>
                                    <component>Change Streams</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="4489018" author="xgen-internal-githook" created="Mon, 18 Apr 2022 18:58:38 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Jeff Yemin&apos;, &apos;email&apos;: &apos;jeff.yemin@mongodb.com&apos;, &apos;username&apos;: &apos;jyemin&apos;}
&lt;p&gt;Message: Skip test that&apos;s failing on latest sharded cluster&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-4470&quot; title=&quot;Do not error when parsing change stream event documents&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-4470&quot;&gt;&lt;del&gt;JAVA-4470&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/b580979b86c85b84488f2be6c6e3b8487939df0f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/b580979b86c85b84488f2be6c6e3b8487939df0f&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4489016" author="xgen-internal-githook" created="Mon, 18 Apr 2022 18:58:33 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Jeff Yemin&apos;, &apos;email&apos;: &apos;jeff.yemin@mongodb.com&apos;, &apos;username&apos;: &apos;jyemin&apos;}
&lt;p&gt;Message: Call enableSleepAfterCursorOpen for all reactive change streams tests&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-4470&quot; title=&quot;Do not error when parsing change stream event documents&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-4470&quot;&gt;&lt;del&gt;JAVA-4470&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/51d0a7d930c94782da154d086a4b4ca9312c3140&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/51d0a7d930c94782da154d086a4b4ca9312c3140&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4489015" author="xgen-internal-githook" created="Mon, 18 Apr 2022 18:58:29 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Jeff Yemin&apos;, &apos;email&apos;: &apos;jeff.yemin@mongodb.com&apos;, &apos;username&apos;: &apos;jyemin&apos;}
&lt;p&gt;Message: Update unified change stream tests&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;Represent all cursors the same in Entities&lt;/li&gt;
	&lt;li&gt;Handle any MongoServerException in ErrorMatcher&lt;/li&gt;
	&lt;li&gt;Support &quot;rename&quot; operation&lt;/li&gt;
	&lt;li&gt;Special case some change stream tests that can&apos;t pass using ChangeStreamDocument&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-4470&quot; title=&quot;Do not error when parsing change stream event documents&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-4470&quot;&gt;&lt;del&gt;JAVA-4470&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-4555&quot; title=&quot;Test &amp;quot;to&amp;quot; field in change streams for rename events&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-4555&quot;&gt;&lt;del&gt;JAVA-4555&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/c6a2585b6575aba0c5780fd786add1f74547f8dc&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/c6a2585b6575aba0c5780fd786add1f74547f8dc&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4489013" author="xgen-internal-githook" created="Mon, 18 Apr 2022 18:58:21 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Jeff Yemin&apos;, &apos;email&apos;: &apos;jeff.yemin@mongodb.com&apos;, &apos;username&apos;: &apos;jyemin&apos;}
&lt;p&gt;Message: Include string value of operationType in ChangeStreamDocument&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;Allows applications using an older driver to access a newer operation type, for which&lt;br/&gt;
  there is no enumerated value in OperationType&lt;/li&gt;
	&lt;li&gt;Allows operationType to be round-tripped with no information loss&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-4470&quot; title=&quot;Do not error when parsing change stream event documents&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-4470&quot;&gt;&lt;del&gt;JAVA-4470&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/5fee4aff708057be3e7cbe5b706614a1d2b7e2f6&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/5fee4aff708057be3e7cbe5b706614a1d2b7e2f6&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4465493" author="jeff.yemin" created="Thu, 7 Apr 2022 18:57:55 +0000"  >&lt;p&gt;Implementation notes:&lt;/p&gt;

&lt;p&gt;Once we enhance ChangeStreamDocument to include operation types for which there is no matching OperationType enum value, the following two tests could be implemented using ChangeStreamDocument:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;&quot;Test unknown operationType MUST NOT err&quot; (by modeling operation type both as a string and an enum value)&lt;/li&gt;
	&lt;li&gt;&quot;Test newField added in response MUST NOT err&quot; (using future BsonExtraElements annotation)&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;The test &quot;Test projection in change stream returns expected fields&quot; is trickier, but maybe could be done with BsonExtraElements as well.  However, that is not really the intended use case for ChangeStreamDocument.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10620">
                    <name>Issue split</name>
                                                                <inwardlinks description="split from">
                                        <issuelink>
            <issuekey id="1934810">DRIVERS-1995</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                        <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_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10257" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Documentation Changes</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="11861"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_21553" key="com.atlassian.jira.plugin.system.customfieldtypes:labels">
                        <customfieldname>Quarter</customfieldname>
                        <customfieldvalues>
                                        <label>FY23Q1</label>
    
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr3mmh:04f</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_21457" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Upstream Changes Summary</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-1995&quot; title=&quot;Do not error when parsing change stream event documents&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-1995&quot;&gt;DRIVERS-1995&lt;/a&gt;:&lt;br/&gt;
Updated the Change Streams spec and added new unified tests. Drivers should sync unified change stream tests with &lt;a href=&quot;https://github.com/mongodb/specifications/commit/dbed22d67ef3b005c73a0a4b0ce576a5ee81b170&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;dbed22d&lt;/a&gt; and &lt;a href=&quot;https://github.com/mongodb/specifications/commit/3cb20c18bd987096ac404aefb201a3b69a3c2585&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;3cb20c1&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Note: drivers that have yet to implement &lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-2231&quot; title=&quot;ChangeStream Spec: fullDocument field in ChangeStreamOptions should be an optional to handle &amp;quot;default&amp;quot; case.&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-2231&quot;&gt;&lt;del&gt;DRIVERS-2231&lt;/del&gt;&lt;/a&gt; should do so before this ticket; otherwise, commandStartedEvent assertions may fail due to an unexpected &lt;tt&gt;fullDocument&lt;/tt&gt; field appearing in observed events.&lt;/p&gt;</customfieldvalue>

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