Details
-
Bug
-
Resolution: Gone away
-
Major - P3
-
None
-
None
-
None
-
None
Description
Summary
In on our tests for mongosync, we saw an odd hang. From my investigation it seems like a call to session.WithTransaction ran the provided callback func. That func ran and returned an error. But then execution of our code never continued after that point.
Looking at the driver code, the only thing I can see that might hang is the call to session.AbortTransaction that is done when the callback func returns an error.
The Mongosync ticket for the failure is https://jira.mongodb.org/browse/REP-3058.
Please provide the version of the driver. If applicable, please provide the MongoDB server version and topology (standalone, replica set, or sharded cluster).
We are using v1.11.9 of the driver.
Here's the log line from the Server startup:
"Build Info","attr":{"buildInfo":{"version":"6.0.9-rc1-3-g501b591","gitVersion":"501b591eaf895c477e4ffcf39d18acd61664bbcc","openSSLVersion":"OpenSSL 1.1.1 FIPS 11 Sep 2018","modules":["enterprise"],"allocator":"tcmalloc","environment":{"distmod":"rhel80","distarch":"x86_64","target_arch":"x86_64"}}}
|
How to Reproduce
Unfortunately, we don't have an easy recipe to reproduce this.