<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:39:05 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>[GODRIVER-2651] Operation returns nil error if original and retry have `NoWritesPerformed` label</title>
                <link>https://jira.mongodb.org/browse/GODRIVER-2651</link>
                <project id="14289" key="GODRIVER">Go Driver</project>
                    <description>&lt;p&gt;&lt;b&gt;Summary&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;1. If both the original and retry return errors with the &lt;tt&gt;NoWritesPerformed&lt;/tt&gt; label, the operation returns nil.&lt;/p&gt;

&lt;p&gt;Here is a failing test reproducing the issue: &lt;a href=&quot;https://github.com/kevinAlbs/mongo-go-driver/commit/ed23feeaaa69e7b7a47c2553c6a7866a595b57d9&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/kevinAlbs/mongo-go-driver/commit/ed23feeaaa69e7b7a47c2553c6a7866a595b57d9&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;2. The stored &lt;tt&gt;prevIndefiniteErr&lt;/tt&gt; does not undergo further error processing. For example, the following is skipped when storing the &lt;tt&gt;prevIndefiniteErr&lt;/tt&gt;:&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;   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;if batching &amp;amp;&amp;amp; len(tt.WriteErrors) &amp;gt; 0 &amp;amp;&amp;amp; currIndex &amp;gt; 0 {&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&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;   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;	for i := range tt.WriteErrors {&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&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;   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;		tt.WriteErrors[i].Index += int64(currIndex)&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&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;   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;	}&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&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-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;}&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;That may result in incorrect Index if the &lt;tt&gt;prevIndefiniteErr&lt;/tt&gt; is returned.&lt;/p&gt;</description>
                <environment></environment>
        <key id="2179771">GODRIVER-2651</key>
            <summary>Operation returns nil error if original and retry have `NoWritesPerformed` label</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</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="13201">Fixed</resolution>
                                        <assignee username="preston.vasquez@mongodb.com">Preston Vasquez</assignee>
                                    <reporter username="kevin.albertson@mongodb.com">Kevin Albertson</reporter>
                        <labels>
                    </labels>
                <created>Wed, 9 Nov 2022 21:14:32 +0000</created>
                <updated>Sat, 28 Oct 2023 11:37:26 +0000</updated>
                            <resolved>Thu, 8 Dec 2022 18:03:35 +0000</resolved>
                                                    <fixVersion>1.11.1</fixVersion>
                                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="5041602" author="xgen-internal-githook" created="Thu, 8 Dec 2022 19:05:44 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Preston Vasquez&apos;, &apos;email&apos;: &apos;24281431+prestonvasquez@users.noreply.github.com&apos;, &apos;username&apos;: &apos;prestonvasquez&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-2651&quot; title=&quot;Operation returns nil error if original and retry have `NoWritesPerformed` label&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-2651&quot;&gt;&lt;del&gt;GODRIVER-2651&lt;/del&gt;&lt;/a&gt; Break NoWritesPerformed-Only Error Sequence (#1135)&lt;/p&gt;

&lt;p&gt;Co-authored-by: Qingyang Hu &amp;lt;103950869+qingyang-hu@users.noreply.github.com&amp;gt;&lt;br/&gt;
Co-authored-by: Benjamin Rewis &amp;lt;32186188+benjirewis@users.noreply.github.com&amp;gt;&lt;br/&gt;
Co-authored-by: Kevin Albertson &amp;lt;kevin.albertson@mongodb.com&amp;gt;&lt;br/&gt;
Co-authored-by: Qingyang Hu &amp;lt;103950869+qingyang-hu@users.noreply.github.com&amp;gt;&lt;br/&gt;
Co-authored-by: Benjamin Rewis &amp;lt;32186188+benjirewis@users.noreply.github.com&amp;gt;&lt;br/&gt;
Branch: release/1.11&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/commit/19f3fb91471cf8c6b7bec6f8e464768365701789&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-go-driver/commit/19f3fb91471cf8c6b7bec6f8e464768365701789&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5041561" author="xgen-internal-githook" created="Thu, 8 Dec 2022 18:56:53 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Preston Vasquez&apos;, &apos;email&apos;: &apos;24281431+prestonvasquez@users.noreply.github.com&apos;, &apos;username&apos;: &apos;prestonvasquez&apos;}
&lt;p&gt;Message: Release/1.11 (#1146)&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-2651&quot; title=&quot;Operation returns nil error if original and retry have `NoWritesPerformed` label&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-2651&quot;&gt;&lt;del&gt;GODRIVER-2651&lt;/del&gt;&lt;/a&gt; Break NoWritesPerformed-Only Error Sequence (#1135)&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Co-authored-by: Qingyang Hu &amp;lt;103950869+qingyang-hu@users.noreply.github.com&amp;gt;&lt;br/&gt;
Co-authored-by: Benjamin Rewis &amp;lt;32186188+benjirewis@users.noreply.github.com&amp;gt;&lt;br/&gt;
Co-authored-by: Kevin Albertson &amp;lt;kevin.albertson@mongodb.com&amp;gt;&lt;br/&gt;
Co-authored-by: Qingyang Hu &amp;lt;103950869+qingyang-hu@users.noreply.github.com&amp;gt;&lt;br/&gt;
Co-authored-by: Benjamin Rewis &amp;lt;32186188+benjirewis@users.noreply.github.com&amp;gt;&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-2333&quot; title=&quot;Assert that a Ping operation succeeds in the initial DNS spec tests&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-2333&quot;&gt;&lt;del&gt;GODRIVER-2333&lt;/del&gt;&lt;/a&gt; Assert that Ping op succeeds  initial DNS spec tests (#1124)&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-2577&quot; title=&quot;Heartbeat build up with streaming protocol when driver process is stopped (FAAS)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-2577&quot;&gt;&lt;del&gt;GODRIVER-2577&lt;/del&gt;&lt;/a&gt; Retry heartbeat on timeout to prevent pool cleanup in FAAS pause. (#1133)&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;resolve merge conflicts&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Co-authored-by: Qingyang Hu &amp;lt;103950869+qingyang-hu@users.noreply.github.com&amp;gt;&lt;br/&gt;
Co-authored-by: Benjamin Rewis &amp;lt;32186188+benjirewis@users.noreply.github.com&amp;gt;&lt;br/&gt;
Co-authored-by: Kevin Albertson &amp;lt;kevin.albertson@mongodb.com&amp;gt;&lt;br/&gt;
Branch: release/1.11&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/commit/bf833d5bf49f33f81d495576a370431990ddfed7&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-go-driver/commit/bf833d5bf49f33f81d495576a370431990ddfed7&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="5041284" author="xgen-internal-githook" created="Thu, 8 Dec 2022 18:03:15 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Preston Vasquez&apos;, &apos;email&apos;: &apos;24281431+prestonvasquez@users.noreply.github.com&apos;, &apos;username&apos;: &apos;prestonvasquez&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-2651&quot; title=&quot;Operation returns nil error if original and retry have `NoWritesPerformed` label&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-2651&quot;&gt;&lt;del&gt;GODRIVER-2651&lt;/del&gt;&lt;/a&gt; Break NoWritesPerformed-Only Error Sequence (#1135)&lt;/p&gt;

&lt;p&gt;Co-authored-by: Qingyang Hu &amp;lt;103950869+qingyang-hu@users.noreply.github.com&amp;gt;&lt;br/&gt;
Co-authored-by: Benjamin Rewis &amp;lt;32186188+benjirewis@users.noreply.github.com&amp;gt;&lt;br/&gt;
Co-authored-by: Kevin Albertson &amp;lt;kevin.albertson@mongodb.com&amp;gt;&lt;br/&gt;
Co-authored-by: Qingyang Hu &amp;lt;103950869+qingyang-hu@users.noreply.github.com&amp;gt;&lt;br/&gt;
Co-authored-by: Benjamin Rewis &amp;lt;32186188+benjirewis@users.noreply.github.com&amp;gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/commit/13ffe8d72344f92f7f5720b678c99bf77736c580&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-go-driver/commit/13ffe8d72344f92f7f5720b678c99bf77736c580&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="2179878">DRIVERS-2501</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="2201019">GODRIVER-2670</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10520">
                    <name>Problem/Incident</name>
                                                                <inwardlinks description="is caused by">
                                        <issuelink>
            <issuekey id="2105286">GODRIVER-2516</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="2179878">DRIVERS-2501</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_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i1085k:</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>