<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:55:42 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-40685] Mongos often fails transactions that use &quot;snapshot&quot; with SnapshotTooOld</title>
                <link>https://jira.mongodb.org/browse/SERVER-40685</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;Various driver transaction spec tests are failing on latest sharded clusters. The one commonality between the failures is that they all use read concern &quot;snapshot&quot; and they all fail with SnapshotTooOld on the first operation in the transaction. Was there a recent change in how &quot;snapshot&quot; works?&lt;/p&gt;

&lt;p&gt;Although this issue fails consistently in Evergreen, creating a standalone repro has proven difficult. When starting a fresh sharded cluster the attached repro (&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/attachment/214319/214319_PYTHON-1796.py&quot; title=&quot;PYTHON-1796.py attached to SERVER-40685&quot;&gt;PYTHON-1796.py&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;https://jira.mongodb.org/images/icons/link_attachment_7.gif&quot; height=&quot;7&quot; width=&quot;7&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;) succeeds. However if I run the entire driver test suite against the cluster first, then the repro starts failing consistently with SnapshotTooOld. Here&apos;s an example evergreen failure from today:&lt;br/&gt;
&lt;a href=&quot;https://evergreen.mongodb.com/task/mongo_python_driver_tests_python_version_supports_openssl_110_test_ssl__auth_ssl~auth_ssl_python_version_requires_openssl_102_plus~3.7_test_latest_sharded_cluster_ea8941ef5d3f60a227cb89021ef7d65d7b06c6e1_19_04_16_21_00_56&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://evergreen.mongodb.com/task/mongo_python_driver_tests_python_version_supports_openssl_110_test_ssl__auth_ssl~auth_ssl_python_version_requires_openssl_102_plus~3.7_test_latest_sharded_cluster_ea8941ef5d3f60a227cb89021ef7d65d7b06c6e1_19_04_16_21_00_56&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;And here&apos;s the repro failing:&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;$ python PYTHON-1796.py&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;First transaction command failed: {&apos;ok&apos;: 0.0, &apos;errmsg&apos;: &apos;Transaction 060cae38-7be3-4240-babe-65739200884c:1 was aborted on statement 0 due to: a non-retryable snapshot error :: caused by :: Encountered error from localhost:27019 during a transaction :: caused by :: Read timestamp Timestamp(1555453221, 10) is older than the oldest available timestamp.&apos;, &apos;code&apos;: 239, &apos;codeName&apos;: &apos;SnapshotTooOld&apos;, &apos;operationTime&apos;: Timestamp(1555453221, 11), &apos;$clusterTime&apos;: {&apos;clusterTime&apos;: Timestamp(1555453221, 11), &apos;signature&apos;: {&apos;hash&apos;: b&apos;\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00&apos;, &apos;keyId&apos;: 0}}, &apos;errorLabels&apos;: [&apos;TransientTransactionError&apos;]}&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;Traceback (most recent call last):&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;  File &quot;PYTHON-1796.py&quot;, line 13, in &amp;lt;module&amp;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;   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;    coll.insert_one({&apos;_id&apos;: i}, session=s)&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;  File &quot;/home/ubuntu/mongo-python-driver/pymongo/collection.py&quot;, line 694, in insert_one&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;    session=session),&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;  File &quot;/home/ubuntu/mongo-python-driver/pymongo/collection.py&quot;, line 608, in _insert&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;    bypass_doc_val, session)&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;  File &quot;/home/ubuntu/mongo-python-driver/pymongo/collection.py&quot;, line 596, in _insert_one&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;    acknowledged, _insert_command, session)&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;  File &quot;/home/ubuntu/mongo-python-driver/pymongo/mongo_client.py&quot;, line 1342, in _retryable_write&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;    return self._retry_with_session(retryable, func, s, None)&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;  File &quot;/home/ubuntu/mongo-python-driver/pymongo/mongo_client.py&quot;, line 1295, in _retry_with_session&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;    return func(session, sock_info, retryable)&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;  File &quot;/home/ubuntu/mongo-python-driver/pymongo/collection.py&quot;, line 591, in _insert_command&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;    retryable_write=retryable_write)&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;  File &quot;/home/ubuntu/mongo-python-driver/pymongo/pool.py&quot;, line 579, in command&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;    unacknowledged=unacknowledged)&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;  File &quot;/home/ubuntu/mongo-python-driver/pymongo/network.py&quot;, line 150, in command&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;    parse_write_concern_error=parse_write_concern_error)&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;  File &quot;/home/ubuntu/mongo-python-driver/pymongo/helpers.py&quot;, line 155, in _check_command_response&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;    raise OperationFailure(msg % errmsg, code, response)&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;pymongo.errors.OperationFailure: Transaction 060cae38-7be3-4240-babe-65739200884c:1 was aborted on statement 0 due to: a non-retryable snapshot error :: caused by :: Encountered error from localhost:27019 during a transaction :: caused by :: Read timestamp Timestamp(1555453221, 10) is older than the oldest available timestamp.&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;I can reproduce this on the latest version:&lt;br/&gt;
db version v4.1.10-94-ga654dcf&lt;br/&gt;
git version: a654dcf592ea7ed65426a0de96b4079ff4fc6716&lt;/p&gt;</description>
                <environment></environment>
        <key id="740068">SERVER-40685</key>
            <summary>Mongos often fails transactions that use &quot;snapshot&quot; with SnapshotTooOld</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</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="9">Done</resolution>
                                        <assignee username="dianna.hohensee@mongodb.com">Dianna Hohensee</assignee>
                                    <reporter username="shane.harvey@mongodb.com">Shane Harvey</reporter>
                        <labels>
                    </labels>
                <created>Tue, 16 Apr 2019 22:55:35 +0000</created>
                <updated>Tue, 5 Nov 2019 18:23:00 +0000</updated>
                            <resolved>Fri, 17 May 2019 21:56:50 +0000</resolved>
                                    <version>4.1.11</version>
                                                                        <votes>0</votes>
                                    <watches>18</watches>
                                                                                                                <comments>
                            <comment id="2518481" author="xgen-internal-githook" created="Tue, 5 Nov 2019 18:23:00 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;mbroadst&apos;, &apos;email&apos;: &apos;mbroadst@mongodb.com&apos;, &apos;name&apos;: &apos;Matt Broadstone&apos;}
&lt;p&gt;Message: test: skip broken transaction tests until &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-40685&quot; title=&quot;Mongos often fails transactions that use &amp;quot;snapshot&amp;quot; with SnapshotTooOld&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-40685&quot;&gt;&lt;del&gt;SERVER-40685&lt;/del&gt;&lt;/a&gt; is fixed&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/node-mongodb-native/commit/4075b4462e57ac63fa6da39dc5b06922c8b9e3e9&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/node-mongodb-native/commit/4075b4462e57ac63fa6da39dc5b06922c8b9e3e9&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2515493" author="xgen-internal-githook" created="Sun, 3 Nov 2019 16:05:43 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;mbroadst&apos;, &apos;email&apos;: &apos;mbroadst@mongodb.com&apos;, &apos;name&apos;: &apos;Matt Broadstone&apos;}
&lt;p&gt;Message: test: skip broken transaction tests until &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-40685&quot; title=&quot;Mongos often fails transactions that use &amp;quot;snapshot&amp;quot; with SnapshotTooOld&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-40685&quot;&gt;&lt;del&gt;SERVER-40685&lt;/del&gt;&lt;/a&gt; is fixed&lt;br/&gt;
Branch: &lt;a href=&quot;https://jira.mongodb.org/browse/NODE-2274&quot; title=&quot;Unified topology never regains nodes which temporarily go down&quot; class=&quot;issue-link&quot; data-issue-key=&quot;NODE-2274&quot;&gt;&lt;del&gt;NODE-2274&lt;/del&gt;&lt;/a&gt;/unified-failover-server-loss&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/node-mongodb-native/commit/060b90f18ee4bdde88b082184fc195e44b0dc79f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/node-mongodb-native/commit/060b90f18ee4bdde88b082184fc195e44b0dc79f&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2515492" author="xgen-internal-githook" created="Sun, 3 Nov 2019 16:03:16 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;mbroadst&apos;, &apos;email&apos;: &apos;mbroadst@mongodb.com&apos;, &apos;name&apos;: &apos;Matt Broadstone&apos;}
&lt;p&gt;Message: test: skip broken transaction tests until &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-40685&quot; title=&quot;Mongos often fails transactions that use &amp;quot;snapshot&amp;quot; with SnapshotTooOld&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-40685&quot;&gt;&lt;del&gt;SERVER-40685&lt;/del&gt;&lt;/a&gt; is fixed&lt;br/&gt;
Branch: &lt;a href=&quot;https://jira.mongodb.org/browse/NODE-2274&quot; title=&quot;Unified topology never regains nodes which temporarily go down&quot; class=&quot;issue-link&quot; data-issue-key=&quot;NODE-2274&quot;&gt;&lt;del&gt;NODE-2274&lt;/del&gt;&lt;/a&gt;/unified-failover-server-loss&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/node-mongodb-native/commit/471b1d04a96d2b50447ff1fdd76b253be14f94ad&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/node-mongodb-native/commit/471b1d04a96d2b50447ff1fdd76b253be14f94ad&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2515441" author="xgen-internal-githook" created="Sun, 3 Nov 2019 15:00:51 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;username&apos;: &apos;mbroadst&apos;, &apos;email&apos;: &apos;mbroadst@mongodb.com&apos;, &apos;name&apos;: &apos;Matt Broadstone&apos;}
&lt;p&gt;Message: test: skip broken transaction tests until &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-40685&quot; title=&quot;Mongos often fails transactions that use &amp;quot;snapshot&amp;quot; with SnapshotTooOld&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-40685&quot;&gt;&lt;del&gt;SERVER-40685&lt;/del&gt;&lt;/a&gt; is fixed&lt;br/&gt;
Branch: &lt;a href=&quot;https://jira.mongodb.org/browse/NODE-2274&quot; title=&quot;Unified topology never regains nodes which temporarily go down&quot; class=&quot;issue-link&quot; data-issue-key=&quot;NODE-2274&quot;&gt;&lt;del&gt;NODE-2274&lt;/del&gt;&lt;/a&gt;/unified-failover-server-loss&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/node-mongodb-native/commit/78acb682a8a1ee9e109e10495c47573edf399414&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/node-mongodb-native/commit/78acb682a8a1ee9e109e10495c47573edf399414&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2348643" author="xgen-internal-githook" created="Mon, 29 Jul 2019 19:02:01 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Oleg Pudeyev&apos;, &apos;email&apos;: &apos;39304720+p-mongo@users.noreply.github.com&apos;, &apos;username&apos;: &apos;p-mongo&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/RUBY-1868&quot; title=&quot;Reduce non-determinism in the whole of ruby test suite&quot; class=&quot;issue-link&quot; data-issue-key=&quot;RUBY-1868&quot;&gt;&lt;del&gt;RUBY-1868&lt;/del&gt;&lt;/a&gt; skip tests on server 4.2 that fail due to &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-40685&quot; title=&quot;Mongos often fails transactions that use &amp;quot;snapshot&amp;quot; with SnapshotTooOld&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-40685&quot;&gt;&lt;del&gt;SERVER-40685&lt;/del&gt;&lt;/a&gt; (#1465)&lt;br/&gt;
Branch: 2.10-stable&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-ruby-driver/commit/495d92412c2e5f1230b0e6a5bc5db368e3ba4f72&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-ruby-driver/commit/495d92412c2e5f1230b0e6a5bc5db368e3ba4f72&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2346530" author="xgen-internal-githook" created="Fri, 26 Jul 2019 22:17:03 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Oleg Pudeyev&apos;, &apos;username&apos;: &apos;p-mongo&apos;, &apos;email&apos;: &apos;39304720+p-mongo@users.noreply.github.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/RUBY-1868&quot; title=&quot;Reduce non-determinism in the whole of ruby test suite&quot; class=&quot;issue-link&quot; data-issue-key=&quot;RUBY-1868&quot;&gt;&lt;del&gt;RUBY-1868&lt;/del&gt;&lt;/a&gt; skip tests on server 4.2 that fail due to &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-40685&quot; title=&quot;Mongos often fails transactions that use &amp;quot;snapshot&amp;quot; with SnapshotTooOld&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-40685&quot;&gt;&lt;del&gt;SERVER-40685&lt;/del&gt;&lt;/a&gt; (#1465)&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-ruby-driver/commit/80647682794f3e1e5e28024f81d796450712f14f&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-ruby-driver/commit/80647682794f3e1e5e28024f81d796450712f14f&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2321436" author="dianna.hohensee" created="Thu, 11 Jul 2019 17:14:54 +0000"  >&lt;p&gt;So I&apos;ve spoken with Aly about this, and we&apos;ve determined the best course of action would be for one of you to file a HELP ticket and assign it to Aly. She has all the context to sort out what&apos;s going on, from where errors are coming and can help sort out what to do about them.&lt;/p&gt;

&lt;p&gt;One thing that&apos;s clearly weird about the error message is that it says &quot;a non-retryable snapshot error&quot; when SnapshotTooOld errors (&quot;Read timestamp Timestamp(1562100752, 11) is older than the oldest available timestamp&quot;) were intended to be retryable transient transaction errors. So that seems like one thing that will need to be fixed on the mongodb side.&lt;/p&gt;</comment>
                            <comment id="2321326" author="behackett" created="Thu, 11 Jul 2019 16:18:31 +0000"  >&lt;p&gt;My mistake. The failures for Python started on 7/2, not 6/27. This seems to only be happening with 4.3.x (latest at the time of the test run). This version worked fine on 6/27:&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; [2019/06/27 21:48:18.393] db version v4.3.0-396-g9dbbb44&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; [2019/06/27 21:48:18.393] git version: 9dbbb4457fe9b55175303b9f08249e4bd7df3875&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; [2019/06/27 21:48:18.393] OpenSSL version: OpenSSL 1.0.1e-fips 11 Feb 2013&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;This version started the failures on 7/2:&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; [2019/07/02 16:42:36.889] db version v4.3.0-443-gd9c06a3&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; [2019/07/02 16:42:36.889] git version: d9c06a3b01175bc277a85052a6cc3fcfb2bdebc4&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; [2019/07/02 16:42:36.889] OpenSSL version: OpenSSL 1.0.1e-fips 11 Feb 2013&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;I can&apos;t pinpoint the version any better since there were no commits to PyMongo between those two days.&lt;/p&gt;

&lt;p&gt;The error message:&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;   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;[2019/07/02 16:53:24.589] OperationFailure: Transaction d0d37161-b81d-453b-ac0f-6d3de0bf893f:1 was aborted on statement 0 due to: a non-retryable snapshot error :: caused by :: Encountered error from localhost:27217 during a transaction :: caused by :: Read timestamp Timestamp(1562100752, 11) is older than the oldest available timestamp.&lt;/span&gt;&lt;/pre&gt;
			&lt;/td&gt;
		&lt;/tr&gt;
			&lt;/tbody&gt;
&lt;/table&gt;
&lt;/div&gt;
&lt;p/&gt;</comment>
                            <comment id="2320925" author="dianna.hohensee" created="Thu, 11 Jul 2019 13:19:23 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=behackett&quot; class=&quot;user-hover&quot; rel=&quot;behackett&quot;&gt;behackett&lt;/a&gt;, &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=dmitry.lukyanov&quot; class=&quot;user-hover&quot; rel=&quot;dmitry.lukyanov&quot;&gt;dmitry.lukyanov&lt;/a&gt;, can you specify what mongo commit you were using for those tests? So July 2nd and 4th for Dmitry, and 6/26 for Bernie.&lt;/p&gt;

&lt;p&gt;I made a change to the snapshot window size controls (which can affect the success of transactions ops run through a mongos with &apos;snapshot&apos; read concern) that was committed on July 1st. We have not seen any new test failures on our end, but I want to rule out or in whether those changes had an affect on the Drivers.&lt;/p&gt;</comment>
                            <comment id="2320374" author="behackett" created="Wed, 10 Jul 2019 23:55:56 +0000"  >&lt;p&gt;I&apos;m seeing this in PyMongo&apos;s tests since 6/26. What change needs to be made in drivers?&lt;/p&gt;</comment>
                            <comment id="2315765" author="dmitry.lukyanov" created="Mon, 8 Jul 2019 19:10:37 +0000"  >&lt;p&gt;&amp;gt;Perhaps we could change them all to majority without reducing driver&apos;s test coverage in a significant way.&lt;/p&gt;

&lt;p&gt;not sure that we can do it since some tests validate exactly correctness of using `snapshot` option.&lt;/p&gt;

&lt;p&gt;NOTE: &lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;the 2nd of July we didn&apos;t have this issue. All tests have passed.&lt;/li&gt;
	&lt;li&gt;the 4th of July we had this issue. Together with some timeout exceptions which were gone away for now. Maybe timeout exceptions are not related to the current discussion.&lt;br/&gt;
&lt;a href=&quot;https://evergreen.mongodb.com/task/dot_net_driver_secure_tests__version~latest_os~windows_64_topology~replicaset_auth~auth_ssl~ssl_test_16ba84a88792c695d3135a3ec7a687e0a0716b5a_19_07_03_15_20_07&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://evergreen.mongodb.com/task/dot_net_driver_secure_tests__version~latest_os~windows_64_topology~replicaset_auth~auth_ssl~ssl_test_16ba84a88792c695d3135a3ec7a687e0a0716b5a_19_07_03_15_20_07&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="2315601" author="jeff.yemin" created="Mon, 8 Jul 2019 17:24:41 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=dmitry.lukyanov&quot; class=&quot;user-hover&quot; rel=&quot;dmitry.lukyanov&quot;&gt;dmitry.lukyanov&lt;/a&gt; on which operations are the &lt;tt&gt;snapshot&lt;/tt&gt; test options specified?  Perhaps we could change them all to majority without reducing driver&apos;s test coverage in a significant way.&lt;/p&gt;</comment>
                            <comment id="2315587" author="dmitry.lukyanov" created="Mon, 8 Jul 2019 17:14:20 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=milkie&quot; class=&quot;user-hover&quot; rel=&quot;milkie&quot;&gt;milkie&lt;/a&gt;, as we discussed a little bit in the &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-41532&quot; title=&quot;Mongos can fail with &amp;quot;a non-retryable snapshot error&amp;quot; and &amp;quot;Unable to read from a snapshot due to pending collection catalog changes&amp;quot;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-41532&quot;&gt;&lt;del&gt;SERVER-41532&lt;/del&gt;&lt;/a&gt;, I&apos;m also faced with the error from this ticket on the `latest sharded` environments (in tests which use the `snapshot` read concern level).&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://evergreen.mongodb.com/task_log_raw/dot_net_driver_unsecure_tests__version~latest_os~windows_64_topology~sharded_cluster_auth~noauth_ssl~nossl_test_patch_385bb3b0be82ba8c053580acf86d327738a13a37_5d233951d6d80a40ea856b2b_19_07_08_12_38_58/0?type=T#L2281&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://evergreen.mongodb.com/task_log_raw/dot_net_driver_unsecure_tests__version~latest_os~windows_64_topology~sharded_cluster_auth~noauth_ssl~nossl_test_patch_385bb3b0be82ba8c053580acf86d327738a13a37_5d233951d6d80a40ea856b2b_19_07_08_12_38_58/0?type=T#L2281&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Exception message:&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;   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;System.Exception : Unexpected exception was thrown. [&lt;/span&gt;&lt;span style=&quot;color: #009900; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;2019&lt;/span&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;span style=&quot;color: #009900; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;07&lt;/span&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;span style=&quot;color: #009900; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;08&lt;/span&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;span style=&quot;color: #009900; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;08&lt;/span&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;span style=&quot;color: #009900; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;58&lt;/span&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;span style=&quot;color: #009900; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;59.221&lt;/span&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;] ---- MongoDB.Driver.MongoCommandException : Command&#160;&#160; insert failed: Transaction fc7eb662-2ba1-4a57-90d3-39a579b72cee:&lt;/span&gt;&lt;span style=&quot;color: #009900; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;1&lt;/span&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; was aborted on statement &lt;/span&gt;&lt;span style=&quot;color: #009900; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;0&lt;/span&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; due to: a non-retryable snapshot error :: caused by :: Encountered error from localhost:&lt;/span&gt;&lt;span style=&quot;color: #009900; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;27217&lt;/span&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; during a transaction :: caused by :: Read timestamp Timestamp(&lt;/span&gt;&lt;span style=&quot;color: #009900; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;1562590739&lt;/span&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;span style=&quot;color: #009900; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;13&lt;/span&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;) is older than the oldest available timestamp..&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;NOTE: When I replaced all `snapshot` test options on `majority`, all tests have passed.&lt;/p&gt;

&lt;p&gt;Could you please advise how can I solve/work around this error?&lt;/p&gt;

&lt;p&gt;cc: &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=rstam&quot; class=&quot;user-hover&quot; rel=&quot;rstam&quot;&gt;rstam&lt;/a&gt;&lt;br/&gt;
cc: &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=jeff.yemin&quot; class=&quot;user-hover&quot; rel=&quot;jeff.yemin&quot;&gt;jeff.yemin&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2298331" author="milkie" created="Wed, 26 Jun 2019 15:27:41 +0000"  >&lt;p&gt;Until &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-39704&quot; title=&quot;Allow mongos to retry on stale version and snapshot errors within a transaction&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-39704&quot;&gt;SERVER-39704&lt;/a&gt; is complete, drivers will need to either build-in retries for this specific error, or should adjust their test framework to avoid this error.  We can work together on crafting a way to avoid this error if you still have tests that are failing.&lt;/p&gt;</comment>
                            <comment id="2296534" author="rstam" created="Tue, 25 Jun 2019 14:17:14 +0000"  >&lt;p&gt;I&apos;m still getting this error when using `4.2.0-rc1`.&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;System.Exception : Unexpected exception was thrown.&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;---- MongoDB.Driver.MongoCommandException : Command insert failed: Transaction 36bac0a6-4be1-4b1c-8aa3-9da030e03c81:&lt;/span&gt;&lt;span style=&quot;color: #009900; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;1&lt;/span&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; was aborted on statement &lt;/span&gt;&lt;span style=&quot;color: #009900; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;0&lt;/span&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; due to: a non-retryable snapshot error :: caused by :: Encountered error from localhost:&lt;/span&gt;&lt;span style=&quot;color: #009900; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;27019&lt;/span&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; during a transaction :: caused by :: Read timestamp Timestamp(&lt;/span&gt;&lt;span style=&quot;color: #009900; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;1561471969&lt;/span&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;span style=&quot;color: #009900; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;142&lt;/span&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;) is older than the oldest available timestamp..&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;The command was an `insert` command.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="2276280" author="dianna.hohensee" created="Fri, 7 Jun 2019 18:28:15 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=rstam&quot; class=&quot;user-hover&quot; rel=&quot;rstam&quot;&gt;rstam&lt;/a&gt; I would be interested in what command you were trying to run that caused that &quot;Read timestamp Timestamp(1559767078, 78) is older than the oldest available timestamp&quot; error.&lt;/p&gt;

&lt;p&gt;I know that transaction commands through mongos do not currently retry transient transaction errors (&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-39704&quot; title=&quot;Allow mongos to retry on stale version and snapshot errors within a transaction&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-39704&quot;&gt;SERVER-39704&lt;/a&gt;), but your error says non-retryable, which I would not expect to be attached to a command response.&lt;/p&gt;</comment>
                            <comment id="2273173" author="jeff.yemin" created="Wed, 5 Jun 2019 21:14:32 +0000"  >&lt;p&gt;And if it is expected, can you suggest any workarounds for automated driver tests that are encountering this issue.&lt;/p&gt;</comment>
                            <comment id="2273128" author="rstam" created="Wed, 5 Jun 2019 20:48:08 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=dianna.hohensee&quot; class=&quot;user-hover&quot; rel=&quot;dianna.hohensee&quot;&gt;dianna.hohensee&lt;/a&gt; I just got this error today when running the C# driver test suite:&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;System.Exception : Unexpected exception was thrown.&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;---- MongoDB.Driver.MongoCommandException : Command insert failed: Transaction 8d460683-&lt;/span&gt;&lt;span style=&quot;color: #009900; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;3914&lt;/span&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;span style=&quot;color: #009900; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;4520&lt;/span&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;-8eaf-d2d2b81054bc:&lt;/span&gt;&lt;span style=&quot;color: #009900; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;1&lt;/span&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; was aborted on statement &lt;/span&gt;&lt;span style=&quot;color: #009900; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;0&lt;/span&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; due to: a non-retryable snapshot error :: caused by :: Encountered error from localhost:&lt;/span&gt;&lt;span style=&quot;color: #009900; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;27019&lt;/span&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; during a transaction :: caused by :: Read timestamp Timestamp(&lt;/span&gt;&lt;span style=&quot;color: #009900; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;1559767078&lt;/span&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;span style=&quot;color: #009900; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;78&lt;/span&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;) is older than the oldest available timestamp..&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;If this ticket is closed would you expect a client to still see this error?&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="2272154" author="rstam" created="Wed, 5 Jun 2019 13:12:35 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=milkie&quot; class=&quot;user-hover&quot; rel=&quot;milkie&quot;&gt;milkie&lt;/a&gt; pointed out to me that if you look far enough to the right in the error message that this is actually a different error.&lt;/p&gt;

&lt;p&gt;I&apos;ve created a new SERVER ticket for the new error:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-41532&quot; title=&quot;Mongos can fail with &amp;quot;a non-retryable snapshot error&amp;quot; and &amp;quot;Unable to read from a snapshot due to pending collection catalog changes&amp;quot;&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-41532&quot;&gt;&lt;del&gt;SERVER-41532&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2272128" author="milkie" created="Wed, 5 Jun 2019 12:52:45 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=rstam&quot; class=&quot;user-hover&quot; rel=&quot;rstam&quot;&gt;rstam&lt;/a&gt; I don&apos;t think that error is related to this ticket?  That error response can result from trying to read at a point-in-time that is too close to a DDL operation time (such as a drop or create index).&lt;/p&gt;</comment>
                            <comment id="2272113" author="rstam" created="Wed, 5 Jun 2019 12:44:09 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=dianna.hohensee&quot; class=&quot;user-hover&quot; rel=&quot;dianna.hohensee&quot;&gt;dianna.hohensee&lt;/a&gt; I just encountered this error today using server version&#160;4.1.11-165-g1c9d985.&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: blue; font-family: &apos;Consolas&apos;, &apos;Bitstream Vera Sans Mono&apos;, &apos;Courier New&apos;, Courier, monospace !important;&quot;&gt;&quot;Command insert failed: Transaction 3a15840d-e673-4fb1-b4a8-dad5bef4231f:1 was aborted on statement 0 due to: a non-retryable snapshot error :: caused by :: Encountered error from localhost:27019 during a transaction :: caused by :: Unable to read from a snapshot due to pending collection catalog changes; please retry the operation. Snapshot timestamp is Timestamp(1559738408, 3). Collection minimum is Timestamp(1559738412, 8).&quot;&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;</comment>
                            <comment id="2258153" author="shane.harvey" created="Thu, 23 May 2019 17:21:02 +0000"  >&lt;p&gt;I can confirm that the python driver has not hit this issue since this ticket was closed. Thanks!&lt;/p&gt;</comment>
                            <comment id="2258026" author="dianna.hohensee" created="Thu, 23 May 2019 16:14:12 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=shane.harvey&quot; class=&quot;user-hover&quot; rel=&quot;shane.harvey&quot;&gt;shane.harvey&lt;/a&gt;, could you get confirmation that the problem seen by the python driver has been resolved? I want to make sure this is all set for RC0. &lt;/p&gt;</comment>
                            <comment id="2251273" author="dianna.hohensee" created="Fri, 17 May 2019 21:56:27 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-36956&quot; title=&quot;Replace the statistic that dynamically resizes the snapshot history window&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-36956&quot;&gt;&lt;del&gt;SERVER-36956&lt;/del&gt;&lt;/a&gt; has been committed. I believe this problem should now be resolved.&lt;/p&gt;

&lt;p&gt;Previously, any cache pressure would prevent the snapshot window size from increasing, as well as decrease the size down to zero. The cache pressure metric was also not reliable, as Randolph pointed out above.&lt;/p&gt;

&lt;p&gt;Now, SnapshotTooOld errors always cause the window size to increase (up the to max setting, which is configurable and defaults to 5 seconds), regardless of cache pressure. Also, instead of using the cache lookaside score to determine cache pressure, we are tracking writes to the cache overflow table (WT lookaside table, persisted on disk).&lt;/p&gt;</comment>
                            <comment id="2237717" author="milkie" created="Tue, 7 May 2019 20:21:40 +0000"  >&lt;p&gt;I linked a ticket in our backlog that will be replacing the current scoring statistic with something better.&lt;/p&gt;</comment>
                            <comment id="2237625" author="renctan" created="Tue, 7 May 2019 19:42:49 +0000"  >&lt;p&gt;Here&apos;s what I found while investigating the build failure. It looks like the  &lt;a href=&quot;https://github.com/mongodb/mongo/blob/ec6f8b802592cb88f7b2c312f368acfa47a82643/src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp#L1960&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;cache lookaside score&lt;/a&gt; we used to determine whether WT cache is under pressure gets to a high number, and the startPeriodicThreadToDecreaseSnapshotHistoryCachePressure thread starts to decrease the snapshot window from the default of 5 seconds to eventually 0 seconds. The score doesn&apos;t appear to go down even after committing transactions. After discussing with &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=keith.bostic&quot; class=&quot;user-hover&quot; rel=&quot;keith.bostic&quot;&gt;keith.bostic&lt;/a&gt; and &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=louis.williams&quot; class=&quot;user-hover&quot; rel=&quot;louis.williams&quot;&gt;louis.williams&lt;/a&gt;, it appears that the score is updated during eviction and it is possible for the score to remain at a high value even though it is no longer under pressure. Sending to storage team to re-evaluate the heuristics to use in the snapshot history cache pressure thread.&lt;/p&gt;</comment>
                            <comment id="2233011" author="siyuan.zhou@10gen.com" created="Fri, 3 May 2019 01:05:22 +0000"  >&lt;p&gt;This issue has been causing lots of failures in BF-12756 and BF-12986? &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=matthew.saltz&quot; class=&quot;user-hover&quot; rel=&quot;matthew.saltz&quot;&gt;matthew.saltz&lt;/a&gt; &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=kaloian.manassiev&quot; class=&quot;user-hover&quot; rel=&quot;kaloian.manassiev&quot;&gt;kaloian.manassiev&lt;/a&gt;, it would be great if we could prioritize the fix.&lt;/p&gt;</comment>
                            <comment id="2219617" author="dianna.hohensee" created="Fri, 19 Apr 2019 19:57:31 +0000"  >&lt;p&gt;This lists and explains all the controls (server parameters) for the history window &lt;a href=&quot;https://github.com/mongodb/mongo/blob/master/src/mongo/db/snapshot_window_options.h&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/blob/master/src/mongo/db/snapshot_window_options.h&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;There are also serverStatus fields in the &apos;wiredtiger&apos; section that will show you what the current settings are of those options at runtime, as described in this comment &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-31767?focusedCommentId=1875613&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-1875613&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org/browse/SERVER-31767?focusedCommentId=1875613&amp;amp;page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-1875613&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Basically, we have a targetSnapshotHistoryWindowInSeconds server parameter setting that we use when going to set the oldest timestamp: &lt;a href=&quot;https://github.com/mongodb/mongo/blob/31a06923330de5a8f20a91075fbc7e6a8c20bdb9/src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp#L1648&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;the oldest timestamp lags the stable timestamp by &apos;targetSnapshotHistoryWindowInSeconds&apos; seconds&lt;/a&gt;. The targetSnapshotHistoryWindowInSeconds will move between 0 and maxTargetSnapshotHistoryWindowInSeconds depending on cache pressure and and SnapshotTooOld cmd errors. We have a &lt;a href=&quot;https://github.com/mongodb/mongo/blob/master/src/mongo/db/periodic_runner_job_decrease_snapshot_cache_pressure.cpp&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;periodic task to check for cache pressure and decrease the target window size if found&lt;/a&gt;; and we &lt;a href=&quot;https://github.com/mongodb/mongo/blob/31a06923330de5a8f20a91075fbc7e6a8c20bdb9/src/mongo/db/service_entry_point_common.cpp#L832-L841&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;catch SnapshotTooOld errors from commands&lt;/a&gt; to prompt increases of targetSnapshotHistoryWindowInSeconds &#8211; if there&apos;s no cache pressure.&lt;/p&gt;

&lt;p&gt;We were not sure what the default settings should be for the server parameters, so that might be worth altering and seeing if the problem persists. It&apos;s also possible that our cache pressure gauge is having trouble: if the snapshot window is 0 in your repro and refuses to increase, that might be the problem.&lt;/p&gt;</comment>
                            <comment id="2219467" author="kaloian.manassiev" created="Fri, 19 Apr 2019 18:23:38 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=dianna.hohensee&quot; class=&quot;user-hover&quot; rel=&quot;dianna.hohensee&quot;&gt;dianna.hohensee&lt;/a&gt;, can you remind us how long was the default history window that WT keeps around and how is this configured?&lt;/p&gt;

&lt;p&gt;I am thinking there are two possibilities:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;MongoS somehow selects a very old timestamp for the snapshot read&lt;/li&gt;
	&lt;li&gt;The test is too heavy and somehow we exceed the WT history window&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;I am putting this on the sharding team&apos;s backlog, because it looks like legitimate problem with using sharded transactions.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                        <issuelink>
            <issuekey id="598087">SERVER-36956</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is depended on by">
                                        <issuelink>
            <issuekey id="793281">CSHARP-2629</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10520">
                    <name>Problem/Incident</name>
                                            <outwardlinks description="causes">
                                        <issuelink>
            <issuekey id="725227">PYTHON-1796</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                            <outwardlinks description="related to">
                                        <issuelink>
            <issuekey id="890356">CDRIVER-3301</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="852614">PYTHON-1901</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="754064">CSHARP-2601</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="787809">SERVER-41472</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="938605">RUBY-1942</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="214319" name="PYTHON-1796.py" size="589" author="shane.harvey@mongodb.com" created="Tue, 16 Apr 2019 22:25:33 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>29.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Fri, 19 Apr 2019 18:23:38 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        4 years, 14 weeks, 1 day ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[<s><a href='https://jira.mongodb.org/browse/SERVER-36956'>SERVER-36956</a></s>]]></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_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>xgen-internal-githook</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            4 years, 14 weeks, 1 day ago
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_16465" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Linked BF Score</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>45.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>bernie@mongodb.com</customfieldvalue>
            <customfieldvalue>dianna.hohensee@mongodb.com</customfieldvalue>
            <customfieldvalue>dmitry.lukyanov@mongodb.com</customfieldvalue>
            <customfieldvalue>milkie@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>jeff.yemin@mongodb.com</customfieldvalue>
            <customfieldvalue>kaloian.manassiev@mongodb.com</customfieldvalue>
            <customfieldvalue>randolph@mongodb.com</customfieldvalue>
            <customfieldvalue>robert@mongodb.com</customfieldvalue>
            <customfieldvalue>shane.harvey@mongodb.com</customfieldvalue>
            <customfieldvalue>siyuan.zhou@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|huurfb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hr78ov:</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="2909">Storage NYC 2019-05-20</customfieldvalue>
    <customfieldvalue id="2917">Sharding 2019-05-06</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10750" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Steps To Reproduce</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;ol&gt;
	&lt;li&gt;Start a sharded cluster&lt;/li&gt;
	&lt;li&gt;Still to be determined: Do an unknown sequence of operations that causes the cluster to be in a &quot;bad state&quot;. I was only able to repro the issue after running the entire driver test suite against the cluster.&lt;/li&gt;
	&lt;li&gt;Run &lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/attachment/214319/214319_PYTHON-1796.py&quot; title=&quot;PYTHON-1796.py attached to SERVER-40685&quot;&gt;PYTHON-1796.py&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;https://jira.mongodb.org/images/icons/link_attachment_7.gif&quot; height=&quot;7&quot; width=&quot;7&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
</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|huudon:</customfieldvalue>

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