You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.
Moped (master) recently ripped out it's connecting pooling mechanism and switched to the connection_pool gem.
I particularly am using Mongoid + Moped with TokuMX. It works really great and passes all specs with exception to full text/geospatial indexes which TokuMX does not currently support.
One of the features of TokuMX is multi-statement transactions but this requires a traditional RDMBS sort of communication channel across the same socket.
Before the connection pool change two weeks ago this worked fine as the connections were pinned to the current thread which in most cases would never be doing more than one transaction at a time.
Is there any change we could get this class to be pluggable? I know it's easy enough to monkey patch the entire thing but it'd be great for moped to allow specific implementations of the connection pool potentially.
The text was updated successfully, but these errors were encountered:
We do not need to guarantee thread affinity so the complexity of the
internal connection pool and reaper is no longer needed. We simply now
just use the connection_pool gem.
Gah I apologise, after more testing it appears the bug I'm after trying to fix because of this change only occurs in Rspec tests which is a bit unfortunately.
The connection_pool gem already seems to properly make the connections exhibit thread affinity behaviour
Moped (master) recently ripped out it's connecting pooling mechanism and switched to the connection_pool gem.
I particularly am using Mongoid + Moped with TokuMX. It works really great and passes all specs with exception to full text/geospatial indexes which TokuMX does not currently support.
One of the features of TokuMX is multi-statement transactions but this requires a traditional RDMBS sort of communication channel across the same socket.
Before the connection pool change two weeks ago this worked fine as the connections were pinned to the current thread which in most cases would never be doing more than one transaction at a time.
Is there any change we could get this class to be pluggable? I know it's easy enough to monkey patch the entire thing but it'd be great for moped to allow specific implementations of the connection pool potentially.
The text was updated successfully, but these errors were encountered: