<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 06:36:37 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-77799] Test various error classes on mongos</title>
                <link>https://jira.mongodb.org/browse/SERVER-77799</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Test that that mongos can handle the error classes listed in the document (see comments).&lt;/p&gt;</description>
                <environment></environment>
        <key id="2358527">SERVER-77799</key>
            <summary>Test various error classes on mongos</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</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="13203">Gone away</resolution>
                                        <assignee username="sean.zimmerman@mongodb.com">Sean Zimmerman</assignee>
                                    <reporter username="vishnu.kaushik@mongodb.com">Vishnu Kaushik</reporter>
                        <labels>
                            <label>milestone-2</label>
                    </labels>
                <created>Mon, 5 Jun 2023 15:10:44 +0000</created>
                <updated>Tue, 30 Jan 2024 18:42:48 +0000</updated>
                            <resolved>Tue, 30 Jan 2024 18:42:47 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="6053365" author="JIRAUSER1265594" created="Tue, 30 Jan 2024 18:42:48 +0000"  >&lt;p&gt;I audited our existing testing and feel that our retryable writes testing is adequate. We have unit tests to ensure that stmtId is correctly attached to subbatches that are sent to mongod (where actual retryable writes behavior lives). Our sharded bulkwrite concurrency suite will also include internal_transactions_unsharded.js which does retryable writes against mongos. The only thing I could see we might be missing coverage for is bulkWrite + resharding but I don&apos;t think there is any special behavior there like for chunk migrations.&lt;/p&gt;</comment>
                            <comment id="5892968" author="kaitlin.mahar" created="Mon, 20 Nov 2023 17:45:58 +0000"  >&lt;p&gt;I am tabling this in favor of picking up some higher priority work. The work left here is to look more into retryable writes testing and identify testing gaps. Adding some relevant Jira discussions in comments&lt;/p&gt;</comment>
                            <comment id="5883543" author="kaitlin.mahar" created="Wed, 15 Nov 2023 22:37:09 +0000"  >&lt;p&gt;From my investigation so far I think we mostly have this covered perhaps with the exception of retryable errors. Notes so far (will add more on retryable errors tomorrow):&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;Write concern errors: Vishnu added WCE reporting support and unit tests in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-76954&quot; title=&quot;Support write concern and handle write concern errors on mongos&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-76954&quot;&gt;&lt;del&gt;SERVER-76954&lt;/del&gt;&lt;/a&gt;. Additional tests for WCE + retryable timeseries update were added in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-80918&quot; title=&quot;Handle mongos retryable timeseries update WriteConcernErrors&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-80918&quot;&gt;&lt;del&gt;SERVER-80918&lt;/del&gt;&lt;/a&gt;. &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-81280&quot; title=&quot;Handle writeConcernErrors for FLE in bulkWrite&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-81280&quot;&gt;SERVER-81280&lt;/a&gt; should handle testing WCE for FLE once it is unblocked and &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-81261&quot; title=&quot;Handle writeConcernErrors for writes without shard key in bulkWrite&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-81261&quot;&gt;SERVER-81261&lt;/a&gt; should handle testing WCE for updateOne w/o shard key once it is unblocked.&lt;/li&gt;
	&lt;li&gt;Targeting errors: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-72787&quot; title=&quot;Implement sub-batching logic for bulkWrite on mongos&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-72787&quot;&gt;&lt;del&gt;SERVER-72787&lt;/del&gt;&lt;/a&gt; added some initial targeting tests. &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-73281&quot; title=&quot;Support update/delete op type to bulkWrite command on mongos&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-73281&quot;&gt;&lt;del&gt;SERVER-73281&lt;/del&gt;&lt;/a&gt; added some additional coverage. &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-81003&quot; title=&quot;Handle targeting errors in transactions for bulkWrite on mongos&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-81003&quot;&gt;&lt;del&gt;SERVER-81003&lt;/del&gt;&lt;/a&gt; covered testing targeting errors in transactions.&lt;/li&gt;
	&lt;li&gt;Mongos local errors: We added unit testing for this in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-80481&quot; title=&quot;Handle local errors on mongos encountered when attempting to send bulkWrite sub-batches &quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-80481&quot;&gt;&lt;del&gt;SERVER-80481&lt;/del&gt;&lt;/a&gt;.&lt;/li&gt;
	&lt;li&gt;Would Change Owning Shard errors: Testing for this is covered in &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-72793&quot; title=&quot;Handle WouldChangeOwningShard for bulkWrite&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-72793&quot;&gt;&lt;del&gt;SERVER-72793&lt;/del&gt;&lt;/a&gt;.&lt;/li&gt;
	&lt;li&gt;Remote errors: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-80174&quot; title=&quot;mongos should be able to handle top-level error responses received from mongod for bulkWrite command&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-80174&quot;&gt;&lt;del&gt;SERVER-80174&lt;/del&gt;&lt;/a&gt; covered handling and testing those.&lt;/li&gt;
	&lt;li&gt;Per-statement errors: we have a lot of coverage of these already both in unit tests and JS tests that has been added as we&apos;ve done individual tickets.&lt;/li&gt;
	&lt;li&gt;Staleness errors: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-77778&quot; title=&quot;Test targeter refreshing when we receive stale config errors from the shards&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-77778&quot;&gt;&lt;del&gt;SERVER-77778&lt;/del&gt;&lt;/a&gt; describes the state of testing there. Per that ticket, we still need to test the refresh behavior.&lt;/li&gt;
&lt;/ul&gt;
</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_12751" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Assigned Teams</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="25128"><![CDATA[Replication]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Wed, 15 Nov 2023 22:37:09 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        1 week, 1 day 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_10857" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>PM-1452</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>sean.zimmerman@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            1 week, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                    <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>kaitlin.mahar@mongodb.com</customfieldvalue>
            <customfieldvalue>sean.zimmerman@mongodb.com</customfieldvalue>
            <customfieldvalue>vishnu.kaushik@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|i2c7hj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i1ufrs:</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_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="7778">Repl 2023-10-16</customfieldvalue>
    <customfieldvalue id="7878">Repl 2023-11-13</customfieldvalue>
    <customfieldvalue id="7879">Repl 2023-11-27</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|i2btmv:</customfieldvalue>

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