<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:39:43 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[GODRIVER-2950] Possible hang in call to session.AbortTransaction</title>
                <link>https://jira.mongodb.org/browse/GODRIVER-2950</link>
                <project id="14289" key="GODRIVER">Go Driver</project>
                    <description>&lt;h4&gt;&lt;a name=&quot;Summary&quot;&gt;&lt;/a&gt;Summary &lt;/h4&gt;

&lt;p&gt;In on our tests for mongosync, we saw an odd hang. From my investigation it &lt;em&gt;seems&lt;/em&gt; like a call to &lt;tt&gt;session.WithTransaction&lt;/tt&gt; ran the provided callback func. That func ran and returned an error. But then execution of our code never continued after that point.&lt;/p&gt;

&lt;p&gt;Looking at the driver code, the only thing I can see that might hang is the call to &lt;tt&gt;session.AbortTransaction&lt;/tt&gt; that is done when the callback func returns an error.&lt;/p&gt;

&lt;p&gt;The Mongosync ticket for the failure is &lt;a href=&quot;https://jira.mongodb.org/browse/REP-3058&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://jira.mongodb.org/browse/REP-3058&lt;/a&gt;. &lt;/p&gt;

&lt;h4&gt;&lt;a name=&quot;Pleaseprovidetheversionofthedriver.Ifapplicable%2CpleaseprovidetheMongoDBserverversionandtopology%28standalone%2Creplicaset%2Corshardedcluster%29.&quot;&gt;&lt;/a&gt;Please provide the version of the driver. If applicable, please provide the MongoDB server version and topology (standalone, replica set, or sharded cluster).&lt;/h4&gt;

&lt;p&gt;We are using v1.11.9 of the driver. &lt;/p&gt;

&lt;p&gt;Here&apos;s the log line from the Server startup:&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;&quot;Build Info&quot;,&quot;attr&quot;:{&quot;buildInfo&quot;:{&quot;version&quot;:&quot;6.0.9-rc1-3-g501b591&quot;,&quot;gitVersion&quot;:&quot;501b591eaf895c477e4ffcf39d18acd61664bbcc&quot;,&quot;openSSLVersion&quot;:&quot;OpenSSL 1.1.1 FIPS  11 Sep 2018&quot;,&quot;modules&quot;:[&quot;enterprise&quot;],&quot;allocator&quot;:&quot;tcmalloc&quot;,&quot;environment&quot;:{&quot;distmod&quot;:&quot;rhel80&quot;,&quot;distarch&quot;:&quot;x86_64&quot;,&quot;target_arch&quot;:&quot;x86_64&quot;}}}&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;h4&gt;&lt;a name=&quot;HowtoReproduce&quot;&gt;&lt;/a&gt;How to Reproduce&lt;/h4&gt;

&lt;p&gt;Unfortunately, we don&apos;t have an easy recipe to reproduce this.&lt;/p&gt;</description>
                <environment></environment>
        <key id="2422677">GODRIVER-2950</key>
            <summary>Possible hang in call to session.AbortTransaction</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="13203">Gone away</resolution>
                                        <assignee username="preston.vasquez@mongodb.com">Preston Vasquez</assignee>
                                    <reporter username="dave.rolsky@mongodb.com">Dave Rolsky</reporter>
                        <labels>
                    </labels>
                <created>Mon, 21 Aug 2023 20:39:49 +0000</created>
                <updated>Fri, 27 Oct 2023 20:01:08 +0000</updated>
                            <resolved>Wed, 27 Sep 2023 12:00:59 +0000</resolved>
                                                                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="5734046" author="dbeng-pm-bot" created="Wed, 27 Sep 2023 12:01:02 +0000"  >&lt;p&gt;There hasn&apos;t been any recent activity on this ticket, so we&apos;re resolving it. Thanks for reaching out! Please feel free to reopen this ticket if you&apos;re still experiencing the issue, and add a comment if you&apos;re able to provide more information.&lt;/p&gt;</comment>
                            <comment id="5714421" author="dbeng-pm-bot" created="Tue, 19 Sep 2023 13:11:09 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=dave.rolsky%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;dave.rolsky@mongodb.com&quot;&gt;dave.rolsky@mongodb.com&lt;/a&gt;! &lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-2950&quot; title=&quot;Possible hang in call to session.AbortTransaction&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-2950&quot;&gt;&lt;del&gt;GODRIVER-2950&lt;/del&gt;&lt;/a&gt; is awaiting your response. &lt;/p&gt;

&lt;p&gt;If this is still an issue for you, please open Jira to review the latest status and provide your feedback. Thanks!&lt;/p&gt;</comment>
                            <comment id="5695517" author="JIRAUSER1265158" created="Mon, 11 Sep 2023 19:54:41 +0000"  >&lt;p&gt;Waiting to receive logs for recurrence of issues after mongosync PR1934 is merged&lt;/p&gt;</comment>
                            <comment id="5675206" author="JIRAUSER1268647" created="Fri, 1 Sep 2023 16:20:42 +0000"  >&lt;p&gt;Hi Preston,&lt;/p&gt;

&lt;p&gt;I added you as a PR reviewer for a PR that adds logging to Mongosync relevant to this case. Can you take a look at the PR and see if it logs everything you&apos;d want to see?&lt;/p&gt;</comment>
                            <comment id="5660716" author="JIRAUSER1265158" created="Fri, 25 Aug 2023 22:10:33 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=rohan.sharan%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;rohan.sharan@mongodb.com&quot;&gt;rohan.sharan@mongodb.com&lt;/a&gt; The goals are to determine if&lt;/p&gt;

&lt;p&gt;(1) Go Driver sent an abort transaction wire message to the server,&lt;br/&gt;
(2) the abort failed ,&#160;&lt;br/&gt;
(3) the session was ended&lt;/p&gt;

&lt;p&gt;The following would be a good start:&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;&#160; &#160; monitor := &amp;amp;event.CommandMonitor{&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;&#160; &#160; &#160; &#160; Started: func(_ context.Context, cse *event.CommandStartedEvent) {&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;&#160; &#160; &#160; &#160; &#160; &#160; if cse.CommandName == &quot;abortTransaction&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;   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;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; // add your logging syntax here&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;&#160; &#160; &#160; &#160; &#160; &#160; }&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;&#160; &#160; &#160; &#160; },&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;&#160; &#160; &#160; &#160; Succeeded: func(_ context.Context, evt *event.CommandSucceededEvent) {&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;&#160; &#160; &#160; &#160; &#160; &#160; if evt.CommandName == &quot;endSessions&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;   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;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; // add your logging syntax here&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;&#160; &#160; &#160; &#160; &#160; &#160; }&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;&#160; &#160; &#160; &#160; },&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;&#160; &#160; &#160; &#160; Failed: func(_ context.Context, cfe *event.CommandFailedEvent) {&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;&#160; &#160; &#160; &#160; &#160; &#160; if cfe.CommandName == &quot;abortTransaction&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;   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;&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; // add your logging syntax here&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;&#160; &#160; &#160; &#160; &#160; &#160; }&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;&#160; &#160; &#160; &#160; },&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;&#160; &#160; }&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 don&apos;t expect sessions to abort often, so those events shouldn&apos;t cause log saturation. I&apos;m not sure about ending sessions.&lt;/p&gt;</comment>
                            <comment id="5660651" author="JIRAUSER1264979" created="Fri, 25 Aug 2023 21:30:48 +0000"  >&lt;p&gt;Potentially, what filters would we add? If you tell us what you&apos;re looking for, and how to add the filters, we should be able to. I am hesitant to log all &lt;a href=&quot;https://pkg.go.dev/go.mongodb.org/mongo-driver/event#CommandSucceededEvent&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;CommandSuccceededEvent&lt;/a&gt;&#160;but if you tell us what we need to add, that&apos;ll be fine.&lt;/p&gt;

&lt;p&gt;You can see here: &lt;a href=&quot;https://github.com/10gen/mongosync/blob/main/internal/db/db.go#L123&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/10gen/mongosync/blob/main/internal/db/db.go#L123&lt;/a&gt; one instance of me avoiding logging failed commands in one expected case.&#160;&lt;/p&gt;</comment>
                            <comment id="5660619" author="JIRAUSER1265158" created="Fri, 25 Aug 2023 21:15:41 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=rohan.sharan%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;rohan.sharan@mongodb.com&quot;&gt;rohan.sharan@mongodb.com&lt;/a&gt; Can you add filters for this specific use case?&lt;/p&gt;</comment>
                            <comment id="5660613" author="JIRAUSER1264979" created="Fri, 25 Aug 2023 21:13:19 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=preston.vasquez%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;preston.vasquez@mongodb.com&quot;&gt;preston.vasquez@mongodb.com&lt;/a&gt; I thought we mentioned that adding that message will 100x our logs? Isn&apos;t that still the case?&lt;/p&gt;</comment>
                            <comment id="5660597" author="JIRAUSER1268647" created="Fri, 25 Aug 2023 21:06:29 +0000"  >&lt;p&gt;Yes, that I can do.&lt;/p&gt;</comment>
                            <comment id="5660565" author="JIRAUSER1265158" created="Fri, 25 Aug 2023 20:59:00 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=dave.rolsky%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;dave.rolsky@mongodb.com&quot;&gt;dave.rolsky@mongodb.com&lt;/a&gt; , since the server receives the abort transaction for the session, it is unclear to us where the Go Driver could be blocking. If we can&apos;t roll back the version, then can the mongosync team extend command monitor logging &lt;a href=&quot;https://github.com/10gen/mongosync/blob/477bcf30de2c1ab89da67da065538bbc1ffc2544/internal/db/db.go#L121&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here&lt;/a&gt; to include &lt;a href=&quot;https://pkg.go.dev/go.mongodb.org/mongo-driver/event#CommandSucceededEvent&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;CommandSuccceededEvent&lt;/a&gt;. This will definitively tell us that the Go Driver sent the abort transaction wire message and narrow the scope of where we could be blocking.&lt;/p&gt;</comment>
                            <comment id="5660553" author="JIRAUSER1264979" created="Fri, 25 Aug 2023 20:53:31 +0000"  >&lt;p&gt;We can&apos;t really downgrade, agreed.&lt;/p&gt;</comment>
                            <comment id="5660549" author="JIRAUSER1268647" created="Fri, 25 Aug 2023 20:49:35 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=preston.vasquez%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;preston.vasquez@mongodb.com&quot;&gt;preston.vasquez@mongodb.com&lt;/a&gt; We upgraded to 1.19 recently because it fixed a bug that caused customer-reported issues. If we downgrade I&apos;m concerned that would re-introduce old failures for us in CI. &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=rohan.sharan%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;rohan.sharan@mongodb.com&quot;&gt;rohan.sharan@mongodb.com&lt;/a&gt; You worked on this in REP-3012. What do you think?&lt;/p&gt;</comment>
                            <comment id="5657279" author="JIRAUSER1265158" created="Thu, 24 Aug 2023 18:04:36 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=rohan.sharan%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;rohan.sharan@mongodb.com&quot;&gt;rohan.sharan@mongodb.com&lt;/a&gt; &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=dave.rolsky%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;dave.rolsky@mongodb.com&quot;&gt;dave.rolsky@mongodb.com&lt;/a&gt; Can the mongosync team roll back the Go Driver version to 1.11.7 to see if this problem persists?&#160;&lt;/p&gt;</comment>
                            <comment id="5654852" author="JIRAUSER1265158" created="Wed, 23 Aug 2023 20:49:41 +0000"  >&lt;p&gt;Notes from discussing offline with &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=rohan.sharan%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;rohan.sharan@mongodb.com&quot;&gt;rohan.sharan@mongodb.com&lt;/a&gt; :&lt;/p&gt;

&lt;p&gt;The lsid for the transaction is associated with an abort transaction wire message, here: &lt;a href=&quot;https://parsley.mongodb.com/resmoke/5431f0e05b713e21e0c30d370e9a3029/all?bookmarks=0,64514,66919,66952,66955,67002,67963,67964,67966,68480,70008,70016,78861&amp;amp;filterLogic=or&amp;amp;filters=000transient&amp;amp;shareLine=68479&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://parsley.mongodb.com/resmoke/5431f0e05b713e21e0c30d370e9a3029/all?bookmarks=0,64514,66919,66952,66955,67002,67963,67964,67966,68480,70008,70016,78861&amp;amp;filterLogic=or&amp;amp;filters=000transient&amp;amp;shareLine=68479&lt;/a&gt;&lt;/p&gt;
&lt;p/&gt;
&lt;div id=&quot;syntaxplugin&quot; class=&quot;syntaxplugin&quot; style=&quot;border: 1px dashed #bbb; border-radius: 5px !important; overflow: auto; max-height: 30em;&quot;&gt;
&lt;table cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; width=&quot;100%&quot; style=&quot;font-size: 1em; line-height: 1.4em !important; font-weight: normal; font-style: normal; color: black;&quot;&gt;
		&lt;tbody &gt;
				&lt;tr id=&quot;syntaxplugin_code_and_gutter&quot;&gt;
						&lt;td  style=&quot; line-height: 1.4em !important; padding: 0em; vertical-align: top;&quot;&gt;
					&lt;pre style=&quot;font-size: 1em; margin: 0 10px;  margin-top: 10px;   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;54f68b35-e863-46de-9be8-dd1674368ddd&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;It also doesn&apos;t appear that the transaction error is transient / that the operation should retry. Only two things happen in this session:&lt;/p&gt;

&lt;p&gt;1. A command WM is sent to the server, lasting 300,000 ms (5 minutes)&lt;br/&gt;
2. An abort transaction WM is issued by the server, probably sent by the Go Driver &lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/blob/master/mongo/session.go#L198&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;here&lt;/a&gt; .&lt;/p&gt;

&lt;p&gt;Other things to note:&lt;/p&gt;

&lt;p&gt;1. mongosync uses a &lt;tt&gt;transactionLifetimeLimitSeconds&lt;/tt&gt; of 30 seconds&lt;br/&gt;
2. mongosync uses an operation timeout of 5 minutes.&lt;br/&gt;
3. These issues were first noticed in 1.11.9 , which only had two changes: &lt;a href=&quot;https://github.com/mongodb/mongo-go-driver/compare/v1.11.7...v1.11.9&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-go-driver/compare/v1.11.7...v1.11.9&lt;/a&gt;&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;Unpinning a connection when ending a session&lt;/li&gt;
	&lt;li&gt;Setting batch size on change streams&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="5654846" author="JIRAUSER1268647" created="Wed, 23 Aug 2023 20:47:44 +0000"  >&lt;p&gt;Yes, I&apos;m talking about &lt;tt&gt;WithTransaction&lt;/tt&gt;. I know it&apos;s returning an error because it logs the &quot;Giving up on batch CRUD event application because of an error from a transaction.&quot; message. If we see that we know it&apos;s about to return an error.&lt;/p&gt;

&lt;p&gt;But maybe I&apos;m not understanding your question? If it&apos;d help to do this over Zoom with screen sharing I&apos;d be happy to do that.&lt;/p&gt;</comment>
                            <comment id="5654668" author="JIRAUSER1265158" created="Wed, 23 Aug 2023 19:42:00 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=dave.rolsky%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;dave.rolsky@mongodb.com&quot;&gt;dave.rolsky@mongodb.com&lt;/a&gt; &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=rohan.sharan%40mongodb.com&quot; class=&quot;user-hover&quot; rel=&quot;rohan.sharan@mongodb.com&quot;&gt;rohan.sharan@mongodb.com&lt;/a&gt; For this:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;That func ran and returned an error.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Are you referring to WithTransaction? How do you know it is returning an error? IIUC the error check never get&apos;s executed: &lt;a href=&quot;https://github.com/10gen/mongosync/blob/main/internal/mongosync/cea/crud_event_applier.go#L292&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/10gen/mongosync/blob/main/internal/mongosync/cea/crud_event_applier.go#L292&lt;/a&gt; , i.e. &quot;Immediately after the shared line, we should see the following log&quot;.&lt;/p&gt;</comment>
                            <comment id="5653735" author="JIRAUSER1264979" created="Wed, 23 Aug 2023 14:47:03 +0000"  >&lt;p&gt;Here is an example patch where it hangs: &lt;a href=&quot;https://parsley.mongodb.com/resmoke/5431f0e05b713e21e0c30d370e9a3029/all?bookmarks=0,64514,66919,66952,66955,67963,67964,67966,70008,78861&amp;amp;lower=67966&amp;amp;shareLine=70008&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://parsley.mongodb.com/resmoke/5431f0e05b713e21e0c30d370e9a3029/all?bookmarks=0,64514,66919,66952,66955,67963,67964,67966,70008,78861&amp;amp;lower=67966&amp;amp;shareLine=70008&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;Immediately after the shared line, we should see the following log: &lt;a href=&quot;https://github.com/10gen/mongosync/blob/main/internal/mongosync/cea/crud_event_applier.go#L296&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/10gen/mongosync/blob/main/internal/mongosync/cea/crud_event_applier.go#L296&lt;/a&gt; but we don&apos;t. This is happening pretty frequently, so we&apos;d appreciate this getting picked up soon&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                                        </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i12wl3:</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>