-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 1.10.0
-
Component/s: Connections, Replica Set
-
None
-
Environment:AWS Linux 3.10.37-47.135.amzn1.x86_64. jruby-1.7.12, JDK java-1.7.0-openjdk-1.7.0.55-2.4.7.1.40.amzn1.x86_64
There appears to be a re-entrant mutex condition in the replica set connection pooling. Stack trace:
The original lock occurs here: https://github.com/mongodb/mongo-ruby-driver/blob/1.x-stable/lib/mongo/connection/pool_manager.rb#L60
and then the process of reconnecting ends up attempting to resynchronize the same lock here: https://github.com/mongodb/mongo-ruby-driver/blob/1.x-stable/lib/mongo/connection/pool_manager.rb#L150
- is duplicated by
-
RUBY-783 ThreadError: deadlock; recursive locking
- Closed