<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:25:27 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>[DRIVERS-2387] Spec test &quot;change stream resumes after StaleShardVersion&quot; fails on server version &gt; 6.0</title>
                <link>https://jira.mongodb.org/browse/DRIVERS-2387</link>
                <project id="10980" key="DRIVERS">Drivers</project>
                    <description>&lt;div class=&quot;panel&quot; style=&quot;background-color: #fafbfc;border-width: 1px;&quot;&gt;&lt;div class=&quot;panelContent&quot; style=&quot;background-color: #fafbfc;&quot;&gt;
&lt;h3&gt;&lt;a name=&quot;Summary&quot;&gt;&lt;/a&gt;&lt;b&gt;Summary&lt;/b&gt;&lt;/h3&gt;

&lt;p&gt;The change streams spec test &quot;change stream resumes after StaleShardVersion&quot; &lt;a href=&quot;https://github.com/mongodb/specifications/blob/00e244208cdad34ec8d16a4bcc3b41e9072ed106/source/change-streams/tests/unified/change-streams-resume-errorLabels.yml#L745-L802&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here&lt;/a&gt; has started failing against server latest because the &lt;tt&gt;StaleShardVersion&lt;/tt&gt; error has been obsoleted as of &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-63327&quot; title=&quot;Remove usages of the StaleShardVersion error code from the migrations path&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-63327&quot;&gt;&lt;del&gt;SERVER-63327&lt;/del&gt;&lt;/a&gt; / &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-64449&quot; title=&quot;Get rid of the StaleShardVersion exception&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-64449&quot;&gt;&lt;del&gt;SERVER-64449&lt;/del&gt;&lt;/a&gt;. It seems as part of this change the server no longer attaches the &lt;tt&gt;ResumableChangeStreamError&lt;/tt&gt; label and therefore the driver does not consider the error retryable, meaning the resume process is not attempted and the test fails.&lt;/p&gt;

&lt;p&gt;According to &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-64449&quot; title=&quot;Get rid of the StaleShardVersion exception&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-64449&quot;&gt;&lt;del&gt;SERVER-64449&lt;/del&gt;&lt;/a&gt; this error is obsoleted by &lt;tt&gt;StaleConfig&lt;/tt&gt;. We do include &lt;tt&gt;StaleConfig&lt;/tt&gt; in the change streams spec list of resumable errors, however we do not seem to have any tests around it. We could just update this test to use &lt;tt&gt;StaleConfig&lt;/tt&gt; instead, or alternatively update this test to run on only &amp;lt;= 6.0 and add a new test using &lt;tt&gt;StaleConfig&lt;/tt&gt; that runs on all server versions.&lt;/p&gt;
&lt;h4&gt;&lt;a name=&quot;Isthisissueurgent%3F&quot;&gt;&lt;/a&gt;Is this issue urgent?&lt;/h4&gt;

&lt;p&gt;Drivers can skip the failing test for now but it would be good to make this small change sooner rather than later so we don&apos;t lose coverage.&lt;/p&gt;
&lt;h4&gt;&lt;a name=&quot;Isthisticketrequiredbyadownstreamteam%3F&quot;&gt;&lt;/a&gt;Is this ticket required by a downstream team?&lt;/h4&gt;

&lt;p&gt;No.&lt;/p&gt;
&lt;h4&gt;&lt;a name=&quot;Isthisticketonlyfortests%3F&quot;&gt;&lt;/a&gt;Is this ticket only for tests?&lt;/h4&gt;

&lt;p&gt;Just testing updates.&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="2088665">DRIVERS-2387</key>
            <summary>Spec test &quot;change stream resumes after StaleShardVersion&quot; fails on server version &gt; 6.0</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</type>
                                            <priority id="10300" iconUrl="https://jira.mongodb.org/images/icons/priorities/medium.svg">Unknown</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="9">Done</resolution>
                                        <assignee username="benji.rewis@mongodb.com">Benji Rewis</assignee>
                                    <reporter username="kaitlin.mahar@mongodb.com">Kaitlin Mahar</reporter>
                        <labels>
                    </labels>
                <created>Tue, 12 Jul 2022 16:56:52 +0000</created>
                <updated>Fri, 9 Sep 2022 17:23:01 +0000</updated>
                            <resolved>Fri, 9 Sep 2022 17:23:01 +0000</resolved>
                                                        <component>Change Streams</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="4696330" author="xgen-internal-githook" created="Thu, 21 Jul 2022 18:04:09 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Benjamin Rewis&apos;, &apos;email&apos;: &apos;32186188+benjirewis@users.noreply.github.com&apos;, &apos;username&apos;: &apos;benjirewis&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/DRIVERS-2387&quot; title=&quot;Spec test &amp;quot;change stream resumes after StaleShardVersion&amp;quot; fails on server version &amp;gt; 6.0&quot; class=&quot;issue-link&quot; data-issue-key=&quot;DRIVERS-2387&quot;&gt;&lt;del&gt;DRIVERS-2387&lt;/del&gt;&lt;/a&gt; Skip StaleShardVersion resume test on &amp;gt;= 6.1 (#1276)&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/specifications/commit/8d897ad01f8c600ddaef139740d5b68fd2950c0e&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/specifications/commit/8d897ad01f8c600ddaef139740d5b68fd2950c0e&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4693420" author="benji.rewis" created="Wed, 20 Jul 2022 20:25:32 +0000"  >&lt;p&gt;&lt;a href=&quot;https://github.com/mongodb/specifications/pull/1276&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/specifications/pull/1276&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10620">
                    <name>Issue split</name>
                                            <outwardlinks description="split to">
                                        <issuelink>
            <issuekey id="2091711">CDRIVER-4429</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2091714">CSHARP-4259</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2091713">CXX-2547</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2091715">GODRIVER-2494</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2091718">MOTOR-996</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2091717">NODE-4434</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2091720">PHPLIB-914</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2091719">PYTHON-3358</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2091721">RUBY-3053</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2091722">RUST-1412</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="2091716">JAVA-4680</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10520">
                    <name>Problem/Incident</name>
                                                                <inwardlinks description="is caused by">
                                        <issuelink>
            <issuekey id="1978032">SERVER-63327</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1999729">SERVER-64449</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="2095832">DRIVERS-2392</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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_17052" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Downstream Changes Summary</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;Drivers should sync their &lt;tt&gt;change-streams-resume-errorLabels&lt;/tt&gt; spec test file to this commit: &lt;a href=&quot;https://github.com/mongodb/specifications/commit/8d897ad01f8c600ddaef139740d5b68fd2950c0e&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/specifications/commit/8d897ad01f8c600ddaef139740d5b68fd2950c0e&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;We now skip the &lt;tt&gt;StaleShardVersion&lt;/tt&gt;&#160;resumability test on 6.1+, as the error has been removed by the server and is therefore no longer marked as resumable.&lt;/p&gt;</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10951" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Driver Changes</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10748"><![CDATA[Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_23952" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Driver Compliance</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[<style type='text/css'>
         #scriptField, #scriptField *{
                border: 1px solid black;
            }

            #scriptField{
                border-collapse: collapse;
            }

            #scriptField td {
                text-align: center; /* Center-align text in table cells */
            }

            #scriptField td.key {
                text-align: left; /* Left-align text in the Key column */
            }

            #scriptField a {
                text-decoration: none; /* Remove underlines from links */
                border: none; /* Remove border from links */
            }
            
            /* Add green background color to cells with FixVersion */
            #scriptField td.hasFixVersion {
                background-color: #00FF00; /* Green color code */
            }

            /* Center-align the first row headers */
            #scriptField th {
                text-align: center;
            }
        </style>
<table id='scriptField'>
  <tr>
    <th>Key</th>
    <th>Status/Resolution</th>
    <th>FixVersion</th>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/CDRIVER-4429'>CDRIVER-4429</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>1.22.1</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/CXX-2547'>CXX-2547</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>3.7.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/CSHARP-4259'>CSHARP-4259</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>2.18.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/GODRIVER-2494'>GODRIVER-2494</a>
    </td>
    <td>Done</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/JAVA-4680'>JAVA-4680</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>4.8.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/NODE-4434'>NODE-4434</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>4.9.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/MOTOR-996'>MOTOR-996</a>
    </td>
    <td>Duplicate</td>
    <td class=''></td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/PYTHON-3358'>PYTHON-3358</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>3.13, 4.3</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/PHPLIB-914'>PHPLIB-914</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>1.15.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/RUBY-3053'>RUBY-3053</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>2.18.1</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/RUST-1412'>RUST-1412</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>2.4.0</td>
  </tr>
  <tr>
    <td class='key'>
      <a href='https://jira.mongodb.org/browse/SWIFT-1604'>SWIFT-1604</a>
    </td>
    <td>Fixed</td>
    <td class='hasFixVersion'>1.4.0</td>
  </tr>
</table>]]></customfieldvalue>


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