The code in ming.datastore has multiple problems
read_preference
)Rip out the existing datastore/engine and replace it with something that returns native pymongo objects (mim.Connection
, Connection
, ReplicaSetConnection
, or MasterSlaveConnection
rather than Engine
and Database
rather than DataStore
)
Code is on rc/4603 and requires updating Ming
QA is running the tests and poking around with sharp sticks to ensure no regressions. Nothing visible should change.
NOTE however that this requires .ini file changes, particularly unifying the 'master' and 'database' arguments for ming config. This will require communication with SiteOps.