Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Add support for the mongo 1.3 drivers and read perferences. Mongo 1.3 driver for php makes a number of changes including how slave operations are targetted and also makes all write operations write safe. This patch (which will appear shortly) loads the new mongoclient class if available and also updates all operations to be safe so as 1.3 and 1.2 drivers behaviour in the exact same way.
Comment | File | Size | Author |
---|---|---|---|
#7 | mongo.1.3.patch | 24.11 KB | marcingy |
#6 | 1.3.patch | 23.89 KB | marcingy |
#5 | mongo.1.3.patch | 22.8 KB | marcingy |
#3 | mongo-1.3-r.patch | 21.24 KB | marcingy |
#2 | mongo-1.3.d.o.patch | 20.06 KB | marcingy |
Comments
Comment #1
marcingy CreditAttribution: marcingy commentedComment #2
marcingy CreditAttribution: marcingy commentedTweaks after speaking to chx
Comment #3
marcingy CreditAttribution: marcingy commentedReroll
Comment #4
Rok Žlender CreditAttribution: Rok Žlender commentedMissing single quotes around db_connection also db_conncetion can have the same options as without using read_preference maybe put that in as documentation, host, db..
mongodb_session/mongodb_session.module has an update you missed
drush_mongodb_migrate in mongodb_migrate/mongodb_migrate.drush.inc has an insert function that might need safe or w=0
Comment #5
marcingy CreditAttribution: marcingy commentedTweaked
Comment #6
marcingy CreditAttribution: marcingy commentedRe-roll, as today we uncovered an issue on our server where by attempts were being made to update a slave. This patch restricts the cron update to the connection the queue belongs too. In some ways it may need a refractoring.
Comment #7
marcingy CreditAttribution: marcingy commentedFixes up alias logic for backwards comptability
Comment #8
ilari.stenroth CreditAttribution: ilari.stenroth commentedAny news on progress of merging this patch to the project? It's urgent to get Drupal support mongo PHP extension 1.3+ API.
Comment #9
chx CreditAttribution: chx commentedCommitted, thanks.
Comment #11
amonteroModified existing issue to focus on RC3:
#2017091: Package status and Roadmap for all branches