<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 09:02:35 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-4637] failed: MongoClientSessionSpecification.should_ignore_unacknowledged_write_concern_when_in_a_transaction</title>
                <link>https://jira.mongodb.org/browse/JAVA-4637</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>

&lt;p&gt;&lt;a href=&quot;https://evergreen.mongodb.com/task/mongo_java_driver_tests_netty__version~6.0_os~linux_topology~replicaset_auth~noauth_ssl~ssl_jdk~jdk8_netty_test_9fcdefd48faaa9c7ab43ee16c8c215ce05453c2e_22_06_01_20_18_06/0&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;netty-test on tests-netty__version~6.0_os~linux_topology~replicaset_auth~noauth_ssl~ssl_jdk~jdk8&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Host: i-0249bc445d2b3ef03&lt;br/&gt;
Project: &lt;a href=&quot;https://evergreen.mongodb.com/waterfall/mongo-java-driver&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;mongo-java-driver&lt;/a&gt;&lt;br/&gt;
Commit: 9fcdefd4&lt;/p&gt;


&lt;p&gt;&lt;b&gt;Failing Test Logs:&lt;/b&gt;&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;&lt;b&gt;com.mongodb.client.MongoClientSessionSpecification.should_ignore_unacknowledged_write_concern_when_in_a_transaction&lt;/b&gt; - &lt;a href=&quot;https://evergreen.mongodb.com/test_log/mongo_java_driver_tests_netty__version~6.0_os~linux_topology~replicaset_auth~noauth_ssl~ssl_jdk~jdk8_netty_test_9fcdefd48faaa9c7ab43ee16c8c215ce05453c2e_22_06_01_20_18_06/0?test_name=6640b0f9135b6da759d26e3014ff5621&amp;amp;group_id=#L1&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;Logs&lt;/a&gt; | &lt;a href=&quot;https://evergreen.mongodb.com/task_history/mongo-java-driver/netty-test?revision=9fcdefd48faaa9c7ab43ee16c8c215ce05453c2e#/com.mongodb.client.MongoClientSessionSpecification.should_ignore_unacknowledged_write_concern_when_in_a_transaction=fail&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;History&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;&lt;b&gt;Task Logs:&lt;/b&gt;&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;&lt;a href=&quot;https://evergreen.mongodb.com/task_log_raw/mongo_java_driver_tests_netty__version~6.0_os~linux_topology~replicaset_auth~noauth_ssl~ssl_jdk~jdk8_netty_test_9fcdefd48faaa9c7ab43ee16c8c215ce05453c2e_22_06_01_20_18_06/0?type=T&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;task netty-test&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment></environment>
        <key id="2060156">JAVA-4637</key>
            <summary>failed: MongoClientSessionSpecification.should_ignore_unacknowledged_write_concern_when_in_a_transaction</summary>
                <type id="20" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Build Failure</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="jeff.yemin@mongodb.com">Jeffrey Yemin</assignee>
                                    <reporter username="Xgen-BuildBaron-User">xgen-buildbaron-user</reporter>
                        <labels>
                            <label>BB-Tools</label>
                    </labels>
                <created>Wed, 1 Jun 2022 21:53:01 +0000</created>
                <updated>Sat, 28 Oct 2023 11:20:40 +0000</updated>
                            <resolved>Mon, 6 Jun 2022 14:32:31 +0000</resolved>
                                                    <fixVersion>4.7.0</fixVersion>
                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="4596678" author="xgen-internal-githook" created="Mon, 6 Jun 2022 14:32:12 +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: Wait for unacknowledged write to complete (#958)&lt;/p&gt;

&lt;p&gt;To avoid interference between tests, poll the database until&lt;br/&gt;
the unacknowledged write is present in the collection. This&lt;br/&gt;
is intended to avoid SnapshotUnavailable errors from being&lt;br/&gt;
reported by the server.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-4637&quot; title=&quot;failed: MongoClientSessionSpecification.should_ignore_unacknowledged_write_concern_when_in_a_transaction&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-4637&quot;&gt;&lt;del&gt;JAVA-4637&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/695ce52985fe258245938597e160484fac896259&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/695ce52985fe258245938597e160484fac896259&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="4594160" author="jeff.yemin" created="Fri, 3 Jun 2022 20:12:05 +0000"  >&lt;p&gt;The analysis of &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-66974&quot; title=&quot;Server responding with unexpected error 246 (SnapshotUnavailable)&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-66974&quot;&gt;&lt;del&gt;SERVER-66974&lt;/del&gt;&lt;/a&gt; points the way to the root cause and the solution.  Basically, there is a test in the same class that does an unacknowledged write to the same collection, and the test does not wait for that write to finish.  So it can end up running concurrently with this test and cause this issue to surface.  We can work around it in a number of ways, including:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;Use a different collection for the unacknowledged write test&lt;/li&gt;
	&lt;li&gt;Wait for the unacknowledged write to be acknowledged, by polling for the existence of the document via a query.&lt;/li&gt;
&lt;/ul&gt;
</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="2060844">SERVER-66974</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_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_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i0g14w:</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>