Is it possible to have a single document in multiple collections, properly referenced? ie. the document is a single instance shared by all collections.
score: 1 about 5 hours ago
Hello everybody, How can I use secondary servers in shard with replica set when a shard has no primary (during the promoting process) with the php driver to be able to read during the promoting process ? Thanks for your help Arnaud
score: 1 about 9 hours ago
This drives me crazy. I have one web application running on Nginx + PHP-FPM which connects to MongoDB with official MongoDB PHP driver 1.3.4. Recently, I found that writer operation (including insert and update) cost time in a very un...
score: 1 about 11 hours ago
Suppose master were down, mongodb failed over, but how apps know the failed over, or which should be the master ? Suppose the connection to mongodb is rset0:21007, now rset0 is down, though a new master can be elected, are all apps do...
score: 1 about 13 hours ago
I'm using mongodb 2.4.3,trying to convert a statandalone mongdb to a replica set.I initiated primary node and added first secondary node,but the secondary node always failed to synchronize with the primary and crashed some time la...
score: 1 about 14 hours ago
Mongo 2.4.3 shell (also found this in 2.2.2): {upsert: true}) { "_id" : "i", "thing" : [ ] } {upsert: true}) E11000 duplicate key error index: test.test.$_id_ dup key: { : "i" } It appears that because $exists causes the query to re...
score: 1 about 19 hours ago
One of the key reasons I use Mongo DB is its fast update capability. I can do an upsert with $inc on an arbitrary hash and it gets created automatically as needed, and atomically incremented. This enables super efficient and easy impl...
score: 1 about 20 hours ago
Please help me understand why the compiler failed. Thanks. I downloaded by "git clone [link]" and "git checkout release-1.0". $ cat build.sbt name := "mongo-hadoop" organization := "org.mongodb" hadoopRelease in ThisBuild := "cdh4 ...
score: 1 about 21 hours ago
I've imported MongoDB into my Processing Sketch with the line: import com.mongodb.* I can create objects of type Mongo and DB, but I cannot create a MongoClient object. I receive the error: "Cannot find a class or type named Mong...
score: 1 about 22 hours ago
Hi i was trying to install mongo driver for php in WAMP, but with not success until now. y download the drivers for mongo php from here: [link] and then i download mongo-1.1.4-php5.3vc6ts (thats was the driver that worked with my w...
score: 1 about 22 hours ago